ia64-hp-hpux* linker

Dave Korn dave.korn.cygwin@googlemail.com
Fri Apr 24 14:06:00 GMT 2009


Denis Scherbakov wrote:
> Well, nobody seems to be interested. 

  Sorry, there's not always a lot of coverage for some of the less-popular
platforms.

> ld: relocation truncated to fit: GPREL22 against symbol `shTest' defined in
> *ABS* section in test_executable

  It's really odd that this symbol would end up in the abs section.  I don't
know anything about hpux, but could the hidden visibility somehow mean that in
file2, shTest is effectively a COMMON symbol (and then, that there's maybe
some kind of problem with COMMON handling additionally)?  What does "nm
file1.o" look like when you compile with --save-temps?  Does
"-fno-zero-initialized-in-bss" help any?

    cheers,
      DaveK



More information about the Binutils mailing list