Shared libraries linked with "-z relro" using gold become unusable when stripped with "--strip-unneeded". Trying to load the so gives "ELF load command address/offset not properly aligned".
Problem happens on x86_64, on i686 it works fine. The problem occurs with 2.20.51.0.10 but 2.20.51.0.9 works fine. Tried with gcc 4.3.3 and 4.5.1. Also with binutils self compiled from source and binaries from kernel.org. I have put compiled binaries of zlib [1] and output of readelf -a. [1] http://cekirdek.pardus.org.tr/~onur/goldbug/ -- Summary: 2.20.51.0.10 regression, nonworking shared libs when stripped Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: onur at pardus dot org dot tr CC: bug-binutils at gnu dot org GCC host triplet: x86_64-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=11866 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils