Skip to content

fix: include bound glibc in compiler environment - #485

Open
ZheFeng7110 wants to merge 6 commits into
mcpp-community:mainfrom
ZheFeng7110:fix/gcc-private-glibc-path
Open

fix: include bound glibc in compiler environment#485
ZheFeng7110 wants to merge 6 commits into
mcpp-community:mainfrom
ZheFeng7110:fix/gcc-private-glibc-path

Conversation

@ZheFeng7110

Copy link
Copy Markdown
Member

Summary

  • add the exact glibc@<version> payload library directory to Linux compiler child environments
  • keep runtime selection explicit; do not scan installed glibc versions
  • cover the initial GCC --version probe failing with exit 127 when the directory is absent

Closes #484

Test plan

  • git diff --check
  • managed GCC 16.1.0 --version succeeds with the bound private glibc plus gcc-runtime directories
  • managed GCC 16.1.0 compiles a C++23 source with the bound private glibc, gcc-runtime, and managed binutils
  • mcpp test (full self-host build was terminated by an OOM kill while compiling cli.m.cppm)
  • CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: private glibc ld.so.cache is not relocated, so gcc probe fails with /etc/ld.so.preload

1 participant