Hi,
Am Montag, 3. November 2025, 08:08:24 Mitteleuropäische Normalzeit schrieb
Andreas Schwab:
> On Okt 23 2025, Guillaume Gardet wrote:
>
> > To fix this warning, all the pieces need to be GCS enabled, aka, dependency
> > libraries and assembler code, if any.
> > Usually, rebuilding dependencies should be enough.
>
> Pulishing is currently blocked on failing packages due to GCS errors. I
> tried to do selective rebuilds, but that lead to nowhere. So I forced a
> full rebuild,
There are some packages like "akonadi" which did not get rebuilt
against the meanwhile GCS-enabled libaccounts-qt6.so. If that was a
proper rebuild="direct" or "transitive", OBS should've rebuilt it.
> only to find out that it didn't solve the errors.
> Basically, for whatever reason, the linker refrains from marking
> libQt5Core
I had a look. There's src/corelib/global/minimum-linux.S which is an asm file
to set .note.ABI-tag explicitly to the minimum Linux kernel version needed.
It also sets .note.GNU-stack, but not GNU-property. In Qt 6 it's done
differently in C++ using a struct with _attribute__((section(".note.ABI-tag")))
which I could backport (sr#1315285). Doesn't work on Leap 15.6 with gcc7, but
IMO that's not important.
> and libcrypto with the GCS attribute, which causes the
> subsequent build failures.
https://github.com/openssl/openssl/issues/27712
IMO ld should be called with "-z gcs-report-dynamic=none" for the time being.
That way we can avoid that the use of --fatal-warnings requires rebuilds.
Cheers,
Fabian