Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464640 - sys-devel/gcc-4.8.0: cross-compiling patch (67_all_gcc-poison-system-directories.patch) missing diagnostic-core.h include
Summary: sys-devel/gcc-4.8.0: cross-compiling patch (67_all_gcc-poison-system-director...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 19:46 UTC by Tim Northover
Modified: 2013-04-05 17:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Northover 2013-04-04 19:46:47 UTC
While compiling an aarch64-none-linux-gnu toolchain using crossdev, gcc 4.8.0 failed to emerge (I assume it would with other triples, too). The issue appears to lie with a Gentoo patch which adds a call to "warning" in gcc/incpath.c.

This appears to be #ifdefed out on a native build, but triggers an error because "warning" hasn't been declared on a cross-build. If the patch is still relevant (looks likely), this issue can be solved by #includeing "diagnostic-core.h".

Reproducible: Always