This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/17711] copy relocations against protected symbols don't work


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
           Assignee|unassigned at sourceware dot org   |hjl.tools at gmail dot com

--- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 8214
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8214&action=edit
A testcase

[hjl@gnu-tools-1 pr17711]$ make
gcc  -B./ -g   -c -o x.o x.c
gcc  -B./ -g -fPIC   -c -o bar.o bar.c
ld -shared -o libbar.so bar.o
gcc  -B./  -o x x.o libbar.so -Wl,-rpath,.
./x
Makefile:12: recipe for target 'all' failed
make: *** [all] Aborted (core dumped)
[hjl@gnu-tools-1 pr17711]$

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]