Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853979 - CFLAGS check false positives with -flto (was: app-accessibility/edbrowse- does not respect CFLAGS)
Summary: CFLAGS check false positives with -flto (was: app-accessibility/edbrowse-3.8....
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: cflags lto
  Show dependency tree
Reported: 2022-06-24 08:23 UTC by Agostino Sarubbo
Modified: 2022-06-24 09:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,64.98 KB, text/plain)
2022-06-24 08:23 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-24 08:23:19 UTC

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

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 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