This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrapping hppa64? CPP problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]