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

Bug 853979

Summary: CFLAGS check false positives with -flto (was: app-accessibility/edbrowse-3.8.2.1-r2 does not respect CFLAGS)
Product: Portage Development Reporter: Agostino Sarubbo <ago>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: sam, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-24 08:23:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-accessibility/edbrowse-3.8.2.1-r2 does not respect CFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-24 08:23:21 UTC
Created attachment 787316 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-24 09:35:41 UTC
(In reply to Agostino Sarubbo from comment #0)
> Discovered on: amd64 (internal ref: tinderbox)

internal ref is: lto_tinderbox