Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815127 - dev-util/rr-5.6.0 does not respect CFLAGS
Summary: dev-util/rr-5.6.0 does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2021-09-27 10:24 UTC by Agostino Sarubbo
Modified: 2022-08-20 13:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,151.76 KB, text/plain)
2021-09-27 10:24 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 2021-09-27 10:24:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/rr-5.5.0 does not respect CFLAGS.
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. 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 2021-09-27 10:24:51 UTC
Created attachment 741669 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-14 19:22:30 UTC
ci has reproduced this issue with version 5.6.0 - Updating summary.
Comment 3 Luca Barbato gentoo-dev 2022-08-19 18:23:21 UTC
Looks like it is assembly (`rr_page.S`), I'll push an update to suppress the check only for those two libs.

[16/142] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=x86-64 -frecord-gcc-switches -D__USE_LARGEFILE64 -pthread -msse2 -D__MMX__ -D__SSE__ -D__SSE2__ -Wstrict-prototypes -std=gnu11  -pthread  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,-T -Wl,/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/rr_page.ld -Wl,--hash-style=both -nostartfiles -nostdlib -Wl,-z,max-page-size=0x1000 -Wl,-soname,linux-vdso.so.1 -fuse-ld=bfd -shared  -o lib/rr/librrpage.so CMakeFiles/rrpage.dir/src/preload/rr_page.S.o   && cd /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0_build && /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/tweak_librrpage.py /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0_build/lib/rr/librrpage.so
[17/142] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=x86-64 -frecord-gcc-switches -D__USE_LARGEFILE64 -pthread -msse2 -D__MMX__ -D__SSE__ -D__SSE2__ -Wstrict-prototypes -std=gnu11  -pthread  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -m32 -Wl,-T -Wl,/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/rr_page.ld -Wl,--hash-style=both -nostartfiles -nostdlib -Wl,-soname,linux-vdso.so.1 -fuse-ld=bfd -shared  -o lib/rr/librrpage_32.so CMakeFiles/rrpage_32.dir/32/preload/rr_page.S.o   && cd /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0_build && /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/tweak_librrpage.py /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0_build/lib/rr/librrpage_32.so
Comment 4 Larry the Git Cow gentoo-dev 2022-08-20 13:29:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1537505fa7f3949e465addce86b1e77af9075a2a

commit 1537505fa7f3949e465addce86b1e77af9075a2a
Author:     Luca Barbato <lu_zero@gentoo.org>
AuthorDate: 2022-08-20 13:25:53 +0000
Commit:     Luca Barbato <lu_zero@gentoo.org>
CommitDate: 2022-08-20 13:29:40 +0000

    dev-util/rr: Mark librrpage as QA_FLAGS_IGNORED
    
    Closes: https://bugs.gentoo.org/815127
    Signed-off-by: Luca Barbato <lu_zero@gentoo.org>

 dev-util/rr/rr-5.6.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)