Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685358 - Support building sys-devel/gcc-4.9.4 with sys-libs/glibc-2.28
Summary: Support building sys-devel/gcc-4.9.4 with sys-libs/glibc-2.28
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-08 13:19 UTC by Hans F. Nordhaug
Modified: 2019-06-01 10:55 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 Hans F. Nordhaug 2019-05-08 13:19:02 UTC
It seems Glibc 2.28 removed sys/ustat.h and hence libsanitize in GCC 4.9.4 fails compiling. If I disable the sanitize USE flag, GCC 4.9.4 builds with Glibc 2.28.

There is a patch in the buildroot project that we might use - see https://github.com/buildroot/buildroot/commit/6b33b7ba517bee4d88af9b1827201df923b4a600 I didn't have time to test now.

I know that GCC 4.9.4 is old, but until it is removed, it should build with the default use flags IMHO.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-08 20:41:40 UTC
Backporting the change makes sense if simple. I suggest using USE=-sanitizer meanwhile.