Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    222eb83e
    configure: Check CC_STAGE0 for --target support · 222eb83e
    Ben Gamari authored
    We previously only checked the stage 1/2 compiler
    for --target support. We got away with this for quite a while but it
    eventually caught up with us in #21579, where `bytestring`'s new NEON
    implementation was unbuildable on Darwin due to Rosetta's seemingly
    random logic for determining which executable image to execute. This
    lead to a confusing failure to build `bytestring`'s cbits, when `clang`
    tried to compile NEON builtins while targetting x86-64.
    
    Fix this by checking CC_STAGE0 for --target support.
    
    Fixes #21579.
    222eb83e
    History
    configure: Check CC_STAGE0 for --target support
    Ben Gamari authored
    We previously only checked the stage 1/2 compiler
    for --target support. We got away with this for quite a while but it
    eventually caught up with us in #21579, where `bytestring`'s new NEON
    implementation was unbuildable on Darwin due to Rosetta's seemingly
    random logic for determining which executable image to execute. This
    lead to a confusing failure to build `bytestring`'s cbits, when `clang`
    tried to compile NEON builtins while targetting x86-64.
    
    Fix this by checking CC_STAGE0 for --target support.
    
    Fixes #21579.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.