GNU bug report logs -
#53426
mingw-w64-{x86_64,i686}-winpthreads broken after absorption of binutils-next
Previous Next
Reported by: Carl Dong <contact <at> carldong.me>
Date: Fri, 21 Jan 2022 21:31:01 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53426 in the body.
You can then email your comments to 53426 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#53426
; Package
guix
.
(Fri, 21 Jan 2022 21:31:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Carl Dong <contact <at> carldong.me>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 21 Jan 2022 21:31:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi all,
The mingw-w64-{x86_64,i686}-winpthreads have been broken since the absorption of binutils-next in ce362bc1f35102e7d79ad7e0d638d20cef304f01. My very crude debugging (adding and removing configure flags from the binutils in gnu/packages/base.scm until the packages compiled) led me to the culprit: "--enable-compressed-debug-sections=all”.
I’m wondering what the best course of action is to fix the mingw-w64-{x86_64,i686}-winpthreads packages (e.g. just remove the configure flag for mingw-w64? Add that flag only for linux? Or something else?) and would love some help.
Cheers,
Carl Dong
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#53426
; Package
guix
.
(Fri, 21 Jan 2022 22:12:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 53426 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Carl Dong schreef op vr 21-01-2022 om 16:30 [-0500]:
> I’m wondering what the best course of action is to fix the mingw-w64-
> {x86_64,i686}-winpthreads packages (e.g. just remove the configure
> flag for mingw-w64? Add that flag only for linux? Or something else?)
> and would love some help.
I would assume that it works for Linux, it also works for the Hurd,
so I would prefer something like
#$@(if (target-mingw?) '() '("--some-configuration..."))
above
#$@(if (target-linux?) '("--some-configuration...") '())
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#53426
; Package
guix
.
(Tue, 01 Feb 2022 17:55:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 53426 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I did some more exploration, and found that not only are the mingw-w64-{x86_64, i686}-winpthreads packages broken, but any --target=x86_64-w64-mingw32 package:
$ guix build --target=x86_64-w64-mingw32 hello
I have this patch which resolves the problem by simply disabling compressed debug sections, but perhaps it’d also be worthwhile to investigate the root cause...
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 78cbf871ac..397e4d4c1c 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -101,7 +101,8 @@ (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
+ binutils "--enable-compressed-debug-sections" "no")
(search-patches "binutils-mingw-w64-timestamp.patch"
"binutils-mingw-w64-deterministic.patch")))
(else binutils))
--8<---------------cut here---------------end--------------->8---
Cheers,
Carl Dong
> On Jan 21, 2022, at 5:10 PM, Maxime Devos <maximedevos <at> telenet.be> wrote:
>
> Carl Dong schreef op vr 21-01-2022 om 16:30 [-0500]:
>> I’m wondering what the best course of action is to fix the mingw-w64-
>> {x86_64,i686}-winpthreads packages (e.g. just remove the configure
>> flag for mingw-w64? Add that flag only for linux? Or something else?)
>> and would love some help.
>
> I would assume that it works for Linux, it also works for the Hurd,
> so I would prefer something like
>
> #$@(if (target-mingw?) '() '("--some-configuration..."))
>
> above
>
> #$@(if (target-linux?) '("--some-configuration...") '())
>
> Greetings,
> Maxime.
>
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#53426
; Package
guix
.
(Wed, 16 Mar 2022 10:07:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 53426 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I think this bug can be closed now that https://issues.guix.gnu.org/53706
has been merged?
[Message part 2 (text/html, inline)]
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Mon, 11 Jul 2022 21:53:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Carl Dong <contact <at> carldong.me>
:
bug acknowledged by developer.
(Mon, 11 Jul 2022 21:53:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 53426-done <at> debbugs.gnu.org (full text, mbox):
Hi Michael,
Michael Ford <fanquake <at> gmail.com> writes:
> Hi,
>
> I think this bug can be closed now that https://issues.guix.gnu.org/53706
> has been merged?
I think so too! Thanks for the heads-up.
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 09 Aug 2022 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.