[GHC] #12759: Latest Debian GCC breaks GHC
GHC
ghc-devs at haskell.org
Mon May 29 20:10:48 UTC 2017
#12759: Latest Debian GCC breaks GHC
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone: 8.0.2
Component: Compiler | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Linux | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: #12755, #11834, | Differential Rev(s): Phab:D2707
#9007 |
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by msuchanek):
This is still broken in 8.0.2
[ 43s] + /usr/bin/xz -dc
/home/abuild/rpmbuild/SOURCES/ghc-8.0.2-src.tar.xz
...
[ 48s] checking whether GCC supports -no-pie... yes
...
[ 1985s] /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-
linux/bin/ld:
/home/abuild/rpmbuild/BUILD/ghc-8.0.2/rts/dist/build/libHSrts.a(AutoApply.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
[ 1985s] /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-
linux/bin/ld: final link failed: Nonrepresentable section on output
[ 1985s] collect2: error: ld returned 1 exit status
[ 1985s] `gcc' failed in phase `Linker'. (Exit code: 1)
[ 1985s] make[1]: *** [utils/ghc-cabal/ghc.mk:89: utils/ghc-cabal/dist-
install/build/tmp/ghc-cabal] Error 1
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12759#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list