Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure, amd64



On Wed, Apr 13, 2011 at 06:41:09PM -0700, Paul Goyette wrote:
> On Thu, 14 Apr 2011, bch%methodlogic.net@localhost wrote:
> 
> >On Tue, Apr 12, 2011 at 05:03:38PM +0000, bch%methodlogic.net@localhost 
> >wrote:
> >>
> >>I've been having a terrible time getting -current to build in the
> >>last few days. The failures seem to be migrating around the source
> >>tree. I usually build w/ "./build.sh -u ...", but have omitted the -u
> >>occasionally so that "clearndir" is run, but no success. I've also run
> >>"make clean" from /usr/src, again with no success. I'm posting below as
> >>a data-point. I'll keep on updating and hope this gets skaken-out.
> >
> >
> >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
> 
> From src/UPDATING:
> 
> Recent changes:
> ^^^^^^^^^^^^^^^
> 20110410:
>         The configuration of src/tools/gcc has changed. To do an
>         update build you have to clean both tools/binutils and
>         tools/gcc by hand.

Can't we make these notes more structural so that build.sh can
parse and automagically handle them?


Home | Main Index | Thread Index | Old Index