[GHC] #3971: FFI callback segfaults on PPC
GHC
cvs-ghc at haskell.org
Thu Jun 17 19:00:54 EDT 2010
#3971: FFI callback segfaults on PPC
-------------------------------+--------------------------------------------
Reporter: wkahl | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Compiler (FFI) | Version: 6.12.3
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: powerpc | Failure: Runtime crash
-------------------------------+--------------------------------------------
Comment(by Mikolaj):
About -debug assert failure, I was doubly wrong: it's a segfault (illegal
memory access) while computing the assertion and it's caused by using a
leftover rts_debug library in /usr/local, from an earlier registerized
build of 6.12.3. It appears, there is no rts_debug in my unregisterized
build, since after cleaning /usr/local and reinstalling I see when
compiling with "-debug -v":
{{{
[...]-lHSpretty-1.0.1.1 -lHSdirectory-1.0.1.1 -lHSunix-2.4.0.2 -lrt -lutil
-ldl -lHSold-time-1.0.0.5 -lHSold-locale-1.0.0.2 -lHSfilepath-1.1.0.4
-lHScontainers-0.3.0.0 -lHSarray-0.3.0.1 -lHSbase-4.2.0.2 -lHSinteger-
gmp-0.2.0.1 -lgmp -lHSghc-prim-0.2.0.0 -lHSrts_debug -lm -lrt -ldl -lHSffi
-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed /usr/lib/gcc/powerpc-linux-gnu/4.4.3/crtend.o /usr/lib/gcc
/powerpc-linux-gnu/4.4.3/../../../../lib/crtn.o
/usr/bin/ld: cannot find -lHSrts_debug
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3971#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list