[Bug c++/64202] C linkage causes shared library exception address problem on ppc64 (not x86_64)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 5 19:28:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64202

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>g++ -O0 -g -c test_lib.cpp -o test_lib.o 
You need to compile this with -fPIC.



More information about the Gcc-bugs mailing list