Message ID | 20220201182202.2300335-1-contact@carldong.me |
---|---|
State | Accepted |
Headers | show |
Series | [bug#53706] gnu: Disable compressed debug sections for mingw-w64 | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Just for some extra context, this commit should not trigger mass rebuilds. I’m happy to commit it myself, but would someone to give me a quick sanity check before doing so! Related: https://issues.guix.gnu.org/53426 <https://issues.guix.gnu.org/53426> Cheers, Carl Dong
Hi Carl, Carl Dong <contact@carldong.me> writes: > Just for some extra context, this commit should not trigger mass > rebuilds. I’m happy to commit it myself, but would someone to give me > a quick sanity check before doing so! > > Related: https://issues.guix.gnu.org/53426 <https://issues.guix.gnu.org/53426> I just had a quick look, and it LGTM. Thanks, Maxim
In master as of 2d78b27711d44f39fabf170d044b45247af7babe
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 78cbf871ac..529144d127 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -101,7 +101,16 @@ (define* (cross-binutils target #:optional (binutils binutils)) "ath9k-htc-firmware-binutils.patch"))) ((target-mingw? target) (package-with-extra-patches - binutils + (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-timestamp.patch" "binutils-mingw-w64-deterministic.patch"))) (else binutils))