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-3.8.2.1-r2 does not respect CFLAGS)
Summary: CFLAGS check false positives with -flto (was: app-accessibility/edbrowse-3.8....
Status: RESOLVED DUPLICATE of bug 502950
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags lto
  Show dependency tree
 
Reported: 2022-06-24 08:23 UTC by Agostino Sarubbo
Modified: 2024-03-11 21:08 UTC (History)
3 users (show)

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


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

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
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
Comment 3 Eli Schwartz 2024-03-11 21:08:14 UTC

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