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: Sun, 9 Sep 2001 08:44:19 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20010909130149.EB166125C3@ocean.lucon.org>
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.
H.J.