[commit: ghc] master: configure: Coerce gcc to use $LD instead of system default (625143f)

git at git.haskell.org git at git.haskell.org
Fri Jun 30 00:18:38 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/625143f473b58d770d2515b91c2566b52d35a4c3/ghc

>---------------------------------------------------------------

commit 625143f473b58d770d2515b91c2566b52d35a4c3
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Jun 29 19:38:51 2017 -0400

    configure: Coerce gcc to use $LD instead of system default
    
    The configure script will now try to coerce gcc to use the linker
    pointed to by $LD instead of the system default (typically bfd ld).
    Moreover, we now check for `ld.gold` and `ld.lld` before trying `ld`.
    
    The previous behavior can be reverted to by using the new
    --disable-ld-override flag.
    
    On my machine gold seems to trigger an apparent infelicity in
    constructor behavior, causing T5435_asm to fail. I've opened #13883 to
    record this issue and have accepted the questionable constructor
    ordering for the time being.
    
    Test Plan: Validate with `config_args='--enable-ld-override'`
    
    Reviewers: austin, hvr, simonmar
    
    Subscribers: duog, nh2, rwbarton, thomie, erikd, snowleopard
    
    GHC Trac Issues: #13541, #13810, #13883
    
    Differential Revision: https://phabricator.haskell.org/D3449


>---------------------------------------------------------------

625143f473b58d770d2515b91c2566b52d35a4c3
 aclocal.m4                | 106 ++++++++++++++++++++++++++--------------------
 configure.ac              |   9 ++--
 distrib/configure.ac.in   |  25 +++++------
 testsuite/tests/rts/all.T |   4 ++
 4 files changed, 82 insertions(+), 62 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 625143f473b58d770d2515b91c2566b52d35a4c3


More information about the ghc-commits mailing list