Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure, amd64
On Thu, 14 Apr 2011, bch%methodlogic.net@localhost wrote:
> new datapoint. I did run a "make clean" from toplevel, and rebuild, which
> failed as follows with latest src:
>
> dependall ===> external/bsd/pcc/libexec
> dependall ===> external/bsd/pcc/libexec/ccom
> # yacc ccom/cgram.c
> /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbyacc -d -o cgram.c
> /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/cgram.y
> /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbyacc: 3 shift/reduce
> conflicts.
> cc -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -
> Wshadow -Werror -DGCC_COMPAT -DVERSSTR=PACKAGE_STRING\ \"\ for\
> netbsd-amd64\" -DLIBEXECDIR=\"/usr/libexec/\" -DINCLUDEDIR=\"/usr/include/\"
> -Dos_netbsd -Dmach_amd64 -I/usr/src/external/bsd/pcc/libexec/ccom/..
> /../include -DHOST_LITTLE_ENDIAN -DTARGET_LITTLE_ENDIAN
> --sysroot=/usr/src/obj/destdir.amd64 -DPCC_DEBUG
> -I/usr/src/external/bsd/pcc/libexec/ccom/obj
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/os/netbsd
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom
> -D_FORTIFY_SOU
> RCE=2 -DMKEXT -o /usr/src/external/bsd/pcc/libexec/ccom/obj/mkext
> /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/mkext.c
> /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/table.c
> /usr/sr
> c/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/common.c
> ld: this linker was not configured to use sysroots
>
> *** Failed target: external.h
> *** Failed command: cc -O2 -fstack-protector -Wstack-protector --param
> ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wre
> turn-type -Wswitch -Wshadow -Werror -DGCC_COMPAT -DVERSSTR=PACKAGE_STRING\
> \"\ for\ netbsd-amd64\" -DLIBEXECDIR=\"/usr/libexec/\"
> -DINCLUDEDIR=\"/usr/include/\" -Dos_netbsd -Dmach_amd64
> -I/usr/src/external/bsd/pc
> c/libexec/ccom/../../include -DHOST_LITTLE_ENDIAN -DTARGET_LITTLE_ENDIAN
> --sysroot=/usr/src/obj/destdir.amd64 -DPCC_DEBUG
> -I/usr/src/external/bsd/pcc/libexec/ccom/obj
> -I/usr/src/external/bsd/pcc/libexec/ccom/../.
> ./dist/pcc/mip
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/os/netbsd
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64
> -I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom
> -D_FORTIFY_SOURCE=2 -DMKEXT -o
> /usr/src/external/bsd/pcc/libexec/ccom/obj/mkext
> /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/mkext.c
> /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/t
> able.c /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/common.c
> *** Error code 1
Hm, perhaps this is due to a misconception on my part. it should probably
use HOSTPROG rather than using HOST_CC directly. I will look into it (my
sources are a little behind and I'm reluctant to update at the moment)
iain
(this is only built when MKPCC=yes MKPCCCMDS=yes so it does not affect
normal builds)
Home |
Main Index |
Thread Index |
Old Index