Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936315 - media-libs/mesa-24.1.3 QA Notice: Files built without respecting CFLAGS have been detected
Summary: media-libs/mesa-24.1.3 QA Notice: Files built without respecting CFLAGS have...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-19 19:36 UTC by Arniii
Modified: 2025-01-04 19:17 UTC (History)
3 users (show)

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


Attachments
in lzip : in tarball : emerge--info emerge-pqv /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/** (mesa.tar.lz,268.45 KB, application/x-lzip)
2024-07-19 19:36 UTC, Arniii
Details
no lto, test fail: in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/** (mesa_no_lto_test_fail.tar.lz,267.69 KB, application/x-lzip)
2024-07-21 23:45 UTC, Arniii
Details
lto, qa notice: in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/** (mesa_lto_qanotice.tar.lz,269.47 KB, application/x-lzip)
2024-07-21 23:45 UTC, Arniii
Details
no test, no lto, no qa notice : in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/** (mesa_no_tests_no_lto.tar.lz,252.03 KB, application/x-lzip)
2024-07-21 23:46 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-07-19 19:36:39 UTC
Created attachment 898005 [details]
in lzip : in tarball : emerge--info emerge-pqv /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/**

* Messages for package media-libs/mesa-24.1.3:

 * Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm
 * detected! This can cause problems. For details, see bug 459306.
 * QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib/gallium-pipe/pipe_i915.so
 * /usr/lib64/gallium-pipe/pipe_i915.so
Comment 1 Eli Schwartz gentoo-dev 2024-07-21 07:32:48 UTC
[2094/2257] x86_64-pc-linux-gnu-gcc [...] -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ggdb3 -frecord-gcc-switches -fPIC [...] -o src/gallium/targets/pipe-loader/pipe_i915.so.p/pipe_i915.c.o

[2116/2257] x86_64-pc-linux-gnu-g++  -o src/gallium/targets/pipe-loader/pipe_i915.so src/gallium/targets/pipe-loader/pipe_i915.so.p/pipe_i915.c.o -flto -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,pipe_i915.so -O3 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ggdb3 -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 [...]


Seems pretty clear FLAGS are being respected. No clue why they are being misdetected for you.
Comment 2 Kostadin Shishmanov 2024-07-21 18:14:30 UTC
Might be a false positive from LTO. Could you try a build without -flto=auto and see if it reports the same thing?
Comment 3 Arniii 2024-07-21 23:44:15 UTC
(In reply to Kostadin Shishmanov from comment #2)
> Might be a false positive from LTO. Could you try a build without -flto=auto
> and see if it reports the same thing?

So, I've done some additional attempts.

1. With tests, without lto: I got test fail like in https://bugs.gentoo.org/823774
2. With tests, with lto: tests passed, but still QA Notice
3. Without tests and without lto: no QA Notice. 

I'll attach logs for every of the new attempts.
Comment 4 Arniii 2024-07-21 23:45:25 UTC
Created attachment 898089 [details]
no lto, test fail: in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/**
Comment 5 Arniii 2024-07-21 23:45:53 UTC
Created attachment 898090 [details]
lto, qa notice: in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/**
Comment 6 Arniii 2024-07-21 23:46:31 UTC
Created attachment 898091 [details]
no test, no lto, no qa notice : in lzip : in tarball: emerge_--info.txt emerge_-avtqb1_mesa.txt /var/tmp/portage/media-libs/mesa-24.1.3/temp/** /etc/portage/**
Comment 7 Matt Turner gentoo-dev 2025-01-04 19:17:54 UTC
Still a problem with current versions?

I feel like this must be some sort of local configuration problem.