GNU libobjc on Darwin
Bill Northcott
w.northcott@unsw.edu.au
Wed Sep 1 00:36:00 GMT 2004
On 01/09/2004, at 12:48 AM, David Edelsohn wrote:
> Bill> However, on the apple-ppc-darwin branch the same patches don't
> build
> Bill> the library.
> Bill> The cause is an APPLE_LOCAL mod to config/rs6000/darwin.h which
> Bill> redefines ADJUST_FIELD_ALIGN to need three arguments. This
> breaks in
> Bill> encoding.c around line 838. The only other place the macro
> appears to
> Bill> be used is stor-layout.c.
>
> Bill> I can't make up my mind if this is an Apple bug or an FSF one.
>
> This is not a bug. There are two different branches and a macro
> that differs between the two branches. The patch uses the macro and
> needs
> to be adjusted for the change of parameters on the branch.
>
Let is just agree that it is a feature of the source code that prevents
compilation under certain circumstances.
My question was if there anyone interested in fixing it, and where I
might file a request. Although the problem is on the Apple branch,
they are hardly going to be interested in fixing something they don't
use. The FSF people might well argue that it is not broken on the
HEAD.
Ideally of course there might be a configure option to build
gnu-libobjc on Darwin.
I tried to analyse the problem myself, but it is way out of my league.
I am an engineer turned finance academic not a computer scientist, and
I really have little idea of compiler internals.
Bill Northcott
More information about the Gcc
mailing list