https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/rocBLAS-4.3.0 does not respect CFLAGS/LDFLAGS. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Created attachment 736312 [details] build2.log.xz build.log
Similar with https://bugs.gentoo.org/795825, the code object files that cause QA concerns are offloaded GPU kernels, which is a new type of ELF format not recognized by portage QA, and their CFLAGS and LDFLAGS should be very different because they're pure GPU kernels.
I guess __gentoo_check_ldflags__ and many other flags are stripped when kernels offloads to each GPU arch, so the final code object files does not contain those test flags.
tinderbox has reproduced this issue with version 5.0.2 - Updating summary.
clang-stricter_tinderbox has reproduced this issue with version 5.1.3 - Updating summary.
libarchive_tinderbox has reproduced this issue with version 5.1.3-r1 - Updating summary.
hardened_tinderbox has reproduced this issue with version 5.1.3-r2 - Updating summary.
glibc2.38_tinderbox has reproduced this issue with version 5.1.3-r4 - Updating summary.