Bug#763078: ghc no longer builds working executables on armel, armhf
Joey Hess
joeyh at debian.org
Sat Sep 27 17:46:28 UTC 2014
Package: ghc, llvm
Version: 7.6.3-16
Severity: serious
It seems that ./Setup configure segfaults:
(sid_armhf-dchroot)joeyh at harris:/tmp/git-annex-5.20140926$ ./dist/setup/setup configure
Segmentation fault
https://buildd.debian.org/status/fetch.php?pkg=git-annex&arch=armel&ver=5.20140926&stamp=1411825516
This segfault is reproducible (happened on armel and armhs buildds and then I
reproduced it on harris.debian.org). git-annex built ok last week.
Even worse, main = print "hello" is miscompiled on armhf:
(sid_armhf-dchroot)joeyh at harris:/tmp$ ghc --make test
[1 of 1] Compiling Main ( test.hs, test.o )
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
Linking test ...
./test
(sid_armhf-dchroot)joeyh at harris:/tmp$ ./test
Illegal instruction
And the same simple program no longer works on armel either:
(sid_armel-dchroot)joeyh at abel:~/tmp$ ghc --make test
[1 of 1] Compiling Main ( test.hs, test.o )
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
Linking test ...
(sid_armel-dchroot)joeyh at abel:~/tmp$ ./test
test: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
(sid_armel-dchroot)joeyh at abel:~/tmp$ echo $?
1
I think that this was cuased by the introduction of llvm-3.5, while
ghc etc was built using llvm-3.4.
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20140927/f207eacb/attachment.sig>
More information about the Pkg-llvm-team
mailing list