This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrapping hppa64? CPP problem
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 10 Jul 2002 21:08:36 -0700
- Subject: Re: Bootstrapping hppa64? CPP problem
- References: <200207102254.PAA18705@hpsje.cup.hp.com>
On Wed, Jul 10, 2002 at 03:54:18PM -0700, Steve Ellcey wrote:
> I am curious if anyone is currently bootstrapping the hppa64 GCC
> compiler from the latest sources? I am running into a very curious cpp
> problem. With the attached example, using the cc1 that I just built I
> get two definitions of sigpause showing up because _SVID2 seems to be
> considered defined and undefined at the same time. It doesn't happen on
> the other platforms I have tried but it happens consistenly for me on
> PA64.
As Jeff points out, this is a memory corruption bug. I have attempted
to reproduce the problem with an x86 host (native, and cross-compiling
to pa64) without success; I do not currently have access to any other
host.
Do you have a Purify license? It should be able to catch the
underlying bug. Unfortunately, the only free-software near equivalent
I know of (valgrind) is x86 specific, and shows no invalid memory
accesses when applied to your test case.
zw