Undefined references in HEAD object files
$ uname -a
Linux default-centos-64.vagrantup.com 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
When I try to bootstrap cabal-install using GHC HEAD:
Checking installed packages for ghc-7.7.20130823...
Cabal is already installed and the version is ok.
transformers is already installed and the version is ok.
mtl-2.1.2 will be downloaded and installed.
deepseq is already installed and the version is ok.
text-0.11.2.3 will be downloaded and installed.
parsec-3.1.3 will be downloaded and installed.
network-2.4.1.0 will be downloaded and installed.
time is already installed and the version is ok.
HTTP-4000.2.5 will be downloaded and installed.
zlib-0.5.4.0 will be downloaded and installed.
random-1.0.1.1 will be downloaded and installed.
stm-2.4.2 will be downloaded and installed.
Downloading mtl-2.1.2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
100 13723 100 13723 0 0 2432 0 0:00:05 0:00:05 --:--:-- 40964
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `cbw5_info':
(.text+0x83f): undefined reference to `r9F5_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `sapv_info':
(.text+0x1623): undefined reference to `r9F5_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `cbD6_info':
(.text+0x17a9): undefined reference to `r9F5_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `cbHC_info':
(.text+0x24ff): undefined reference to `r9F5_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `cbN4_info':
(.text+0x3257): undefined reference to `r9F5_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o):(.text+0x3faf): more undefined references to `r9F5_info' follow
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `ccEX_info':
(.text+0xb63c): undefined reference to `r9F3_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `ScJo_srt':
(.data+0x38): undefined reference to `r9F5_closure'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Simple__63.o): In function `ScJo_srt':
(.data+0x180): undefined reference to `r9F3_closure'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `s3WN_info':
(.text+0x8a): undefined reference to `r3Eg_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `c5NF_info':
(.text+0x118): undefined reference to `r3Eh_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `s3XR_info':
(.text+0xc35): undefined reference to `r3Ei_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `s3YA_info':
(.text+0xefe): undefined reference to `r3E8_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `s3Z6_info':
(.text+0x100e): undefined reference to `r3E8_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `s3Zb_info':
(.text+0x1095): undefined reference to `r3Ei_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `c5X3_info':
(.text+0x16d6): undefined reference to `r3E8_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `c5Xj_info':
(.text+0x19d3): undefined reference to `r3E8_info'
/usr/local/lib/ghc-7.7.20130823/Cabal-1.17.0/libHSCabal-1.17.0.a(Command__114.o): In function `S60p_srt':
(.data+0x18): undefined reference to `r3E8_closure'
(repeats ad nauseam)
collect2: ld returned 1 exit status
Error during cabal-install bootstrap:
Compiling the Setup script failed
The full output can be found at https://gist.github.com/anonymous/e30cda2ca16f1e90e13e/raw/eb9b2d10db44d0288ce79fd2c5955455c02926d9/cabal.txt
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |