ghc-7.10 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long)
On Fedora at least, the ghc-7.10 branch (as of yesterday) fails to configure on aarch64 when using ld.gold:
checking size of long long... configure: error: in `/builddir/build/BUILD/ghc-7.10.1.20150414':
configure: error: cannot compute sizeof (long long)
Gdb says:
(gdb) r
Starting program: /home/petersen/conftest
During startup program terminated with signal SIGKILL, Killed.
Compiling the conftest.c attached with -fuse-ld=gold causes it to crash when run.
$ gcc -o conftest conftest.c
$ ./conftest
$ gcc -o conftest -fuse-ld=gold conftest.c
$ ./conftest
Killed
$
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |