Bad PIC on Solaris

Alexandre Oliva oliva@lsd.ic.unicamp.br
Tue Jan 25 23:46:00 GMT 2000


GCC won't emit PIC typeinfo nodes on Solaris, both /sparc and /x86.
GNU ld doesn't complain when a shared library is created with an
object file containing such typeinfo nodes, but Sun ld does, when run
with `-z text'.  For example, given the following file:



More information about the Gcc-bugs mailing list