Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582298

Summary: sys-devel/crossdev should add USE='-sanitize' for GCC in the AVR target
Product: Gentoo Linux Reporter: Austin S. Hemmelgarn <ahferroin7>
Component: [OLD] DevelopmentAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Austin S. Hemmelgarn 2016-05-06 17:37:33 UTC
In trying to build an AVR toolchain recently, I discovered that crossdev does not modify the 'sanitize' USE flag at all.  This makes sense when building for a regular target.  However,it causes at least the AVR build of GCC to fail during the second stage.

In the short term, I've worked around this by adding -sanitize to the gcc line in /etc/portage/package.use/cross-avr and marking the file immutable, and everything is building fine.  Ideally, such a hack shouldn't be necessary.
Comment 1 Felix Janda 2016-05-06 18:43:39 UTC
This is a special case of the bug 370063.
(It is recommended to work around by emerging with USE=-sanitize.)
Comment 2 SpanKY gentoo-dev 2016-05-12 17:15:01 UTC

*** This bug has been marked as a duplicate of bug 525910 ***
Comment 3 SpanKY gentoo-dev 2016-06-07 04:50:56 UTC
*** Bug 585220 has been marked as a duplicate of this bug. ***