Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582298 - sys-devel/crossdev should add USE='-sanitize' for GCC in the AVR target
Summary: sys-devel/crossdev should add USE='-sanitize' for GCC in the AVR target
Status: RESOLVED DUPLICATE of bug 525910
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 585220 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-06 17:37 UTC by Austin S. Hemmelgarn
Modified: 2016-06-07 04:50 UTC (History)
1 user (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 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. ***