• Ben Gamari's avatar
    config.mk.in: Disable stripping by default on ARM · 353e97a3
    Ben Gamari authored
    The Cortex A8 hardware apparently has a bug which ld.gold will try to
    correct; however in order to do so it must have unstripped executables
    lest we see warnings of the form (see #10376, #10464),
        /usr/bin/ld.gold: warning: cannot scan executable section 1 of ...
        for Cortex-A8 erratum because it has no mapping symbols.
    Consequently we disabling stripping by default on this architecture.
    A bit more discussion about this issue can be found in this [Android
    Test Plan: Try validating on ARM
    Reviewers: erikd, austin, thomie
    Reviewed By: austin, thomie
    Differential Revision: https://phabricator.haskell.org/D1599
    GHC Trac Issues: #10376, #10464
config.mk.in 29.2 KB