Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use gcc --sysroot in rap stage3 post glibc install
Since glibc now has non-prefixed filenames in `$EPREFIX/usr/lib64/libc.so`, it picks up non-prefixed `/lib64/libc.so.6` from stage2 gcc, unless we replace its -I, -L, and -B options by --sysroot. Then it will look at the same places as the future stage3 gcc. This avoids issues building binutils, which can't find dlopen in older `/lib64/libc.so.6`, since dlopen used to be in `libdl` instead. The whole logic no longer tests for compiler == gcc, since clang is only used for non-rap on MacOS. Closes: https://bugs.gentoo.org/895240 Signed-off-by: Bart Oldeman <[email protected]> Closes: #22 Signed-off-by: Sam James <[email protected]>
- Loading branch information