[GHC] #10349: ghc-7.10.1.20150414 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long)

#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

#10349: ghc-7.10.1.20150414 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long) ----------------------------------------+---------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Build System | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: ----------------------------------------+---------------------------------- Comment (by juhpetersen): ld.gold supports on aarch64 needs the patches from D856 and D858. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10349#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10349: ghc-7.10 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long) ----------------------------------------+---------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Build System | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: ----------------------------------------+---------------------------------- Comment (by juhpetersen): (Also happens with 7.10.1 patched for ld.gold.) As Erikd pointed out this is really a toolchain bug. Patched 7.8.4 seems unaffected. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10349#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10349: ghc-7.10 fails to configure on aarch64 with ld.gold: cannot compute sizeof (long long) ----------------------------------------+---------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Build System | Version: 7.10.1 Resolution: fixed | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: ----------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: This should be fixed, since Phab:D856 and Phab:D858 were both merged to `ghc-7.10`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10349#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC