Marking as also affecting binutils since the patch adding support for
ELF_PACKAGE_METADATA is buggy: the CLI only takes precedence if it has
an actual value, not if we use the empty string.

In other words:

$ ELF_PACKAGE_METADATA='{"type":"deb"}' gcc -o foo foo.c -Wl,--package-
metadata

should result in a binary without the ELF note, yet it does.

This makes it harder to bypass cleanly. Ideally we'd implement the
entire support through the dpkg-buildflags LDFLAGS rather than a bespoke
environment variable, but meanwhile I'm testing out a binutils patch to
alleviate this specific pain.

** Also affects: binutils (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109333

Title:
  glibc package metadata in all binaries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2109333/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to