Summary: | sys-devel/{gcc,binutils}: make cross-compiling poison logic kick in based on --sysroot settings | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 627914 |
Description
SpanKY
2015-12-15 05:52:52 UTC
I guess it's specifically about the https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/toolchain.eclass#n1018: ### Cross-compiler options if is_crosscompile ; then # Enable build warnings by default with cross-compilers when system # paths are included (e.g. via -I flags). confgcc+=( --enable-poison-system-directories ) Gentoo stopped applying gcc-poison-system-directories.patch after gcc-5.5.0. openembedded has a refreshed version of the patch: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc-9.2/0002-gcc-poison-system-directories.patch Does not looks like the patch ever meant to be applied upstream. I suggest upstreaming some form of this patch instead and make enhancements there. |