[Bug 239007] lang/gcc8 enable secure-plt by default for powerpc*
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239007 --- Comment #6 from Mark Millard <[email protected]> --- (In reply to Mark Millard from comment #5) I finally got around to trying to buildworld buildkernel targeting powerpc64 via system-clang (amd64 -> powerpc64 cross build). Using lld complained about ELFv1 not being supported, as expected if I understand the status correctly. It got the following trying to build lib32 materials when using devel/powerpc64-binutils and its gnu ld instead: --- libc.so.7.full --- building shared library libc.so.7 /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to /usr/obj/powerpc64vtsc_clang_altbinutils-oldunwind/powerpc.powerpc64/usr/src/powerpc.powerpc64/obj-lib32/tmp/usr/lib32/crtbeginS.o cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libc.so.7.full] Error code 1 (The same type of problem as when directly targeting 32-bit powerpc.) It also got the following shortly before the above error: --- Version.map --- cpp: warning: argument unused during compilation: '-L/usr/obj/powerpc64vtsc_clang_altbinutils-oldunwind/powerpc.powerpc64/usr/src/powerpc.powerpc64/obj-lib32/tmp/usr/lib32' [-Wunused-command-line-argument] As for the what stopped it: WITHOUT_LIB32= seems to avoid the issue. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"