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/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: sylvain@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209413-7>
