Sam James 414f21a6b3 sys-libs/glibc: ignore CFLAGS+LDFLAGS in do_run_test for binpkgs
With binpkgs, CFLAGS and LDFLAGS will come from the builder environment
and may not be compatible with an old glibc on the system before a new
one is merged.

In the case reported to me by Kerin, an old glibc was installed w/o
DT_RELR support, and LDFLAGS on the binhost builder had -Wl,-z,pack-relative-relocs,
so the built test binary (which would run against the system's old glibc)
couldn't be executed, meaning the "syscall test" failed.

Set CFLAGS to just -O2 and blank LDFLAGS to avoid this.

It did also wrongly diagnose the failure because the function both
compiles + runs and the error message can't distinguish between those. If
we fail to build it, things are likely fine, there's only a problem if we
fail to run it. I haven't addressed that here.

Bug: https://bugs.gentoo.org/324685
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-18 10:21:20 +00:00
2025-12-18 10:48:56 +01:00
2025-12-17 16:10:39 +01:00
2025-12-18 00:02:09 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 18:47:49 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 22:21:05 +01:00
2025-12-18 08:40:49 +00:00
2025-12-17 16:10:39 +01:00
2025-12-16 09:55:55 +02:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-18 07:36:25 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-18 08:06:22 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-12 13:20:35 +00:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-18 08:40:50 +00:00
2025-12-07 12:22:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-18 08:35:58 +00:00
2025-12-18 01:02:20 +00:00
2025-12-18 08:40:47 +00:00
2025-12-17 16:10:39 +01:00
2025-12-07 11:41:15 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 22:02:46 +01:00
2025-12-11 07:59:42 +01:00
2025-12-17 16:10:39 +01:00
2025-12-16 10:50:41 -08:00
2025-12-18 08:07:57 +00:00
2025-12-17 16:10:39 +01:00
2025-12-10 21:02:17 -05:00
2025-12-17 16:10:39 +01:00
2025-12-18 08:40:50 +00:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
2025-12-17 16:10:39 +01:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%