"reloc refers to symbol ... which is not being output" from cygwin ld -r

Danny Smith dannysmith@clear.net.nz
Wed Aug 27 05:23:00 GMT 2003


----- Original Message -----
From: "Nick Clifton"
To: "Danny Smith" <dannysmith@users.sourceforge.net>

> 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

Attached  are assembler and object fles for 1.cpp and 2.cpp compiled
with
g++-3.3.1  -g
using mingw native build of gcc
and  gas
GNU assembler 2.14.90 20030807

danny



>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: link_bug-gcc3.3.1.tar.gz
Type: application/x-gzip
Size: 94767 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030827/8cef8295/attachment.bin>


More information about the Binutils mailing list