Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Automatically set USE_BINARYBUILDER_CSL=0 when local CSL is new #41645

Merged
merged 1 commit into from
Jul 22, 2021

Commits on Jul 21, 2021

  1. [build] Automatically set USE_BINARYBUILDER_CSL=0 when local CSL is…

    … new
    
    We ship our own compiler support libraries to ensure a minimum level of
    support for BB-built libraries, however certain distros provide very
    bleeding-edge compilers.  This can be a problem if we download an
    _older_ `libstdc++.so` and forcibly link against that when launching
    Julia, as when Julia itself is built with the local `g++`, it may use
    symbols that don't exist in the BB-sourced `libstdc++.so`.
    
    To address this, we default to not using BB-sourced CSLs if the
    `libstdc++.so` that the native compiler would use contains a symbol that
    our BB-sourced CSLs do not have.  We use the monotonically-climbing
    `GLIBCXX_3.4.XX` version symbols for this purpose; encoding the "next"
    version number within `deps/csl.mk`, and triggering the BB-avoidance if
    that version exists within the system-provided `libstdc++.so`.
    staticfloat committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    c2704f8 View commit details
    Browse the repository at this point in the history