Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 06:40:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 209413] c++ symbolic functions broken on arm
Message-ID:  <bug-209413-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209413

            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@FreeBSD.org
          Reporter: sylvain@sylvaingarrigues.com

Created attachment 170167
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170167&action=
=3Dedit
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=20

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=20

true


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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209413-7>