ghc-7.8.1 RC2 ppc dyn linked executable segfaults

A test build on ppc completed but then the dyn executable sanity check failed (not yet sure why): http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1707922
The ppc64 build looks okay, but ppc seems to have a problem with executables dyn linked to Haskell libs segfaulting. Is anyone able to reproduce this on Linux/ppc (32bit)? Debian? I don't have access yet to a ppc box to investigate further but I see the segfault for "ghc -dynamic Hello.hs; ./Hello" on ppc in the fedora buildsys. http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/1459/1711459/build.log&offset=-4000("ghc -v -dynamic Foo.hs") [1] I guess I should file a bug anyway. I sent a heads-up mail to Gustavo too. Jens [1] full log is http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/1459/1711459/build.log[4.9MB]

On 18 March 2014 19:02, Jens Petersen
The ppc64 build looks okay, but ppc seems to have a problem with executables dyn linked to Haskell libs segfaulting. :
I don't have access yet to a ppc box to investigate further but I see the
segfault for "ghc -dynamic Hello.hs; ./Hello" on ppc in the fedora buildsys.
http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/1459/1711459/build.log&offset=-4000
Sorry correct link is: http://ppc.koji.fedoraproject.org/koji/getfile?taskID=1711459&name=build.log&offset=-4000 I filed https://ghc.haskell.org/trac/ghc/ticket/8909 for this issue. Jens

Hi Jens,
It took me a while to set up my build on openSUSE.
I see the same issue on ppc: All dyn programs segfault.
In addition: Dynamic does not seem to compile (assembler errors)
with binutils 2.23.
My builds are here:
https://build.opensuse.org/package/show/home:ptrommler/ghc
and testsuite results:
https://build.opensuse.org/package/show/home:ptrommler/ghc-testsuite
Speaking of ppc64: Do you see ticket #8849 too?
Peter
On 19.03.2014, at 06:34, Jens Petersen
On 18 March 2014 19:02, Jens Petersen
wrote: The ppc64 build looks okay, but ppc seems to have a problem with executables dyn linked to Haskell libs segfaulting. : I don't have access yet to a ppc box to investigate further but I see the segfault for "ghc -dynamic Hello.hs; ./Hello" on ppc in the fedora buildsys. http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/1459/1711459/build.log&offset=-4000
Sorry correct link is: http://ppc.koji.fedoraproject.org/koji/getfile?taskID=1711459&name=build.log&offset=-4000
I filed https://ghc.haskell.org/trac/ghc/ticket/8909 for this issue.
Jens
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

On 20 March 2014 20:27, Peter Trommler
I see the same issue on ppc: All dyn programs segfault. In addition: Dynamic does not seem to compile (assembler errors) with binutils 2.23.
Thanks for reproducing. Fedora 21 devel has binutils-2.24.
Speaking of ppc64: Do you see ticket #8849 too?
I see: I don't have access to ppc hardware currently but I can try to reproduce later. Does it show up in the testsuite results too? I can generate those easily with another rebuild. Thanks, Jens
I filed https://ghc.haskell.org/trac/ghc/ticket/8909 for this issue.

On 23.03.2014, at 11:44, Jens Petersen
Speaking of ppc64: Do you see ticket #8849 too?
I see: I don't have access to ppc hardware currently
Likewise, I get my results from the OBS service.
but I can try to reproduce later.
Does it show up in the testsuite results too? I can generate those easily with another rebuild. Yes, in fact I noticed the error in test arith005 and extracted the small test case for #8849.
In #8819 I reported test failures in an unregisterised compiler produced on my x86_64 machine using an unregisterised ghc. Almost all arith tests including arith005 fail and I suspect it might be a data layout issue. I wonder if you can reproduce #8819 on ppc64. #8849 makes me think yes. I’ll see if I can fix my ppc64 build on OBS and report back. Peter
participants (2)
-
Jens Petersen
-
Peter Trommler