Opened 14 years ago
Closed 11 years ago
#26035 closed defect (wontfix)
ghc on PowerPC: [Apply.o] Segmentation fault
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | bikefridaywalter@…, alun.j.carr@… | |
Port: | ghc |
Description
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.
Attachments (1)
Change History (15)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | ghc.main.log.bz2 added |
---|
comment:1 follow-up: 11 Changed 14 years ago by avysk (Alexey Vyskubov)
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.
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | ghc on Tiger PPC: [Apply.o] Segmentation fault → ghc on PowerPC: [Apply.o] Segmentation fault |
---|
comment:5 Changed 14 years ago by bikefridaywalter@…
1.5GHz G4 PowerBook 1.25GB RAM, OS X 10.5.8, MacPorts 1.9.1, and XCode 3.1.
comment:6 Changed 14 years ago 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?
comment:7 follow-up: 8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
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 go back to a previous revision of the ghc portfile.
comment:8 Changed 14 years ago by bikefridaywalter@…
Replying to 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 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)?
comment:9 Changed 14 years ago by yaseppochi (Stephen J. Turnbull)
"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. :-/
comment:11 follow-up: 12 Changed 14 years ago 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
comment:12 Changed 13 years ago by Olivier_Mutschler@…
Replying to 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 ;-)
comment:13 Changed 12 years ago by raimue (Rainer Müller)
Owner: | changed from gwright@… to macports-tickets@… |
---|
Port abandoned, #35561.
comment:14 Changed 11 years ago by neverpanic (Clemens Lang)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I think this ticket is obsolete, since it concerns GHC 6. GHC is at version 7.x in MacPorts now.
full log