This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the EGCS project.


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

Re: What causes the 'type and size of dynamic symbol ... not defined' warning?


On 23 Jul 99, at 9:09, Richard Frith-Macdonald wrote:

> On Fri, 23 Jul 1999 09:47:42 +0200, Ronald.Pijnacker@best.ms.philips.com wrote:
> > >
> > > Since I got RedHat-6, I have been getting warning messages like -
> > >
> > > /usr/bin/ld: warning: type and size of dynamic symbol
> > > `__objc_class_name_NSObject' are not defined
> > >
> > > Whenever I build an objective-c program.
> > >
> > > The compiler version is -
> > > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> > >
> > > Can anyone enlighten me as to what exactly is causing these warnings, and
> > > how they can be fixed?
> > >
> > > Presumably this is a bug in either egcs or ld - my guess being that it is
> > > an egcs bug, but perhaps a long-standing one that has been exposed by a
> > > change in ld?
> > >
> >
> > I got the same warning when I switched from ld v 2.8.1 to v 2.9, using
> > the same object files as before (generated with gcc 2.8.1). So it
> > would seem to be a problem of ld.
>
> Well - thanks for the information - but I don't accept your conclusion.
> We can say that the message comes from ld, and that older versions of ld
> did not generate it - but I don't think that tells us whether gcc
> is, and has been, generating incorrect symbol information, or whether the
> message is being incorrectly genrated by ld.
>
> I still suspect that gcc is at fault - and we need to get it changed so that
> ld won't complain.
> Hopefully someone can give an authoritative answer.

I'm not so sure that either gcc or ld is at fault. It seems to me the
list of clases it complains about, are those GNUstep classes my
program uses; it NEVER complains about my own classes.

That suggests to me that the fault is in the GNUstep build process.

But I don't know what it is, either.

Regards - Kai Henningsen

--
http://www.cats.ms
Spuentrup CTI       Fon: +49 251 322311 0
Windbreede 12       Fax: +49 251 322311 99
D-48157 Münster     Mob: +49 161 3223111
Germany             GSM: +49 171 7755060

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