[Bug c++/49777] for c++ code, without -g option, cannot generate PIC *.so library.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49777 --- Comment #5 from kun.he 2011-10-15 01:47:14 UTC --- Thanks Paolo & Nick, When I replace gcc-4.5.1 by Gcc-linaro-4.5-2011.06, the issue disappeared. And I found patch http://bazaar.launchpad.net/~linaro-toolchain-dev/gcc-linaro/4.5/revision/99
[Bug c++/49777] New: for c++ code, without -g option, cannot generate PIC *.so library.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49777 Summary: for c++ code, without -g option, cannot generate PIC *.so library. Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3