[Bug 2147987] [NEW] LDFLAGS --package-metadata breaks mingw builds

Alessandro Astone 2147987 at bugs.launchpad.net
Fri Apr 10 16:00:12 UTC 2026


Public bug reported:

dxvk FTBFS in resolute because /usr/bin/x86_64-w64-mingw32-ld.bfd does
not understand the `--package-metadata` argument that was added to
LDFLAGS in Ubuntu.

The build error is somewhat cryptic because `ld --version
--unknownflagxxxxxxxx` succeeds by ignoring the unknown flag, so meson
thinks we have a working linker and yet we don't.

https://launchpadlibrarian.net/852132987/buildlog_ubuntu-resolute-
amd64v3.dxvk_2.7.1-2_BUILDING.txt.gz

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dxvk (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

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

** Tags added: update-excuse

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

Title:
  LDFLAGS --package-metadata breaks mingw builds

Status in dpkg package in Ubuntu:
  New
Status in dxvk package in Ubuntu:
  New

Bug description:
  dxvk FTBFS in resolute because /usr/bin/x86_64-w64-mingw32-ld.bfd does
  not understand the `--package-metadata` argument that was added to
  LDFLAGS in Ubuntu.

  The build error is somewhat cryptic because `ld --version
  --unknownflagxxxxxxxx` succeeds by ignoring the unknown flag, so meson
  thinks we have a working linker and yet we don't.

  https://launchpadlibrarian.net/852132987/buildlog_ubuntu-resolute-
  amd64v3.dxvk_2.7.1-2_BUILDING.txt.gz

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





More information about the foundations-bugs mailing list