[MacPorts] #15142: ghc 6.8.2 fails to build Adjustor.o (bus error, segmentation fault) on PowerPC

MacPorts noreply at macports.org
Sun Nov 23 07:34:22 PST 2008


#15142: ghc 6.8.2 fails to build Adjustor.o (bus error, segmentation fault) on
PowerPC
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  gwright@…           
     Type:  defect                   |      Status:  assigned            
 Priority:  Normal                   |   Milestone:  Port Bugs           
Component:  ports                    |     Version:  1.6.0               
 Keywords:                           |        Port:  ghc                 
-------------------------------------+--------------------------------------

Comment(by gwright@…):

 Replying to [comment:20 ryandesign@…]:
 > Replying to [comment:17 gwright@…]:
 > > I was able to compile 6.10.1 on ppc/Leopard using the 6.10.1 bootstrap
 compiler I built for the port.  This procedure should be identical to that
 used by revision 8 of the ghc port. (I was not able to run the port itself
 as I don't have root privileges on the machine I am using and don't want
 to install a second MacPorts.)
 >
 > Yes! With gmp @4.2.4_0, ghc @6.10.1_8 builds for me on Mac OS X 10.5.5
 on my Power Mac. I haven't tried Tiger PPC yet.
 >
 > > I wonder if some of the problems people are seeing might be Xcode
 related.  I had success with Xcode 3.1 on OS X 10.5.5 (xnu-1228.7.58~1).
 The "machine" command reported "ppc7450".
 >
 > I'm using Xcode 3.1.1 and "machine" here says "ppc7400". It's a Power
 Mac G4 (Digital Audio) 466 MHz.

 Excellent news.  I was able to test revision 8 on my ppc/Tiger PowerBook
 and it worked.  So we may have working builds now on all platforms: the
 cartesian
 product of (i386, ppc) and (Tiger, Leopard).

 It's hard to know what the underlying bug really was.  It may have been in
 earlier versions of ghc itself, or in libgmp.

 If I don't hear any more reports of failure in the next few days, I will
 declare victory and send an announcement on the ghc user's list reminding
 people to update libgmp before building ghc 6.10.1.

-- 
Ticket URL: <http://trac.macports.org/ticket/15142#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list