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

linux/bootstrap-tools: move libstdc++ out of default library search path #209054

Merged
merged 1 commit into from
Jan 12, 2023

Commits on Jan 4, 2023

  1. linux/bootstrap-tools: move libstdc++ out of default library search path

    This change allows building new gcc during bootstrap without fear of
    pulling in outdated libstdc++.so after g++ switched from bootstrapTools
    to freshly built g++.
    
    Noticed when tried to add early bootstrap stage to rebuild `gcc` before
    `glibc` is fully untangled from `bootstrapTools` as a failure to built
    `binutils`:
    
        ld: dwp.o: in function `__gnu_cxx::new_allocator<gold::Dwp_output_file::Contribution>::allocate(unsigned long, void const*)':
        /nix/store/...-gcc-11.3.0/include/c++/11.3.0/ext/new_allocator.h:116: undefined reference to `std::__throw_bad_array_new_length()'
    
    The change survives existing bootstrap and unblockes early `gcc` bootstrap.
    trofi committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    b470a6b View commit details
    Browse the repository at this point in the history