What a hell, thanks for the pointers.  The source of the trouble seems
to be Redhat including 2.96 as default compiler for RH 7.0.  Here's the
solution that's working for me.  Redhat has a compiler update
for 7.0 that updates the compiler to 2.96-69 (12/18/00).  This seems
like a bad idea on top of a bad idea, but there you go.

With GCC 2.96-69 Pose builds but core dumps right away.  I rebuilt it
again with the "-O2" option removed from POSER_CXXFLAGS, but leaving -O2
enabled in POSER_CFLAGS.  Pose seems to work fine although I've only
been using it for an hour or so.  The current compiler bug is
likely somewhere in the optimizer for C++ code for the 2.96-69 compiler.

I have a pretty generic redhat 7.0 machine, here are a few things
I tried for building Pose that didn't work:

I thought I might go back to GCC 2.95.2, the current stable GCC release.
Unfortunately it won't build for mysterious reasons.  It fails while
building libio.  I think it's some weird thing between /usr/include
and 2.95 in RH 7.0, but I'm not clever enough to sort it out.  I
would still like to do this if anyone has any luck building 2.95.2 on
a RH 7.0 system.

Someone suggesting using "kgcc" as the compiler for pose.  This is
an RPM in redhat 7.0 that is a 2.91 compiler.  This is only a C
compiler, there's no C++ compiler so that's no good for building Pose.

Anyway, this whole fiasco of redhat including the 2.96 compiler has me
really annoyed at the moment, but the recipe above seems to work
okay.

jeff


At 05:01 PM 1/14/2001, [EMAIL PROTECTED] wrote:


> > Has anyone else done this?
>
>If by "done this" you mean "gotten a compilation error", sure, lots of people.
>For instance, see:
>
>      <http://www.escribe.com/computing/pcpef/m2220.html>
>
>You might want to keep in mind the warning in:
>
>      <http://www.escribe.com/computing/pcpef/m2406.html>
>
>And take the suggestion in:
>
>      <http://www.escribe.com/computing/pcpef/m2571.html>
>
>-- Keith Rollin
>-- Palm OS Emulator engineer
>
>
>
>
>
>
>Jeff Mock <[EMAIL PROTECTED]> on 01/14/2001 04:50:43 PM
>
>Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
>Sent by:  Jeff Mock <[EMAIL PROTECTED]>
>
>
>To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
>cc:    (Keith Rollin/US/PALM)
>Subject:  Pose 3.0a8 build problem with Redhat 7.0
>
>
>
>I'm having trouble building Pose on redhat 7.0 (GCC 2.96).  The
>compile line for MetaMemory.cpp dies with a compiler error as
>follows:
>
>     ../SrcShared/UAE/newcpu.h: In function `void
>         MetaMemory::GWH_ExamineChunk (const EmPalmChunk &,
>         MetaMemory::WhatHappenedData &)':
>     ../SrcShared/UAE/newcpu.h:225: Internal compiler error in
>         fix_lexical_addr, at function.c:5320
>     Please submit a full bug report.
>     See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>     make[1]: *** [MetaMemory.o] Error 1
>     make[1]: Leaving directory `/home/jeff/pose/Emulator_Src_3.0a8/BuildUnix'
>     make: *** [all-recursive] Error 1
>     [jeff@sticky BuildUnix]$
>
>Has anyone else done this?
>
>jeff
>
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/tech/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to