Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Failure to build amd64 current
Hello!
I have amd64/9.3 on which I am trying to build amd64-current.
It dies on errors of the like in gcc/i386:
===8<===8<===
/usr/src/../obj/tooldir.NetBSD-9.3-amd64/bin/x86_64--netbsd-gcc -nodefaultlibs -shared -Wl,-soname,libgcc_s.so.1 -Wl,--warn-shared-textrel -Wl,-Map=libgcc_s.so.1.map -m32 --sysroot=/usr/src/obj/destdir.amd64 -nodefaultlibs -Wl,-z -Wl,nodelete -Wl,--version-script=/usr/src/external/gpl3/gcc.old/lib/libgcc/libgcc_s/libgcc.map -Wl,-z,relro -o libgcc_s.so.1.0.tmp -Wl,-rpath,/usr/lib/i386 -L=/usr/lib/i386 -Wl,-x -Wl,--whole-archive libgcc_s_pic.a -Wl,--no-whole-archive -m32
/usr/obj/tooldir.NetBSD-9.3-amd64/bin/../lib/gcc/x86_64--netbsd/10.4.0/../../../../x86_64--netbsd/bin/ld: i386:x86-64 architecture of input file `/usr/src/obj/destdir.amd64/usr/lib/../lib/i386/crti.o' is incompatible with i386 output
...
/usr/obj/tooldir.NetBSD-9.3-amd64/bin/../lib/gcc/x86_64--netbsd/10.4.0/../../../../x86_64--netbsd/bin/ld: libgcc_s_pic.a(unwind-dw2.pico):unwind-dw2.c:(.text.unlikely+0x1): more undefined references to `abort' follow
/usr/obj/tooldir.NetBSD-9.3-amd64/bin/../lib/gcc/x86_64--netbsd/10.4.0/../../../../x86_64--netbsd/bin/ld: libgcc_s_pic.a(enable-execute-stack.pico): file class ELFCLASS64 incompatible with ELFCLASS32
/usr/obj/tooldir.NetBSD-9.3-amd64/bin/../lib/gcc/x86_64--netbsd/10.4.0/../../../../x86_64--netbsd/bin/ld: final link failed: file in wrong format
collect2: error: ld returned 1 exit status
*** Failed target: libgcc_s.so.1.0
*** Failed commands:
${_MKTARGET_BUILD}
=> @echo '# ' " build " libgcc_s/libgcc_s.so.1.0
rm -f ${.TARGET}
=> rm -f libgcc_s.so.1.0
${LIBCC} ${LDLIBC} -shared ${SHLIB_SHFLAGS} ${_LDFLAGS.${_LIB}} -o ${.TARGET}.tmp ${_LIBLDOPTS} -Wl,--whole-archive ${SOLIB} -Wl,--no-whole-archive ${_LDADD.${_LIB}}
=> /usr/src/../obj/tooldir.NetBSD-9.3-amd64/bin/x86_64--netbsd-gcc -nodefaultlibs -shared -Wl,-soname,libgcc_s.so.1 -Wl,--warn-shared-textrel -Wl,-Map=libgcc_s.so.1.map -m32 --sysroot=/usr/src/obj/destdir.amd64 -nodefaultlibs -Wl,-z -Wl,nodelete -Wl,--version-script=/usr/src/external/gpl3/gcc.old/lib/libgcc/libgcc_s/libgcc.map -Wl,-z,relro -o libgcc_s.so.1.0.tmp -Wl,-rpath,/usr/lib/i386 -L=/usr/
===>8===>8===
`./build.sh -j 6 -u -x -U -o -T ../obj/tooldir.NetBSD-9.3-amd64 release install-image'
was the command for that run (I had a succesful build of tools before, but forgot to put `release'.
I am trying now w/ `./build.sh -m amd64 -r -x -U tools release install-image' (after having nuked my `/usr/obj') but I anticipate it'll fail as well (I tried other combination of specifying the architecture, removing the parallel jobs.)
Thank you!
Kindest regards,
--
Germain
--
Germain Le Chapelain <germain.lechapelain%lanvaux.fr@localhost>
Home |
Main Index |
Thread Index |
Old Index