This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: "reloc refers to symbol ... which is not being output" from cygwinld -r


----- 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



>

Attachment: link_bug-gcc3.3.1.tar.gz
Description: GNU Zip compressed data


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