Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617610 - arm*-linux-uclibceabi targets fail to build with =sys-devel/gcc-5.4.0 due to lack of sanitize support
Summary: arm*-linux-uclibceabi targets fail to build with =sys-devel/gcc-5.4.0 due to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-05 22:32 UTC by Phil Tooley
Modified: 2018-01-20 14:42 UTC (History)
1 user (show)

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


Attachments
crossdev_no_sanitize_uclibc-arm.patch (crossdev_no_sanitize_uclibc-arm.patch,689 bytes, patch)
2017-05-05 22:32 UTC, Phil Tooley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Tooley 2017-05-05 22:32:01 UTC
libsanitize support in gcc requires features (wordexp.h netrom.h and possibly more) that are not available in uclibc on arm (and possibly other arches). Crossdev should therefore add -sanitize to the package.use/${tuple} that is generated.

I am not 100% sure how to correctly integrate this into the crossdev target parsing logic.  The attached patch details how I have achieved this for myself.
Comment 1 Phil Tooley 2017-05-05 22:32:37 UTC
Created attachment 471766 [details, diff]
crossdev_no_sanitize_uclibc-arm.patch
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-01-20 14:42:11 UTC
Thanks for the report!

Hopefully fixed by USE=sanitize whitelist on glibc-only targets: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=eedf77d75e5c31e21ec249ba7d4341c32e3ae84f