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

stdenv: lib{gmp,mpc,mpfr,isl}-stage3: isPower64 -> no -fstack-protector #181802

Closed
wants to merge 1 commit into from
Closed

stdenv: lib{gmp,mpc,mpfr,isl}-stage3: isPower64 -> no -fstack-protector #181802

wants to merge 1 commit into from

Commits on Jul 17, 2022

  1. stdenv: lib{gmp,mpc,mpfr,isl}-stage3: isPower64 -> no -fstack-protector

    Stage3 of the stdenv bootstrap attempts to link libraries compiled for
    static linkage (i.e. `*.a`) into a dynamically-linked executable.  On
    powerpc64le this is not supported if the library compiled for static
    linkage was built using `-fstack-protector`, because that option
    requires `-lssp` for dynamically-linked executables but uses a
    different library (`-lssp_nonshared`) for statically-linked
    executables.
    
    As a workaround, we simply disable `-fstack-protector` in the
    statically-linked `lib{gmp,mpc,mpfr,isl}-stage3` derivations.  These
    are not visible from outside of `stdenv`.
    Adam Joseph committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    0d0f907 View commit details
    Browse the repository at this point in the history