This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: suspicious obj-c warnings [3.1]
- To: Aurelien <aurelien at fractals dot be>
- Subject: Re: suspicious obj-c warnings [3.1]
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 10 Sep 2001 07:48:24 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20010909084419.C1401@lucon.org> <20010910141658.3BCEE125C3@ocean.lucon.org>
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.