[Bug 995419] New: ghc throws an illegal instruction error when compiling on nvidia tegra2
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=995419
Bug ID: 995419
Summary: ghc throws an illegal instruction error when compiling
on nvidia tegra2
Product: Fedora
Version: rawhide
Component: ghc
Assignee: petersen(a)redhat.com
Reporter: hdegoede(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: bos(a)serpentine.com,
haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
While doing a testbuild of hedgewars on my trimslice (arm system with nVidia
Tegra2 soc), I got the following error:
/bin/sh: line 1: 1076 Illegal instruction /usr/bin/ghc --make
/root/rpmbuild/BUILD/hedgewars-src-0.9.18/gameServer/hedgewars-server.hs
-i/root/rpmbuild/BUILD/hedgewars-src-0.9.18/gameServer -o
/root/rpmbuild/BUILD/hedgewars-src-0.9.18/bin/hedgewars-server -odir
/root/rpmbuild/BUILD/hedgewars-src-0.9.18/gameServer -hidir
/root/rpmbuild/BUILD/hedgewars-src-0.9.18/gameServer -O2
This is with F-20 ghc, but F-19 glibc due to bug 985342, after fixing the build
issue I was trying to debug "blind" (guessing the cause and firing of a build)
the build did succeed on the buildsystem, so the likely cause for this is the
ghc binaries containing (unconditionally executed) neon code.
A good place to start fixing this is to check the compile flags for ghc, end
ensure they don't enable neon. If that is not the case it may be interesting to
wait and see how bug 985342 plays out, as that is a similar issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5l3dpMjXmW&a=cc_unsubscribe
8 years, 10 months