Date: Wed, 31 Jul 2019 23:50:09 +0000 From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 239007] lang/gcc8 enable secure-plt by default for powerpc* Message-ID: <bug-239007-25139-GulVIFMWLS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239007-25139@https.bugs.freebsd.org/bugzilla/> References: <bug-239007-25139@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239007 --- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (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/sr= c/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=3D seems to avoid the issue. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239007-25139-GulVIFMWLS>