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

Mark Millard via freebsd-ppc <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc,gmane.os.freebsd.devel.toolchain
Message-ID <[email protected]>

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)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.