Subject: Re: Report on broken packages, gcc3 on sparc64
To: Martin Husemann <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 07/17/2003 15:42:58
On Thu, 17 Jul 2003, Martin Husemann wrote:

> On Thu, Jul 17, 2003 at 02:09:29PM -0500, Frederick Bruckman wrote:
> > > All fine with me, but then our src/tools tree is broken.
> >
> > How's that?
> Configuring make does the "checking if cpp works" thing and fails - boom,
> build stops.
> > The reason it's an issue is because of "fixincludes" fixing perfectly
> > reasonable headers by liberally inserting #ifdef __GNUC__.
> That's not the problem I saw in above case. It failed because some standard
> header in /usr/include included <sys/cdefs.h>. Due to __GNUC__ not being
> defined this hit the #error in line 232. There are no fixinclud-mangled
> files involved here.

I'm confused. I can't remember now what software had the #ifdef's I'm

> If you say that calling plain cpp(1) should not automagical define __GNUC__
> we should fix our headers. Or make everything call "cc -E" (along the lines
> of the xsrc changes quite some time ago). Or probably both.

I honestly don't know why the gnu people decided that cpp shouldn't
define __GNUC__ by default, but it seems to have exposed a bug in