[MacPorts] #26035: ghc on Tiger PPC: [Apply.o] Segmentation fault
#26035: ghc on Tiger PPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- I can't build ghc @6.10.4_4 on Tiger PPC: {{{ :info:build /mp/var/macports/build/_Volumes_data_macports_ports_lang_ghc/work/ghc-6.10.4/ghc/stage1-inplace/ghc -H32m -O -L/mp/var/macports/build/_Volumes_data_macports_ports_lang_ghc/work/ghc-6.10.4/libffi -I/mp/include -L/mp/lib -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static -I/mp/include -I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-lint -c Apply.cmm -o Apply.o :info:build make[1]: *** [Apply.o] Segmentation fault :info:build make: *** [stage1] Error 2 }}} ghc @6.10.4_3 built fine. Looks like a recurrence of #15142, which had duplicates #17184 and #15923. This machine: Power Mac G4 Digital Audio 466 MHz, 1.125 GB RAM, MacPorts 1.9 branch @70323, Mac OS X 10.4.11 8S165 with all software updates applied, Xcode 2.5. -- Ticket URL: <http://trac.macports.org/ticket/26035> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on Tiger PPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by tascafoo@…): I have '''exactly the same problem on Leopard''': Power Mac G5 2 x 2 GHz, 3.5 Gb RAM, Macports 1.9.1, Mac OS X 10.5.8 with all updates, Xcode 3.1.4. -- Ticket URL: <http://trac.macports.org/ticket/26035#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/26035#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Has duplicate #26550. -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by bikefridaywalter@…): 1.5GHz G4 PowerBook 1.25GB RAM, OS X 10.5.8, MacPorts 1.9.1, and XCode 3.1. -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by bikefridaywalter@…): BTW this may be insurmountable. I cannot find a PPC installer on the Haskell site. Out of curiousity, has anyone tried to install ghc manually? -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by ryandesign@…): It shouldn't be insurmountable; it was surmounted before (see #15142) and ghc @6.10.4_3 built fine on PowerPC, so worst case you could [wiki:howto/InstallingOlderPort go back to a previous revision of the ghc portfile]. -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by bikefridaywalter@…): Replying to [comment:7 ryandesign@…]:
It shouldn't be insurmountable; it was surmounted before (see #15142) and ghc @6.10.4_3 built fine on PowerPC, so worst case you could [wiki:howto/InstallingOlderPort go back to a previous revision of the ghc portfile].
If I read the revision log correctly, then all this removes is problems with autoconf. Frankly, deactivating autoconf and activating @2.63 should get around that issue, correct? Or does requiring a port without specifically calling out the version automatically require the most current version (@2.67 in this case)? -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by stephen@…): "Surmounted before" is a pretty optimistic reading of what actually happened in #15142. "'Seems to be' an upstream problem with some Apple compilers and I can't reproduce it" != "fixed" in my book. I guess this is a regression in some other package between the releases of ghc 6.10.4_3 and ghc 6.10.4_4, and this was exposed by the rebuild. For example, there's a version skew between the version of ghc's "filepath" module required by the "directory" and "process" modules and the one available to the build, and the log warns that this is likely to cause compile failures. I don't say this is the cause here, but that kind of thing seems quite probable to me. @ryandesign: have you tried building 6.10.4_3 (or any earlier revision) since the failure of 6.10.4_4? I'm just going to revert to my previous version of the Portfile and hack PortIndex to make it think I'm up to date any time I install or upgrade something that would trigger a ghc upgrade. :-/ -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by alun.j.carr@…): ''Exactly'' the same problem building ghc @6.10.4, Revision 4. 12" PowerBook G4, 1.5 GHz, 1.25 GB RAM OS X Leopard 10.5.8 Xcode 3.1.4 MacPorts 1.9.2 -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by Olivier_Mutschler@…): Replying to [comment:11 alun.j.carr@…]:
''Exactly'' the same problem building ghc @6.10.4, Revision 4.
12" PowerBook G4, 1.5 GHz, 1.25 GB RAM
OS X Leopard 10.5.8
Xcode 3.1.4
MacPorts 1.9.2
I had the same problem. But it turned out that I had to download the fallowing version: ghc-6.8.3-powerpc-apple-darwin.2.tar.bz2 and then it says that some libraries are missing so it installed with: "port install readline" and then it worked at least for me ;-) -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Changes (by raimue@…): * owner: gwright@… => macports-tickets@… Comment: Port abandoned, #35561. -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26035: ghc on PowerPC: [Apply.o] Segmentation fault ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: wontfix | Keywords: Port: ghc | ---------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => wontfix Comment: I think this ticket is obsolete, since it concerns GHC 6. GHC is at version 7.x in MacPorts now. -- Ticket URL: <https://trac.macports.org/ticket/26035#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts