https://bugzilla.redhat.com/show_bug.cgi?id=977652
Bug ID: 977652
Summary: ghc fails to compile files using llvm-3.3 on ARM
Product: Fedora
Version: 19
Component: ghc
Severity: unspecified
Priority: unspecified
Assignee: petersen(a)redhat.com
Reporter: petersen(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
Description of problem:
ghc < 7.8 (unreleased) seems not to support llvm > 3.2.
Version-Release number of selected component (if applicable):
ghc-7.4.2
llvm-3.3-rc
How reproducible:
100%
Steps to Reproduce:
1. try to build a haskell package on F19 ARM with llvm-3.3pre
Actual results:
+ ghc --make -no-user-package-conf Setup
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
wrong initalizer for intrinsic global variable
[0 x i8*] undef
Broken module found, compilation aborted!
0 libLLVM-3.3.so 0xb5e4f4f8 llvm::sys::PrintStackTrace(_IO_FILE*) + 36
1 libLLVM-3.3.so 0xb5e4f2d8
2 libc.so.6 0xb595ec60 __default_sa_restorer_v2 + 0
3 libc.so.6 0xb595d854 gsignal + 52
4 libc.so.6 0xb595ee54 abort + 408
5 libLLVM-3.3.so 0xb649580c
6 libLLVM-3.3.so 0xb649c4f4
7 libLLVM-3.3.so 0xb647828c llvm::FPPassManager::doFinalization(llvm::Module&)
+ 80
8 libLLVM-3.3.so 0xb647f1b4 llvm::MPPassManager::runOnModule(llvm::Module&) +
640
9 libLLVM-3.3.so 0xb647f2f0 llvm::PassManagerImpl::run(llvm::Module&) + 152
10 opt 0x0001830c main + 2532
11 libc.so.6 0xb594728c __libc_start_main + 276
Stack dump:
0. Program arguments: opt /tmp/ghc2007_0/ghc2007_0.ll -o
/tmp/ghc2007_0/ghc2007_0.bc -mem2reg
llc: /tmp/ghc2007_0/ghc2007_0.bc: error: Could not open input file: No such
file or directory
Expected results:
No error
Additional info:
http://hackage.haskell.org/trac/ghc/ticket/7996
There seems to be a fix for this for ghc-7.8 (commit db9b63105a54),
which we can try test and backport.
--
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=Tr7NPkAlaa&a=cc_unsubscribe
https://bugzilla.redhat.com/show_bug.cgi?id=980133
Jens Petersen <petersen(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Flags| |fedora-cvs?
--- Comment #5 from Jens Petersen <petersen(a)redhat.com> ---
Thank you for the review :)
New Package SCM Request
=======================
Package Name: ghc-language-java
Short Description: Java source manipulation
Owners: petersen
Branches: f19 f18 el6
InitialCC: haskell-sig
--
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=bNrd3begmk&a=cc_unsubscribe
https://bugzilla.redhat.com/show_bug.cgi?id=980123
Jens Petersen <petersen(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |fedora-cvs?
--- Comment #5 from Jens Petersen <petersen(a)redhat.com> ---
Thanks a lot, Ricky
New Package SCM Request
=======================
Package Name: ghc-libffi
Short Description: Haskell binding to libffi
Owners: petersen
Branches: f18 f19 el6
InitialCC: haskell-sig
--
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=g88v1Q0Eno&a=cc_unsubscribe