This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: "reloc refers to symbol ... which is not being output" fromcygwin ld -r
Hi Danny,
> g++ -g -c -o 1.o 1.cpp
> g++ -g -c -o 2.o 2.cpp
> ld -r -o 3.o 1.o 2.o
>
> I still get problems with .stab symbols:
>
> D:\develop\bugs\link_bug>ld -r -o 3.o 1.o 2.o
> 2.o(.stab+0x36a0): In function `_tcf_0':
> D:/develop/bugs/link_bug/2.cpp:3: reloc refers to symbol
> `.text$_ZNSaISsEC1Ev' which is not being output
> 2.o(.stab+0x451c):D:/develop/bugs/link_bug/2.cpp:3: reloc refers to
> symbol `.text$_ZnwjPv' which is not being output
>
Please could you send me the 1.o and 2.o files that have been compiled
(but not stripped) this way ? I do not have a working g++ compiler
installed at the moment...
Cheers
Nick