Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636986 - flag-o-matic.eclass: strip-flags should allow -gz starting with gcc 5
Summary: flag-o-matic.eclass: strip-flags should allow -gz starting with gcc 5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-09 18:31 UTC by Andrei Slavoiu
Modified: 2017-12-15 21:48 UTC (History)
0 users

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 Andrei Slavoiu 2017-11-09 18:31:22 UTC
GCC 5 added the -gz option for compressing the debug section of generated binaries and should be safe as it only touches the debug sections. Currently this happens:

strip-flags: CFLAGS: changed '-march=native -g3 -gdwarf-4 -O2 -pipe -gz' to '-march=native -g3 -gdwarf-4 -O2 -pipe'
strip-flags: CXXFLAGS: changed '-march=native -g3 -gdwarf-4 -O2 -pipe -gz' to '-march=native -g3 -gdwarf-4 -O2 -pipe'
Comment 1 Larry the Git Cow gentoo-dev 2017-12-15 21:48:35 UTC
The bug has been closed via the following commit(s):

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

commit cbd036828459a4bf8a147d1f9c6caa698da8e814
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2017-12-15 21:47:31 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2017-12-15 21:48:26 +0000

    flag-o-matic.eclass: Allow -gz for compressed debug sections, bug 636986
    
    Closes: https://bugs.gentoo.org/636986

 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)