bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/21964] __start_SCN symbols aren't exported anymore


From: matz at suse dot de
Subject: [Bug ld/21964] __start_SCN symbols aren't exported anymore
Date: Mon, 14 Aug 2017 20:38:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21964

--- Comment #10 from Michael Matz <matz at suse dot de> ---
Created attachment 10356
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10356&action=edit
another testcase showing unpatched binutils broken

Like with this new testcase.  The difference
is that with this the shared library is build with installed tools (for me old
binutils and gcc, i.e. simulating binary libs people will have installed from
their distro), but the app itself is linked with new linker.

With unpatched binutils (2.29 branch, but shouldn't matter):

% make
cc -g   -c -o app.o app.c
cc -g -fPIC   -c -o lib.o lib.c
cc -shared -o liborphan.so lib.o
ln -sf ../ld/ld-new ld
cc -B./ -o app app.o liborphan.so -ldl -Wl,-R,.
./ld: warning: type and size of dynamic symbol `__stop___verbose' are not
defined
./ld: warning: type and size of dynamic symbol `__start___verbose' are not
defined
./app
main: wrong __start___verbose
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]