This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.1 and 64 bit solaris link errors


I am seeing strange link errors when linking c++ programs compiled with gcc 
3.1 for 64 bit solaris 2.7, using binutils 2.12.1.

The link errors look all like:

main.o:itimerspec/../../lib/support/numeric:41: relocation truncated to fit: 
R_SPARC_DISP32 .gnu.linkonce.t._ZNSt13runtime_errorC2ERKS_

The error message is always the same but the symbol.  The applications I have 
seen this link against multiple biggish c++ shared libraries, which compile 
and build just fine.

Any ideas what is the problem?

Teemu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]