gnu: cross-base: mingw: use compressed debug sections

I can no-longer recreate the mentioned failure.

* gnu/packages/cross-base.scm (cross-binutils-package): Remove the usage
  of --enable-compressed-debug-sections=no.
This commit is contained in:
fanquake 2025-07-03 14:53:29 +01:00
parent 11f9ab1d82
commit b34255704e
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -135,18 +135,9 @@
(search-patches
"ath9k-htc-firmware-binutils.patch")))
((target-mingw? target)
(package-with-extra-patches
(package-with-extra-configure-variable
;; mingw binutils does not work correctly when configured
;; with `--enable-compressed-debug-sections`. An error
;; like the following will occur whenever you try to link:
;;
;; x86_64-w64-mingw32-ld: final link failed: bad value
;;
;; TODO: This seems like a deeper problem that warrants
;; deeper investigation.
binutils "--enable-compressed-debug-sections" "no")
(search-patches "binutils-mingw-w64-deterministic.patch")))
(package-with-extra-patches binutils
(search-patches
"binutils-mingw-w64-deterministic.patch")))
(else binutils))
target)))