Current-Users archive

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

build failure when optimizing


I just tried to build release with optimisation for my little xeon server.
That fails, but I don’t understand why it seems to build some 386 32bit libs.
#     build  libgcc_s/
rm -f
/hurz/obj/tooldir.NetBSD-9.99.63-amd64/bin/x86_64--netbsd-gcc -nodefaultlibs -shared -Wl,-soname,  -Wl,--warn-shared-textrel -Wl,   -m32 --sysroot=/hurz/obj/destdir.NetBSD-9.99.63-amd64 -nodefaultlibs -Wl,-z -Wl,nodelete -Wl,--version-script=/hurz/src/external/gpl3/gcc/lib/libgcc/libgcc_s/ -Wl,-z,relro  -o  -Wl,-rpath,/usr/lib/i386  -L=/usr/lib/i386 -Wl,-x  -Wl,--whole-archive libgcc_s_pic.a  -Wl,--no-whole-archive -m32 
/hurz/obj/tooldir.NetBSD-9.99.63-amd64/lib/gcc/x86_64--netbsd/8.4.0/../../../../x86_64--netbsd/bin/ld: i386:x86-64 architecture of input file `/hurz/obj/destdir.NetBSD-9.99.63-amd64/usr/lib/../lib/i386/crti.o' is incompatible with i386 output
optimization was done using cpuflags:
ARCH            : -march=native
FEATURES        : -mfpmath=sse -msse3
CPUFLAGS        : -mfpmath=sse -msse3 -march=native
GCC version     : 8.4.0
OS              : 'NetBSD'
OS version      : '9.99.63'
hw.model        : 'Intel 686-class'
hw.machine      : 'amd64'
hw.machine_arch : 'x86_64'
CPU             : ''
cpu_name="highest basic info 0000000d"
cpu_brand="IntelR XeonR CPU E5-2640 0 @ 2.50GHz“

Any ideas?


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Home | Main Index | Thread Index | Old Index