head -r355027 cross build for 32-bit powerpc (system-clang-9 and devel/binutils at powerpc64 based): lots of 'bss-plt forced due to'

Mark Millard marklmi at yahoo.com
Sat Nov 23 13:07:19 UTC 2019



On 2019-Nov-23, at 04:56, Mark Millard <marklmi at yahoo.com> wrote:

> The clang code generation and secure-plt handling and binutils ld handling
> do not match (ELFv1 anyway) but the modern ld no longer seems to exit with
> an error code for this context so none of the below stopped the build. (I've
> no clue if the built materials are operable on the old PowerMacs or not --and
> might not know for some time.)
> 
> # grep bss-plt /root/sys_typescripts/typescript_make_powerpcvtsc_nodebug_clang_altbinutils-amd64-host-2019-11-23:04:38:28 | more
> /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to dummynet.kld
> /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to geom_cache.kld
> /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to ip_mroute.kld
> . . .

I should have also listed examples of the crt1.o related messages:

# grep bss-plt /root/sys_typescripts/typescript_make_powerpcvtsc_nodebug_clang_altbinutils-amd64-host-2019-11-23:03:22:16 | more
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/lib/crt1.o
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/lib/crt1.o
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/lib/crt1.o
. . . (lots of crt1.o references) . . .
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to accf_http.kld
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to acl_nfs4.kld
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to acl_posix1e.kld
. . .

(I had to adjust one of my old debugging changes and restart the build between the
two logs. I originally only searched the 2nd log.)



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ppc mailing list