I have CC="clang" CXX="clang++" in /etc/portage/make.conf When trying to compile cross-armv7a-hardfloat-linux-gnueabi/glibc-2.23-r3:2.2, it tries to use clang instead of armv7a-hardfloat-linux-gnueabi-gcc, and fails with error "too old compiler". Reproducible: Always Steps to Reproduce: 1. Set clang as default compiler in make.conf 2. emerge cross-armv7a-hardfloat-linux-gnueabi/glibc 3. Actual Results: clang is used, and ./configure fails Expected Results: armv7a-hardfloat-linux-gnueabi-gcc should be used, because crossdev was initialialized with gcc, not with clang Attaching the patch which I think should fix this. I managed to compile glibc only when I added this to /etc/portage/env/cross-armv7a-hardfloat-linux-gnueabi/glibc.conf
Created attachment 460084 [details, diff] patch
Thanks for the patch, fixes for me.
(In reply to Alexey from comment #1) > Created attachment 460084 [details, diff] [details, diff] > patch For crossdev to emerge mingw64-runtime correctly, `echo "CPP=''" >> "${output}"` must also be present for the __MINGW__ check in the mingw64-runtime ebuild