[racket-dev] Build failure on specific PPC systems

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 26 11:34:30 EDT 2011

At Thu, 25 Aug 2011 23:30:38 -0400, James Vega wrote:
> On Wed, Aug 24, 2011 at 11:31:05PM -0400, Lennart Sorensen wrote:
> > On Wed, Aug 24, 2011 at 10:58:04PM -0400, Lennart Sorensen wrote:
> > > On Wed, Aug 24, 2011 at 07:30:07PM -0400, James Vega wrote:
> > > > Since at least 4.2.4, Racket has been failing to build[0][1] for Debian
> > > > on G5-based PowerPC systems[2][3].  At the time, the only other PowerPC
> > > > system that was available within Debian to debug on was a G4-based
> > > > system[4].  On that system, Racket has been building fine using either
> > > > the 3m or cgc GC.
> > 
> > Of course it also occured to me that the G5 (IBM 970) and the power6+
> > I am using are 64bit powerpc machines, while the G4 is 32bit I believe.
> > Might matter.
> 
> Looks like that may be it.  Much of the JIT code leverages GNU
> Lightning, which doesn't appear to support ppc64 yet.

Right --- the Racket JIT definitely does not support PPC in 64-bit
mode.

The Racket PPC JIT is enabled on Linux when `powerpc' is #defined at
build time. Is `powerpc' #defined for the 64-bit build, perhaps in
addition to `powerpc64'? Or is just `powerpc64' #defined?

Thanks,
Matthew



Posted on the dev mailing list.