This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
relocation error on Solaris 2.6
- To: "'egcs-bugs at egcs dot cygnus dot com'" <egcs-bugs at egcs dot cygnus dot com>
- Subject: relocation error on Solaris 2.6
- From: "Peterson, Joel" <Joel dot Peterson at dowjones dot com>
- Date: Thu, 24 Jun 1999 12:53:12 -0400
I get the following error when trying to link some template-heavy code
generated by egcs-1.1.2 on Sparc-sun-solaris2.6:
ld: warning: relocation error: R_SPARC_32: file testAssociation.o:
symbol findCandidate__H1:
external symbolic relocation against non-allocatable section .stab;
cannot be processed at runtime: relocation ignored
[...]
The link then fails with findCandidate__H1 being undefined.
I noticed a similar problem in the egcs-bugs archive reported for Solaris 7,
but didn't see it for Solaris 2.6.
BTW. This doesn't happen with all template code, only some of it.
Is this a known problem with a known solution? Would you like more
information?
Regards,
Joel Peterson