Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697594

Summary: dev-qt/qtwebengine-5.12.5 does not respect *FLAGS
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qtwebengine-5.12.5:20191012-140844.log.xz

Description Alessandro Barbieri 2019-10-13 01:22:09 UTC
Not only it ignores the *FLAGS for the majority of the sources but add a whole set of CXXFLAGS that needs to be filtered

-fno-strict-aliasing
--param=ssp-buffer-size=4
-fstack-protector
-funwind-tables
-fPIC
-pipe
-pthread
-m64
-Wall
-U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized
-Wno-deprecated-declarations
-fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else
-Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter
-O2
-fno-ident
-fdata-sections
-ffunction-sections
-fno-omit-frame-pointer
-g0
-fvisibility=hidden

-O2 and -g0 must be removed, -U_FORTIFY_SOURCE, -D_FORTIFY_SOURCE=2, --param=ssp-buffer-size=4 and -fstack-protector are redundant in the hardened profile
Comment 1 Alessandro Barbieri 2019-10-13 01:23:52 UTC
Created attachment 592606 [details]
qtwebengine-5.12.5:20191012-140844.log.xz

buildlog
Comment 2 Andreas Sturmlechner gentoo-dev 2019-10-13 13:59:11 UTC

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