[Bug 209413] c++ symbolic functions broken on arm

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 10 06:40:45 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209413

            Bug ID: 209413
           Summary: c++ symbolic functions broken on arm
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: sylvain at sylvaingarrigues.com

Created attachment 170167
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170167&action=edit
main.cpp

With attached simple test case:

 # c++ -fPIC -shared -Wall -o libshared.so -Wl,-Bsymbolic shared.cpp && c++
-fPIE -Wall -o main main.cpp -L. -lshared && cp libshared.so /usr/local/lib &&
./main 

false


# g++ -fPIC -shared -Wall -o libshared.so -Wl,-Bsymbolic shared.cpp && g++
-fPIE -Wall -o main main.cpp -L. -lshared && cp libshared.so /usr/local/lib &&
./main 

true


I believe the bug is in ld:
https://sourceware.org/bugzilla/show_bug.cgi?id=16715

It has been fixed upstream (see commit referenced in the link above) but our ld
is older.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list