This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
Re: What causes the 'type and size of dynamic symbol ... not defined' warning?
- To: Richard Frith-Macdonald <richard@brainstorm.co.uk>
- Subject: Re: What causes the 'type and size of dynamic symbol ... not defined' warning?
- From: Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>
- Date: Fri, 23 Jul 1999 09:47:42 +0200
- Cc: GNUstep discussion <discuss-gnustep@gnu.org>, gcc-bugs@gcc.gnu.org
- References: <9907230732.AA01033@tiptree.brainstorm.co.uk>
- Reply-To: Ronald.Pijnacker@best.ms.philips.com
>
> 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.
Ronald.
rhp@iname.com