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?


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

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