This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: suspicious obj-c warnings [3.1]


On Sun, Sep 09, 2001 at 06:16:13PM +0200, Aurelien wrote:
> 
> Le dimanche 9 septembre 2001, à 05:44, H . J . Lu a écrit :
> 
> > On Sun, Sep 09, 2001 at 02:59:27PM +0200, Aurelien wrote:
> >> Hi,
> >>
> >> Worried about strange compiler warnings from gcc 3.1, I sent a message
> >> to the GNUstep mailing list reporting messages like the following:
> >>
> >> /usr/local/bin/ld: warning: type and size of dynamic symbol
> >> '__objc_class_name_NSURL' are not defined
> >>
> >> Some very competent person from the list replied the following:
> >>
> >> "Fix the compiler ... seriously ... apparently it generates code that 
> >> is
> >> technically wrong (though fine
> >> on all known machines), so ld complains about it."
> >
> > It is a known problem. Basically, obj-c compiler doesn't know how
> > to generate proper assembly code for ELF.
> 
> What then ? Do you know if/when it's going to be fixed ?

I have no ideas. I guess it will take someone who knows obj-c, gcc and
ELF very well to fix it.

> 
> Could there be annoying consequences to this, other than clubbering my 
> IDE with warnings ? Or do you know of a workaround (possibly there is 
> another object format than ELF) (I'm using KDevelop)?
> 
> Is this a 3.1 bug, or does it appear in 2.95.x also ?

It has been there for a LONG time.


H.J.


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