debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #05704
[Bug 2121033] Re: lib25519 doesn't expose GCS attribute on arm64
Note that an alternative to manually marking the asm files would be to
use -Wl,-gcs=always when linking the .so, but someone still needs to
actually check that it's OK to do so.
** Also affects: glibc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2121033
Title:
lib25519 doesn't expose GCS attribute on arm64
Status in glibc package in Ubuntu:
New
Status in lib25519 package in Ubuntu:
Triaged
Bug description:
In GCC 15 all arm64 binaries that have standard branch protection
(present in our default flags) started using GCS. However, the linker
will issue warnings if mixing libraries that expose GCS compatibility
with non-GCS ones.
This is the case for lib25519, as it contains asm files that needs to
be manually annotated to export the proper section.
It's a fairly annoying issue, since glibc *does* expose GCS info since
2.42-0ubuntu1, thus triggering the warning:
❯ readelf -n libc.so.6
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0
Properties: AArch64 feature: BTI, PAC, GCS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2121033/+subscriptions