Current-Users archive

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

Re: build failure, amd64



On Thu, Apr 14, 2011 at 04:27:57PM +0000, bch%methodlogic.net@localhost wrote:
> 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:


Yet another datapoint (I hope this is a sign my "ld" issue is now a solved 
problem, and I'm simply moving into issues of code-churn).

#   compile  libbfd/aout32.pico
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-gcc -O2  -Werror  
-fstack-protector -Wstack-protector --param ssp-buffer-size=1   
--sysroot=/usr/src/obj/destdir.amd64  -I/usr/src/external/gpl3/binuti
ls/lib/libbfd/arch/x86_64 -I/usr/src/external/gpl3/binutils/dist/include -I.  
-I/usr/src/external/gpl3/binutils/dist/bfd -DHAVE_CONFIG_H -DNETBSD_CORE 
-DDEFAULT_VECTOR=bfd_elf64_x86_64_vec -DSELECT_VECS='&bfd_elf
64_x86_64_vec,&bfd_elf32_i386_vec,&i386netbsd_vec,&i386coff_vec,&bfd_efi_app_ia32_vec,&bfd_efi_bsdrv_ia32_vec,&bfd_efi_rtdrv_ia32_vec,&bfd_efi_app_x86_64_vec,&bfd_efi_bsdrv_x86_64_vec,&bfd_efi_rtdrv_x86_64_vec,&b
fd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'
 -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DHAVE_bfd_elf64_x86_64_vec 
-DHAVE_bfd_elf32_i386_vec -DHAV
E_i386netbsd_vec -DHAVE_i386coff_vec -DHAVE_bfd_efi_app_ia32_vec 
-DHAVE_bfd_efi_bsdrv_ia32_vec -DHAVE_bfd_efi_rtdrv_ia32_vec 
-DHAVE_bfd_efi_app_x86_64_vec -DHAVE_bfd_efi_bsdrv_x86_64_vec 
-DHAVE_bfd_efi_rtdrv_x86_
64_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec 
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I/bfd 
-I/bfd/../include  -DDEBUGDIR=\"/usr/libdata/debug\"  -c
-fPIC -DPIC /usr/src/external/gpl3/binutils/dist/bfd/aout32.c -o aout32.pico
In file included from /usr/src/external/gpl3/binutils/dist/bfd/aout32.c:24:
/usr/src/external/gpl3/binutils/dist/bfd/aoutx.h: In function 
'aout_32_machine_type':
/usr/src/external/gpl3/binutils/dist/bfd/aoutx.h:796: error: 
'bfd_mach_mips_xlr' undeclared (first use in this function)
/usr/src/external/gpl3/binutils/dist/bfd/aoutx.h:796: error: (Each undeclared 
identifier is reported only once
/usr/src/external/gpl3/binutils/dist/bfd/aoutx.h:796: error: for each function 
it appears in.)

*** Failed target:  aout32.pico
*** Failed command: 
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-gcc -O2 -Werror 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 
--sysroot=/usr/src/obj/destdir.amd64 -I/usr/src/exter
nal/gpl3/binutils/lib/libbfd/arch/x86_64 
-I/usr/src/external/gpl3/binutils/dist/include -I. 
-I/usr/src/external/gpl3/binutils/dist/bfd -DHAVE_CONFIG_H -DNETBSD_CORE 
-DDEFAULT_VECTOR=bfd_elf64_x86_64_vec -DSELECT_
VECS='&bfd_elf64_x86_64_vec,&bfd_elf32_i386_vec,&i386netbsd_vec,&i386coff_vec,&bfd_efi_app_ia32_vec,&bfd_efi_bsdrv_ia32_vec,&bfd_efi_rtdrv_ia32_vec,&bfd_efi_app_x86_64_vec,&bfd_efi_bsdrv_x86_64_vec,&bfd_efi_rtdrv
_x86_64_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'
 -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DHAVE_bfd_elf64_x86_64_vec 
-DHAVE_bfd_elf32_
i386_vec -DHAVE_i386netbsd_vec -DHAVE_i386coff_vec -DHAVE_bfd_efi_app_ia32_vec 
-DHAVE_bfd_efi_bsdrv_ia32_vec -DHAVE_bfd_efi_rtdrv_ia32_vec 
-DHAVE_bfd_efi_app_x86_64_vec -DHAVE_bfd_efi_bsdrv_x86_64_vec -DHAVE_bfd_
efi_rtdrv_x86_64_vec -DHAVE_bfd_elf64_little_generic_vec 
-DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec 
-DHAVE_bfd_elf32_big_generic_vec -I/bfd -I/bfd/../include 
-DDEBUGDIR=\"/usr/libdata/de
bug\" -c -fPIC -DPIC /usr/src/external/gpl3/binutils/dist/bfd/aout32.c -o 
aout32.pico
*** Error code 1 

Stop.
nbmake: stopped in /usr/src/external/gpl3/binutils/lib/libbfd



> >> 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.
> 
> I'm just failing at this:
> 
> I completely nuked /usr/src/tools/gcc, /usr/src/tools/binutils,
> /usr/obj/tools/binutils, /usr/obj/tools/gcc, updated src, rebuilt,
> same issue.
> 
> I've variously run: "make clean" at toplevel, supplied "-r" to build.sh,
> omitted "-u" to build.sh.
> 
> -bch
> 
> >> *** 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
> >>
> >> Stop.
> >> nbmake: stopped in /usr/src/external/bsd/pcc/libexec/ccom
> >>
> >> *** Failed target:  dependall-ccom
> >> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
> >> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
> >> this="external/bsd/pcc/libexec/"; real="/usr/src/external/bsd/pcc/libexec" 
> >> ;; *
> >> ) this="external/bsd/pcc/libexec/${dir}/"; 
> >> real="/usr/src/external/bsd/pcc/libexec/${dir}" ;; esac; show=${this:-.}; 
> >> echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
> >> /usr/src/obj/tooldir.NetBSD-5
> >> .99.49-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
> >> _makedirtarget ccom dependall
> >> *** Error code 1
> >>
> >> Stop.
> >> nbmake: stopped in /usr/src/external/bsd/pcc/libexec
> >>
> >> *** Failed target:  dependall-libexec
> >> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
> >> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
> >> this="external/bsd/pcc/"; real="/usr/src/external/bsd/pcc" ;; *) 
> >> this="external
> >> /bsd/pcc/${dir}/"; real="/usr/src/external/bsd/pcc/${dir}" ;; esac; 
> >> show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
> >> "${real}" && /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbmake _THISDIR
> >> _="${this}" "$@" ${target}; }; _makedirtarget libexec dependall
> >> *** Error code 1
> >>
> >> Stop.
> >> nbmake: stopped in /usr/src/external/bsd/pcc
> >>
> >>
> >>
> >>
> >>> ....build transcript:
> >>>
> >>>
> >>> ...
> >>> #   compile  bin/ca.o
> >>> /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-gcc -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    --sysroot=/usr/src/obj/destdir.amd64  -DMONOLITH -DUSE_SSL 
> >>> -I/usr/src/crypto/external/bsd/openssl/dist -DOPENSSL_NO_IDEA -DOPENSSL
> >>> _NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSLDIR=\"/etc/openssl\" 
> >>> -DENGINESDIR=\"/usr/lib/openssl\" -DDSO_DLFCN -DHAVE_DLFCN_H  
> >>> -D_FORTIFY_SOURCE=2 -c    
> >>> /usr/src/crypto/external/bsd/openssl/dist/apps/ca.c
> >>> --- dependall-usr.sbin ---
> >>> In file included from /usr/src/usr.sbin/crash/obj/machine/cpu.h:42,
> >>>                  from /usr/src/usr.sbin/crash/../../sys/sys/cpu.h:34,
> >>>                  from /usr/src/usr.sbin/crash/../../sys/ddb/db_print.c:41:
> >>> /usr/src/usr.sbin/crash/obj/x86/cpu.h:292: error: expected declaration 
> >>> specifiers or '...' before 'bool'
> >>> /usr/src/usr.sbin/crash/obj/x86/cpu.h:406: error: expected declaration 
> >>> specifiers or '...' before 'bool'
> >>> cc1: warnings being treated as errors
> >>> /usr/src/usr.sbin/crash/obj/x86/cpu.h:407: warning: parameter names 
> >>> (without types) in function declaration
> >>> *** [db_print.o] Error code 1
> >>> nbmake: stopped in /usr/src/usr.sbin/crash
> >>> 1 error
> >>> nbmake: stopped in /usr/src/usr.sbin/crash
> >>> *** [dependall] Error code 2
> >>> nbmake: stopped in /usr/src/usr.sbin/crash
> >>> 1 error
> >>> nbmake: stopped in /usr/src/usr.sbin/crash
> >>> *** [dependall-crash] Error code 2
> >>>
> >>> nbmake: stopped in /usr/src/usr.sbin
> >>> 1 error
> >>>
> >>> nbmake: stopped in /usr/src/usr.sbin
> >>> *** [dependall-usr.sbin] Error code 2
> >>>
> >>> nbmake: stopped in /usr/src
> >>> --- dependall-usr.bin ---
> >>> A failure has been detected in another branch of the parallel make
> >>> nbmake: stopped in /usr/src/usr.bin/mklocale
> >>> *** [dependall] Error code 2
> >>>
> >>> ...
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brad Harder
> >>> Method Logic Digital Consulting
> >>> http://methodlogic.net/
> >>> http://twitter.com/bcharder
> >>>
> >>
> >> -- 
> >> Brad Harder
> >> Method Logic Digital Consulting
> >> http://methodlogic.net/
> >> http://twitter.com/bcharder
> >>
> >>
> >> !DSPAM:4da650352272137445489!
> >>
> >>
> >>
> >
> > -------------------------------------------------------------------------
> > | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
> > | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
> > | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
> > | Kernel Developer |                          | pgoyette at netbsd.org  |
> > -------------------------------------------------------------------------
> 
> -- 
> Brad Harder
> Method Logic Digital Consulting
> http://methodlogic.net/
> http://twitter.com/bcharder
> 

-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder



Home | Main Index | Thread Index | Old Index