[PATCH] dependency list for static libraries
Jim Wilson
jimw@sifive.com
Tue Dec 15 16:17:19 GMT 2020
On Mon, Dec 14, 2020 at 6:28 AM Nick Clifton via Binutils <
binutils@sourceware.org> wrote:
> I have now gone ahead and applied the patch. We can add
> some tests later but I wanted to make sure that it was in
> before the holiday break as I am planning on starting the
> 2.36 release once I get back in January.
>
This patch beaks nm. You have to do an install to see the problem. The
new libdep plugin is installed into the bfd-plugins dir, so bfd tries to
load it and gets an error.
gamma17:2093$ build-install/bin/riscv64-unknown-linux-gnu-nm tmp.o
bfd plugin: No register_all_symbols_read hook
bfd plugin: No register_all_symbols_read hook
bfd plugin: No register_all_symbols_read hook
0000000000000000 T main
gamma17:2094$
This in turn breaks glibc builds.
configure:6658: checking for __builtin_trap with no external dependencies
configure:6675: riscv64-unknown-linux-gnu-gcc -c -mcmodel=medlow -g -O2
conftest.c >&5
configure:6675: $? = 0
configure:6680: error: confusing output from riscv64-unknown-linux-gnu-nm -u
Jim
More information about the Binutils
mailing list