#15142: ghc 6.8.2 fails to build Adjustor.o (bus error, segmentation fault) on PowerPC --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: ghc | --------------------------------------+------------------------------------- Comment(by mike.vasiljevs@…): Replying to [comment:28 blb@…]:
Replying to [comment:27 mike.vasiljevs@…]:
I have checked for the latest XCode/gcc on developer.apple.com and I seem to have the latest, it has not been update for a while :/.
What is the actual Xcode version you have? Yes, Apple hasn't updated it in some time, but do make sure you have 2.5. You can check by doing a Get Info in Finder on Xcode.app (in /Developer/Applications) or by simply launching it and checking Xcode->About Xcode.
it's 2.5, of course ;) i've attached the log in 2009-07-12_ghc_6.10.3_ppc_10.4.11_dest.log.bz2 however because ghc base has died maybe it's the problem with the binary base? debugging it, it dies at s6Yw_info(), but the file that is searched, libffi/build/src/powerpc/ffi_darwin.c, does not contain this function, nevertheless. Can somebody explain where to get sources with s6Yw_info()? greets {{{ (gdb) run -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3 /inplace-datadir/. -dynload wrapped rts/Apply.cmm Starting program: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3/ghc/stage1-inplace/libexec/ghc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.3 /inplace-datadir/. -dynload wrapped rts/Apply.cmm Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x02e5598a 0x007bb810 in s6Yw_info () (gdb) bt #0 0x007bb810 in s6Yw_info () #1 0x007b8f64 in rYk_info () #2 0x00d6e624 in scheduleWaitThread () #3 0x00d1cd14 in real_main () #4 0x00d1ce1c in main () (gdb) }}} -- Ticket URL: <http://trac.macports.org/ticket/15142#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS