Summary: | sys-devel/crossdev fails to compile glibc with default compiler set to clang | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexey <alexey+gentoo> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | chewi, embedded, kripton, telans |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=723478 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch |
Description
Alexey
2017-01-15 01:01:44 UTC
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 This still doesn't work but for a different reason now. The glibc ebuild has code to force gcc. It is currently gated by an is_crosscompile condition. I think removing this should work, except that strip-unsupported-flags gets very confused and lets all the flags through, which usually breaks the build. |