Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817836 - >=sys-devel/glibc-2.34 should not filter --enable-stack-protector=all (upstream fix)
Summary: >=sys-devel/glibc-2.34 should not filter --enable-stack-protector=all (upstre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-12 09:42 UTC by cilly
Modified: 2025-01-28 07:22 UTC (History)
3 users (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 cilly 2021-10-12 09:42:06 UTC
The bug with failed tests is resolved upstream since March 2020, there is no need to filter out the flag --enable-stack-protector=all

At the moment, you need to do the following:

/etc/portage/env/sys-libs/glibc 
# make sure to use ssp all
EXTRA_ECONF="--enable-stack-protector=all"

Please, make sure the flag is not filtered, i.e. in flag-o-matic.eclass

Upstream fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=25680

Thanks to Dave for the patch!
Comment 1 cilly 2021-10-12 10:47:49 UTC
Sorry, since March 2021 is correct.
Comment 2 Larry the Git Cow gentoo-dev 2025-01-28 07:22:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b309ab42ee15a09e4a0874161a64ca04102cd5

commit d9b309ab42ee15a09e4a0874161a64ca04102cd5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-28 07:17:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-28 07:17:35 +0000

    sys-libs/glibc: drop -fstack-protector* filtering
    
    Nick fixed this upstream in PR7065 quite some time ago. Let's try dropping
    it from 9999 and go from there.
    
    Bug: https://sourceware.org/PR7065
    Closes: https://bugs.gentoo.org/817836
    Closes: https://bugs.gentoo.org/832738
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 4 ----
 1 file changed, 4 deletions(-)