Subject: Re: Report on broken packages, gcc3 on sparc64
To: Frederick Bruckman <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 07/17/2003 21:33:17
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,
> 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.
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.