[GHC] #10349: ghc-7.10.1.20150414 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long)
GHC
ghc-devs at haskell.org
Fri Apr 24 07:57:18 UTC 2015
#10349: ghc-7.10.1.20150414 fails to configure on aarch64 with ld.gold: cannot
compute sizeof (long long)
-------------------------------------+-------------------------------------
Reporter: | Owner:
juhpetersen | Status: new
Type: bug | Milestone: 7.10.2
Priority: normal | Version: 7.10.1
Component: Build | Operating System: Linux
System | Type of failure: Building GHC
Keywords: | failed
Architecture: aarch64 | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
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
$
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10349>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list