Subject: toolchain/35105: paxctl fails to build as tool for powerpc/evbppc
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 11/23/2006 14:40:01
>Number: 35105
>Category: toolchain
>Synopsis: paxctl fails to build as tool for powerpc/evbppc
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 23 14:40:01 +0000 2006
>Originator: Juergen Hannken-Illjes
>Release: NetBSD 4.99.4
>Organization:
>Environment:
>Description:
Cross-building for powerpc/evbppc yields:
# create paxctl/paxctl.d
/build/dist/obj/tools.evbppc/bin/nbhost-mkdep -f paxctl.d -- -I/build/dist/obj/tools.evbppc/include/nbinclude -I/build/dist/obj/tools.evbppc/include -I/build/dist/obj/evbppc/tools/compat -I/build/dist/obj/evbppc/tools/compat/include -I/build/dist/src/tools/paxctl/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 /build/dist/src/tools/paxctl/../../usr.bin/paxctl/paxctl.c
In file included from /build/dist/obj/tools.evbppc/include/nbinclude/machine/elf_machdep.h:3,
from /build/dist/src/sys/sys/exec_elf.h:65,
from /build/dist/src/usr.bin/paxctl/paxctl.c:45:
/build/dist/obj/tools.evbppc/include/nbinclude/powerpc/elf_machdep.h:22:50: machine/reloc.h: No such file or directory
# create paxctl/.depend
rm -f .depend
/build/dist/obj/tools.evbppc/bin/nbhost-mkdep -d -f .depend -s .lo\ .ln paxctl.d
# compile paxctl/paxctl.lo
cc -O -I/build/dist/obj/tools.evbppc/include/nbinclude -I/build/dist/obj/tools.evbppc/include -I/build/dist/obj/evbppc/tools/compat -I/build/dist/obj/evbppc/tools/compat/include -I/build/dist/src/tools/paxctl/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o paxctl.lo.o /build/dist/src/usr.bin/paxctl/paxctl.c
In file included from /build/dist/obj/tools.evbppc/include/nbinclude/machine/elf_machdep.h:3,
from /build/dist/src/sys/sys/exec_elf.h:65,
from /build/dist/src/usr.bin/paxctl/paxctl.c:45:
/build/dist/obj/tools.evbppc/include/nbinclude/powerpc/elf_machdep.h:22:50: machine/reloc.h: No such file or directory
>How-To-Repeat:
build.sh -m evbppc distribution
>Fix:
>Unformatted: