Problems due to platform binutils

Paul Floyd <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
Hi

I'm looking at some Valgrind testcase failures when I run the testsuite 
on the GCC build server farm FreeBSD machines. I haven't yet asked how 
the servers were installed. uname says

16.0-CURRENT FreeBSD 16.0-CURRENT main-n284729-ccc235fe0229 GENERIC arm64

and


16.0-CURRENT FreeBSD 16.0-CURRENT main-n284742-7b6be0014a4e GENERIC amd64

They both have GNU binutils and platform binutils installed

pkg info | grep binutils
aarch64-binutils-2.44,1        GNU binary tools
binutils-2.44,1                GNU binary tools
elfutils-0.187_3               Library for manipulating ELF files and 
partial implementation of binutils

(amd64-binutils-2.44 on the amd64 machine).

clang seems to want to use this ld.bfd ( 
/usr/local/bin/aarch64-unknown-freebsd16.0-ld) rather than /usr/bin/ld 
(which is ld.lld).
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.