Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525174 - sys-devel/gcc - --disable-libsanitizer if sys-libs/uclibc is without UCLIBC_HAS_WORDEXP
Summary: sys-devel/gcc - --disable-libsanitizer if sys-libs/uclibc is without UCLIBC_H...
Status: RESOLVED DUPLICATE of bug 504200
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2014-10-12 16:41 UTC by Lukas Lihotzki
Modified: 2014-10-19 20:48 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Lihotzki 2014-10-12 16:41:01 UTC
libsanitizer requires wordexp. Therefore gcc has to be configured with --disable-libsanitizer if uclibc is configured without UCLIBC_HAS_WORDEXP.
By default, UCLIBC_HAS_WORDEXP is disabled.

Reproducible: Always

As a workaround, you can use package.env to disable libsanitizer for all uclibc toolchains:
cross-*-uclibc*/gcc no-wordexp-gcc.conf

Comment 1 SpanKY gentoo-dev 2014-10-19 05:43:22 UTC
i've made the sanitizer library a USE=sanitize flag.  you can disable that when your C library setup lacks functionality it needs.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 20:48:00 UTC
I don't think it makes a good default:

+       tc_version_is_at_least 4.8 && IUSE_DEF+=( sanitize )

*** This bug has been marked as a duplicate of bug 504200 ***