From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 18:48:51 2020 Received: (at submit) by debbugs.gnu.org; 31 Mar 2020 22:48:51 +0000 Received: from localhost ([127.0.0.1]:37200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJPgh-0001qQ-7o for submit@debbugs.gnu.org; Tue, 31 Mar 2020 18:48:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:37336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJPge-0001qG-L8 for submit@debbugs.gnu.org; Tue, 31 Mar 2020 18:48:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49463) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJPga-0007lz-3a for guix-patches@gnu.org; Tue, 31 Mar 2020 18:48:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJPgU-0007AB-VQ for guix-patches@gnu.org; Tue, 31 Mar 2020 18:48:41 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:35724) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJPgR-000727-Si for guix-patches@gnu.org; Tue, 31 Mar 2020 18:48:36 -0400 Date: Tue, 31 Mar 2020 22:48:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; s=protonmail; t=1585694909; bh=9L7FkF1hH2awWCzwCvF/gzC+wB6jeLokZbYK4/mdEog=; h=Date:To:From:Reply-To:Subject:From; b=W2/kWdG9uSJuRACL7oZ4P0EidclHLSXNhVt6/6P2bvCslX3hFn0od4buC69g+0l1c ZjamSH8V8UGUvYyoFPORI6WGD5OB/VilA65u4EvrNOnwWDUEymY+eeq1OI5SDFL9NL U/0TvYyirO50dSZW3ctN0ZnVOtvQiYtXDicwEb/g= To: "guix-patches@gnu.org" From: Carl Dong Subject: [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.70.40.18 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Carl Dong Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) These patches were originally found at the debian mingw-w64 team's binutils repo, and should improve the reproducibility of our mingw-w64 toolchain. * gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.pat= ch: New file. * gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch: New file. * gnu/packages/cross-base.scm (cross-binutils): Apply relevant patches if target is mingw-w64. (package-with-extra-patches): New procedure. --- gnu/packages/cross-base.scm | 21 ++- ...gw-w64-reproducible-import-libraries.patch | 22 +++ ...binutils-mingw-w64-specify-timestamp.patch | 137 ++++++++++++++++++ 3 files changed, 175 insertions(+), 5 deletions(-) create mode 100755 gnu/packages/patches/binutils-mingw-w64-reproducible-im= port-libraries.patch create mode 100755 gnu/packages/patches/binutils-mingw-w64-specify-timesta= mp.patch diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index ab866eebc6..571a47f72a 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -76,6 +76,12 @@ (source (origin (inherit (package-source original)) (patches (list patch)))))) +(define (package-with-extra-patches original patches) + "Return package ORIGINAL with all PATCHES appended to its list of patche= s." + (package-with-patch original + `(,@(origin-patches (package-source original)) + ,@patches)) + (define (cross-binutils target) "Return a cross-Binutils for TARGET." (let ((binutils (package (inherit binutils) @@ -97,11 +103,16 @@ `(cons "--with-sysroot=3D/" ,flags))))))) ;; For Xtensa, apply Qualcomm's patch. - (cross (if (string-prefix? "xtensa-" target) - (package-with-patch binutils - (search-patch - "ath9k-htc-firmware-binutils.patch")) - binutils) + (cross (cond ((string-prefix? "xtensa-" target) + (package-with-patch binutils + (search-patch + "ath9k-htc-firmware-binutils.patch"= ))) + ((target-mingw? target) + (package-with-extra-patches binutils + (search-patches + "binutils-mingw-w64-specify= -timestamp.patch" + "binutils-mingw-w64-reprodu= cible-import-libraries.patch"))) + (else binutils)) target))) (define (cross-gcc-arguments target xgcc libc) diff --git a/gnu/packages/patches/binutils-mingw-w64-reproducible-import-li= braries.patch b/gnu/packages/patches/binutils-mingw-w64-reproducible-import= -libraries.patch new file mode 100755 index 0000000000..3e48b87935 --- /dev/null +++ b/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries= .patch @@ -0,0 +1,22 @@ +This following patch was originally found at the debian mingw-w64 team's +binutils repo located here: +https://salsa.debian.org/mingw-w64-team/binutils-mingw-w64.git + +Invoke the following in the aforementioned repo to see the original patch: + + $ git show da63f6b:debian/patches/reproducible-import-libraries.patch + +Description: Make DLL import libraries reproducible +Author: Benjamin Moody +Bug-Debian: https://bugs.debian.org/915055 + +--- a/ld/pe-dll.c ++++ b/ld/pe-dll.c +@@ -2844,6 +2844,7 @@ + + bfd_set_format (outarch, bfd_archive); + outarch->has_armap =3D 1; ++ outarch->flags |=3D BFD_DETERMINISTIC_OUTPUT; + + /* Work out a reasonable size of things to put onto one line. */ + ar_head =3D make_head (outarch); diff --git a/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patc= h b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch new file mode 100755 index 0000000000..b785043b62 --- /dev/null +++ b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch @@ -0,0 +1,137 @@ +This following patch was originally found at the debian mingw-w64 team's +binutils repo located here: +https://salsa.debian.org/mingw-w64-team/binutils-mingw-w64.git + +Invoke the following in the aforementioned repo to see the original patch: + + $ git show da63f6b:debian/patches/specify-timestamp.patch + +Description: Allow the PE timestamp to be specified +Author: Stephen Kitt + +--- a/bfd/peXXigen.c ++++ b/bfd/peXXigen.c +@@ -70,6 +70,9 @@ + #include + #endif + ++#include ++#include ++ + /* NOTE: it's strange to be including an architecture specific header + in what's supposed to be general (to PE/PEI) code. However, that's + where the definitions are, and they don't vary per architecture +@@ -879,10 +882,38 @@ + + /* Use a real timestamp by default, unless the no-insert-timestamp + option was chosen. */ +- if ((pe_data (abfd)->insert_timestamp)) +- H_PUT_32 (abfd, time (0), filehdr_out->f_timdat); +- else ++ if (pe_data (abfd)->insert_timestamp) { ++ time_t now; ++ char *source_date_epoch; ++ unsigned long long epoch; ++ char *endptr; ++ ++ now =3D time(NULL); ++ source_date_epoch =3D getenv("SOURCE_DATE_EPOCH"); ++ if (source_date_epoch) { ++ errno =3D 0; ++ epoch =3D strtoull(source_date_epoch, &endptr, 10); ++ if ((errno =3D=3D ERANGE && (epoch =3D=3D ULLONG_MAX || epoch =3D= =3D 0)) ++ || (errno !=3D 0 && epoch =3D=3D 0)) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: strt= oull: %s\n", ++ strerror(errno)); ++ } else if (endptr =3D=3D source_date_epoch) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: No d= igits were found: %s\n", ++ endptr); ++ } else if (*endptr !=3D '\0') { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: Trai= ling garbage: %s\n", ++ endptr); ++ } else if (epoch > ULONG_MAX) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: valu= e must be smaller than or equal to: %lu but was found to be: %llu\n", ++ ULONG_MAX, epoch); ++ } else { ++ now =3D epoch; ++ } ++ } ++ H_PUT_32 (abfd, now, filehdr_out->f_timdat); ++ } else { + H_PUT_32 (abfd, 0, filehdr_out->f_timdat); ++ } + + PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr, + =09=09 filehdr_out->f_symptr); +--- a/ld/pe-dll.c ++++ b/ld/pe-dll.c +@@ -26,6 +26,8 @@ + #include "filenames.h" + #include "safe-ctype.h" + ++#include ++#include + #include + + #include "ld.h" +@@ -1202,8 +1204,36 @@ + + memset (edata_d, 0, edata_sz); + +- if (pe_data (abfd)->insert_timestamp) +- H_PUT_32 (abfd, time (0), edata_d + 4); ++ if (pe_data (abfd)->insert_timestamp) { ++ time_t now; ++ char *source_date_epoch; ++ unsigned long long epoch; ++ char *endptr; ++ ++ now =3D time(NULL); ++ source_date_epoch =3D getenv("SOURCE_DATE_EPOCH"); ++ if (source_date_epoch) { ++ errno =3D 0; ++ epoch =3D strtoull(source_date_epoch, &endptr, 10); ++ if ((errno =3D=3D ERANGE && (epoch =3D=3D ULLONG_MAX || epoch =3D= =3D 0)) ++=09 || (errno !=3D 0 && epoch =3D=3D 0)) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: strtoull: %s\n", ++=09 strerror(errno)); ++ } else if (endptr =3D=3D source_date_epoch) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: No digits were found: = %s\n", ++=09 endptr); ++ } else if (*endptr !=3D '\0') { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: Trailing garbage: %s\n= ", ++=09 endptr); ++ } else if (epoch > ULONG_MAX) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: value must be smaller = than or equal to: %lu but was found to be: %llu\n", ++=09 ULONG_MAX, epoch); ++ } else { ++=09now =3D epoch; ++ } ++ } ++ H_PUT_32 (abfd, now, edata_d + 4); ++ } + + if (pe_def_file->version_major !=3D -1) + { +--- a/ld/emultempl/pe.em ++++ b/ld/emultempl/pe.em +@@ -303,7 +303,7 @@ + OPTION_USE_NUL_PREFIXED_IMPORT_TABLES}, + {"no-leading-underscore", no_argument, NULL, OPTION_NO_LEADING_UNDERS= CORE}, + {"leading-underscore", no_argument, NULL, OPTION_LEADING_UNDERSCORE}, +- {"insert-timestamp", no_argument, NULL, OPTION_INSERT_TIMESTAMP}, ++ {"insert-timestamp", optional_argument, NULL, OPTION_INSERT_TIMESTAMP= }, + {"no-insert-timestamp", no_argument, NULL, OPTION_NO_INSERT_TIMESTAMP= }, + #ifdef DLL_SUPPORT + /* getopt allows abbreviations, so we do this to stop it +--- a/ld/emultempl/pep.em ++++ b/ld/emultempl/pep.em +@@ -321,7 +321,7 @@ + {"no-bind", no_argument, NULL, OPTION_NO_BIND}, + {"wdmdriver", no_argument, NULL, OPTION_WDM_DRIVER}, + {"tsaware", no_argument, NULL, OPTION_TERMINAL_SERVER_AWARE}, +- {"insert-timestamp", no_argument, NULL, OPTION_INSERT_TIMESTAMP}, ++ {"insert-timestamp", optional_argument, NULL, OPTION_INSERT_TIMESTAMP= }, + {"no-insert-timestamp", no_argument, NULL, OPTION_NO_INSERT_TIMESTAMP= }, + {"build-id", optional_argument, NULL, OPTION_BUILD_ID}, + {NULL, no_argument, NULL, 0} -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 10:14:29 2020 Received: (at 40362) by debbugs.gnu.org; 1 Apr 2020 14:14:29 +0000 Received: from localhost ([127.0.0.1]:38529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJe8T-0003jV-Hf for submit@debbugs.gnu.org; Wed, 01 Apr 2020 10:14:29 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJe8P-0003ir-R9 for 40362@debbugs.gnu.org; Wed, 01 Apr 2020 10:14:29 -0400 Received: by mail-wr1-f65.google.com with SMTP id m17so177481wrw.11 for <40362@debbugs.gnu.org>; Wed, 01 Apr 2020 07:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=MiMrG9kfQHAWQx1+9w78yLh+xRe8/ZvaDfoO6w5V5e4=; b=ulHzGlQ5teHnJ9oK+9BXn4EMswRIYh/5L8hPRToQXthCK4ToaRaf64yC9rL9X2LVVI iUAInnvqn2/nxIa/4RI09AtzclU/XhhrFhzCiUb5/MrfduhJ8DWUbRvlb3KcjjhMOLkX xzJOa6zgUq2qmpUlmOhhA02PquP6FSLMowHv8U7Rrqi1muYkmU9pELwHIOEJ5Odm9/so 1MjQczjfV9enthi1Y/rQfMwxp7RxTLAwDHOKo6xJqz/jgP+lp/lx0Nqo2u2+n3pyORvv rK5ugksQDERQ2LdcO5+EPgu0/M0WW5mWWAykRj7KAmsAcz2y2VH8qx4xPJ1vSOALGm0k r3KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=MiMrG9kfQHAWQx1+9w78yLh+xRe8/ZvaDfoO6w5V5e4=; b=ZiMUKKRBZWJwqw+AjB+vDg3XU0110VdV0sZqNoSFWxOWGUPbJ4BAF0gDvWj7PC4ZyH FcWYrBT/LZuP9YcTOFxQYuqbVQrDqh76dIvnv+coh9RjLXYZtM72ugXvnYyMRQTwCakz 21wwtWGBqj+YslHp8GIqi7pFtOTYnCwegIY6Lmt4mDV9DplPRk6qrrsPdbHMdsReoQRf 4K8zhIA6kbDpSbpqFlYc47rcjd2T++rNfppY5rAkySjqjt/aNDPm5yydYS5ptxvF2TdX mMlryBgKBVU9Wl02dTZrltv75BvseFBFnXUoIfawekR64Eqj8Bec/5J0gW7h2U9PNb1Z cS+A== X-Gm-Message-State: ANhLgQ0CX01rH3822CaF1nfQ5juIfbH7ph6737Enee2sX7j3sJ9aOLIH fGYtjF85QqgQplTLU7NugT425KvX5pd01Q== X-Google-Smtp-Source: ADFU+vttMAzaZvh15ywt3BuNEh3Vrq9SMhn0KT0N9WE3nA+KtuYp60PtzTjG1TaaqGSzvRrKcBzKSA== X-Received: by 2002:adf:f8c1:: with SMTP id f1mr26785534wrq.345.1585750458931; Wed, 01 Apr 2020 07:14:18 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:75c3:1709:597b:7112]) by smtp.gmail.com with ESMTPSA id u16sm3123980wro.23.2020.04.01.07.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 07:14:15 -0700 (PDT) References: User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Carl Dong Subject: Re: [bug#40362] [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. In-reply-to: Date: Wed, 01 Apr 2020 16:14:14 +0200 Message-ID: <87d08rcmyx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40362 Cc: 40362@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Carl! > * gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch: > New file. > * gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch: > New file. You also need to add those patches to gnu/local.mk. > +(define (package-with-extra-patches original patches) > + "Return package ORIGINAL with all PATCHES appended to its list of patches." > + (package-with-patch original > + `(,@(origin-patches (package-source original)) > + ,@patches)) Nitpick, maybe we could just name it package-with-patches? > + (package-with-extra-patches binutils > + (search-patches > + "binutils-mingw-w64-specify-timestamp.patch" > + "binutils-mingw-w64-reproducible-import-libraries.patch"))) This is over the 78 column limit. Otherwise, seems fine! Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 15:54:55 2020 Received: (at 40362) by debbugs.gnu.org; 1 Apr 2020 19:54:56 +0000 Received: from localhost ([127.0.0.1]:38708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJjRv-0007CK-2t for submit@debbugs.gnu.org; Wed, 01 Apr 2020 15:54:55 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:22466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJjRq-0007Be-Ee for 40362@debbugs.gnu.org; Wed, 01 Apr 2020 15:54:53 -0400 Date: Wed, 01 Apr 2020 19:54:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; s=protonmail; t=1585770882; bh=cY58Wh6XUzhNSvFCkKDlv5F012htZJPlpqY5g4q3VZQ=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=BuoeZ4VSrXxFedy1NV0/9JFHWV1OsVIXJuO+TyRQH4tQGyoI1NEm9TbcxDL6ayiAY cIiUT0jGtPYU0+AxXNHUCtsrfqI0eumi43v18KqNYoRe6sBWZiYKZS7F6tPviPx0LO XOolRuW4/XR/OgvxQN/6RzePHswxQvvSoa/0c/BU= To: Mathieu Othacehe From: Carl Dong Subject: Re: [bug#40362] [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. Message-ID: In-Reply-To: <87d08rcmyx.fsf@gmail.com> References: <87d08rcmyx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40362 Cc: "40362@debbugs.gnu.org" <40362@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Carl Dong Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hey Mathieu! > > - gnu/packages/patches/binutils-mingw-w64-reproducible-import-librari= es.patch: > > New file. > > - gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch: > > New file. > > You also need to add those patches to gnu/local.mk. Added! > > +(define (package-with-extra-patches original patches) > > - "Return package ORIGINAL with all PATCHES appended to its list of p= atches." > > - (package-with-patch original > > - `(,@(origin-patches (package-source original)) > > - ,@patches)) > > Nitpick, maybe we could just name it package-with-patches? I named it this way to make it clear that PACKAGE-WITH-PATCH overrides the patches, whereas PACKAGE-WITH-EXTRA-PATCHES appends the patches (just like PACKAGE-WITH-EXTRA-CONFIGURE-VARIABLE)... In fact, I'm not sure that Ludovi= c originally intended PACKAGE-WITH-PATCH to override rather than append? > > - (package-with-extra-patches binutils > > - (search-patches > > - "binutils-mingw-w64-s= pecify-timestamp.patch" > > - "binutils-mingw-w64-r= eproducible-import-libraries.patch"))) > > This is over the 78 column limit. See the updated patch below, is this the right solution? Many thanks for the review! Cheers, Carl Dong accounts@carldong.me "I fight for the users" >From c2d53e94eef8bc0b6750e1c1218335cd1461f1be Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Tue, 24 Mar 2020 15:39:06 -0400 Subject: [PATCH v2] gnu: cross-base: Add mingw-w64 specific binutils patche= s. These patches were originally found at the debian mingw-w64 team's binutils repo, and should improve the reproducibility of our mingw-w64 toolchain. * gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.pat= ch: New file. * gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch: New file. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/cross-base.scm (cross-binutils): Apply relevant patches if target is mingw-w64. (package-with-extra-patches): New procedure. --- gnu/local.mk | 2 + gnu/packages/cross-base.scm | 23 ++- ...gw-w64-reproducible-import-libraries.patch | 22 +++ ...binutils-mingw-w64-specify-timestamp.patch | 137 ++++++++++++++++++ 4 files changed, 179 insertions(+), 5 deletions(-) create mode 100755 gnu/packages/patches/binutils-mingw-w64-reproducible-im= port-libraries.patch create mode 100755 gnu/packages/patches/binutils-mingw-w64-specify-timesta= mp.patch diff --git a/gnu/local.mk b/gnu/local.mk index 19ab32c0f5..fe685c4e1b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -768,6 +768,8 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/bidiv-update-fribidi.patch=09=09\ %D%/packages/patches/binutils-boot-2.20.1a.patch=09=09\ %D%/packages/patches/binutils-loongson-workaround.patch=09\ + %D%/packages/patches/binutils-mingw-w64-specify-timestamp.patch \ + %D%/packages/patches/binutils-mingw-w64-reproducible-import-libraries.pa= tch \ %D%/packages/patches/blender-2.79-newer-ffmpeg.patch=09=09\ %D%/packages/patches/blender-2.79-python-3.7-fix.patch=09\ %D%/packages/patches/bluez-CVE-2020-0556.patch=09=09\ diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index ab866eebc6..858ee743ed 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -76,6 +76,12 @@ (source (origin (inherit (package-source original)) (patches (list patch)))))) +(define (package-with-extra-patches original patches) + "Return package ORIGINAL with all PATCHES appended to its list of patche= s." + (package-with-patch original + `(,@(origin-patches (package-source original)) + ,@patches)) + (define (cross-binutils target) "Return a cross-Binutils for TARGET." (let ((binutils (package (inherit binutils) @@ -97,11 +103,18 @@ `(cons "--with-sysroot=3D/" ,flags))))))) ;; For Xtensa, apply Qualcomm's patch. - (cross (if (string-prefix? "xtensa-" target) - (package-with-patch binutils - (search-patch - "ath9k-htc-firmware-binutils.patch")) - binutils) + (cross (cond ((string-prefix? "xtensa-" target) + (package-with-patch binutils + (search-patch + "ath9k-htc-firmware-binutils.patch"= ))) + ((target-mingw? target) + (package-with-extra-patches binutils + (search-patches + "binutils-mingw-w64-specify= -tim\ +estamp.patch" + "binutils-mingw-w64-reprodu= cibl\ +e-import-libraries.patch"))) + (else binutils)) target))) (define (cross-gcc-arguments target xgcc libc) diff --git a/gnu/packages/patches/binutils-mingw-w64-reproducible-import-li= braries.patch b/gnu/packages/patches/binutils-mingw-w64-reproducible-import= -libraries.patch new file mode 100755 index 0000000000..3e48b87935 --- /dev/null +++ b/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries= .patch @@ -0,0 +1,22 @@ +This following patch was originally found at the debian mingw-w64 team's +binutils repo located here: +https://salsa.debian.org/mingw-w64-team/binutils-mingw-w64.git + +Invoke the following in the aforementioned repo to see the original patch: + + $ git show da63f6b:debian/patches/reproducible-import-libraries.patch + +Description: Make DLL import libraries reproducible +Author: Benjamin Moody +Bug-Debian: https://bugs.debian.org/915055 + +--- a/ld/pe-dll.c ++++ b/ld/pe-dll.c +@@ -2844,6 +2844,7 @@ + + bfd_set_format (outarch, bfd_archive); + outarch->has_armap =3D 1; ++ outarch->flags |=3D BFD_DETERMINISTIC_OUTPUT; + + /* Work out a reasonable size of things to put onto one line. */ + ar_head =3D make_head (outarch); diff --git a/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patc= h b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch new file mode 100755 index 0000000000..b785043b62 --- /dev/null +++ b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch @@ -0,0 +1,137 @@ +This following patch was originally found at the debian mingw-w64 team's +binutils repo located here: +https://salsa.debian.org/mingw-w64-team/binutils-mingw-w64.git + +Invoke the following in the aforementioned repo to see the original patch: + + $ git show da63f6b:debian/patches/specify-timestamp.patch + +Description: Allow the PE timestamp to be specified +Author: Stephen Kitt + +--- a/bfd/peXXigen.c ++++ b/bfd/peXXigen.c +@@ -70,6 +70,9 @@ + #include + #endif + ++#include ++#include ++ + /* NOTE: it's strange to be including an architecture specific header + in what's supposed to be general (to PE/PEI) code. However, that's + where the definitions are, and they don't vary per architecture +@@ -879,10 +882,38 @@ + + /* Use a real timestamp by default, unless the no-insert-timestamp + option was chosen. */ +- if ((pe_data (abfd)->insert_timestamp)) +- H_PUT_32 (abfd, time (0), filehdr_out->f_timdat); +- else ++ if (pe_data (abfd)->insert_timestamp) { ++ time_t now; ++ char *source_date_epoch; ++ unsigned long long epoch; ++ char *endptr; ++ ++ now =3D time(NULL); ++ source_date_epoch =3D getenv("SOURCE_DATE_EPOCH"); ++ if (source_date_epoch) { ++ errno =3D 0; ++ epoch =3D strtoull(source_date_epoch, &endptr, 10); ++ if ((errno =3D=3D ERANGE && (epoch =3D=3D ULLONG_MAX || epoch =3D= =3D 0)) ++ || (errno !=3D 0 && epoch =3D=3D 0)) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: strt= oull: %s\n", ++ strerror(errno)); ++ } else if (endptr =3D=3D source_date_epoch) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: No d= igits were found: %s\n", ++ endptr); ++ } else if (*endptr !=3D '\0') { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: Trai= ling garbage: %s\n", ++ endptr); ++ } else if (epoch > ULONG_MAX) { ++ _bfd_error_handler("Environment variable $SOURCE_DATE_EPOCH: valu= e must be smaller than or equal to: %lu but was found to be: %llu\n", ++ ULONG_MAX, epoch); ++ } else { ++ now =3D epoch; ++ } ++ } ++ H_PUT_32 (abfd, now, filehdr_out->f_timdat); ++ } else { + H_PUT_32 (abfd, 0, filehdr_out->f_timdat); ++ } + + PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr, + =09=09 filehdr_out->f_symptr); +--- a/ld/pe-dll.c ++++ b/ld/pe-dll.c +@@ -26,6 +26,8 @@ + #include "filenames.h" + #include "safe-ctype.h" + ++#include ++#include + #include + + #include "ld.h" +@@ -1202,8 +1204,36 @@ + + memset (edata_d, 0, edata_sz); + +- if (pe_data (abfd)->insert_timestamp) +- H_PUT_32 (abfd, time (0), edata_d + 4); ++ if (pe_data (abfd)->insert_timestamp) { ++ time_t now; ++ char *source_date_epoch; ++ unsigned long long epoch; ++ char *endptr; ++ ++ now =3D time(NULL); ++ source_date_epoch =3D getenv("SOURCE_DATE_EPOCH"); ++ if (source_date_epoch) { ++ errno =3D 0; ++ epoch =3D strtoull(source_date_epoch, &endptr, 10); ++ if ((errno =3D=3D ERANGE && (epoch =3D=3D ULLONG_MAX || epoch =3D= =3D 0)) ++=09 || (errno !=3D 0 && epoch =3D=3D 0)) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: strtoull: %s\n", ++=09 strerror(errno)); ++ } else if (endptr =3D=3D source_date_epoch) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: No digits were found: = %s\n", ++=09 endptr); ++ } else if (*endptr !=3D '\0') { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: Trailing garbage: %s\n= ", ++=09 endptr); ++ } else if (epoch > ULONG_MAX) { ++=09einfo("Environment variable $SOURCE_DATE_EPOCH: value must be smaller = than or equal to: %lu but was found to be: %llu\n", ++=09 ULONG_MAX, epoch); ++ } else { ++=09now =3D epoch; ++ } ++ } ++ H_PUT_32 (abfd, now, edata_d + 4); ++ } + + if (pe_def_file->version_major !=3D -1) + { +--- a/ld/emultempl/pe.em ++++ b/ld/emultempl/pe.em +@@ -303,7 +303,7 @@ + OPTION_USE_NUL_PREFIXED_IMPORT_TABLES}, + {"no-leading-underscore", no_argument, NULL, OPTION_NO_LEADING_UNDERS= CORE}, + {"leading-underscore", no_argument, NULL, OPTION_LEADING_UNDERSCORE}, +- {"insert-timestamp", no_argument, NULL, OPTION_INSERT_TIMESTAMP}, ++ {"insert-timestamp", optional_argument, NULL, OPTION_INSERT_TIMESTAMP= }, + {"no-insert-timestamp", no_argument, NULL, OPTION_NO_INSERT_TIMESTAMP= }, + #ifdef DLL_SUPPORT + /* getopt allows abbreviations, so we do this to stop it +--- a/ld/emultempl/pep.em ++++ b/ld/emultempl/pep.em +@@ -321,7 +321,7 @@ + {"no-bind", no_argument, NULL, OPTION_NO_BIND}, + {"wdmdriver", no_argument, NULL, OPTION_WDM_DRIVER}, + {"tsaware", no_argument, NULL, OPTION_TERMINAL_SERVER_AWARE}, +- {"insert-timestamp", no_argument, NULL, OPTION_INSERT_TIMESTAMP}, ++ {"insert-timestamp", optional_argument, NULL, OPTION_INSERT_TIMESTAMP= }, + {"no-insert-timestamp", no_argument, NULL, OPTION_NO_INSERT_TIMESTAMP= }, + {"build-id", optional_argument, NULL, OPTION_BUILD_ID}, + {NULL, no_argument, NULL, 0} -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 05:45:17 2020 Received: (at 40362) by debbugs.gnu.org; 2 Apr 2020 09:45:17 +0000 Received: from localhost ([127.0.0.1]:39220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJwPV-0004Xh-Eq for submit@debbugs.gnu.org; Thu, 02 Apr 2020 05:45:17 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:36091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJwPT-0004X5-Lb for 40362@debbugs.gnu.org; Thu, 02 Apr 2020 05:45:16 -0400 Received: by mail-wr1-f51.google.com with SMTP id 31so3388478wrs.3 for <40362@debbugs.gnu.org>; Thu, 02 Apr 2020 02:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=1/Qng8z8O8Lu79jI94jRKHaMdDId1eBJ/zo63jL8PbY=; b=nOVCrE43H9//gQcIgg//EC8FPiLEdEBIWWg8srC+8Qkz+Fm/LxRWzkWAtCdHuDXt9u SCcgI7hEeOEXECPBH47FLfrEkU9a6ZU471T8DueAXokibAKD/gTHEuUFFYG8pCMbF9SS OGIMPeXF0GqiZVXDiJBoM2HobpDwN5XyGg8s0GI1BmgHSc6rSK3UOIoANSbXV95GwH/0 titFS22o7EUzanmLaZwEfBXgmiHKgbfQvwPCveUepSfX46sNPPrXaep24rweU/DopVT0 dFfHW2FLT7fprTh7tJvBWJkQMnYp6VWysxsckxevXHTcqZTf77XeDxSJaruX6slkYcZ1 Khsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=1/Qng8z8O8Lu79jI94jRKHaMdDId1eBJ/zo63jL8PbY=; b=YTz0gWuivb79E1HDinGJWaLAWcEZzfF8oJH6o4ZJYMZz19rKH1cWl9omjaUMBFfk5s tzHC67q2vQmR6Coh/gMrDsb/4NFWEfIW4emQGnL7WFG4DJ1Xgr5tU1/lwNcYxgkDxlxo 8c+nXLS1dBm5zQZzH6ECyVeirHnHaX2ZVaQEC/bgOteM6DDFcI3YkzdjxowwDj/PXA4P 2WC48GR0FA31QZzm0rhV+TucxWtq36X6WE/4KypYuowCESoGrvnXuyo78t/SKU1JUgM1 8suKAUkmAVo6d6TzVakrX+2fGHxq92gSWBE+X2Sq+3AhX8RicOHrnNcA1VC3EhYYGrYd 3YaA== X-Gm-Message-State: AGi0PuZSvsuau8a7pB/SiqHc4plfIPGPg0kKGaAYy+oNinLjdlj+APRU jBMTx5Pn4v0LBHXvgqBfOJTyrSb2wiJdwA== X-Google-Smtp-Source: APiQypJVz3VAw53aTJ6OWA9220NKPEukwYk7pgp/D4yE9F7aKwwHu1GQWyJWHXUZfdqhrpc1E/USYg== X-Received: by 2002:a5d:4246:: with SMTP id s6mr2566820wrr.321.1585820709409; Thu, 02 Apr 2020 02:45:09 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:75c3:1709:597b:7112]) by smtp.gmail.com with ESMTPSA id p10sm6696469wrm.6.2020.04.02.02.45.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Apr 2020 02:45:08 -0700 (PDT) References: <87d08rcmyx.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Carl Dong Subject: Re: [bug#40362] [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. In-reply-to: Date: Thu, 02 Apr 2020 11:45:08 +0200 Message-ID: <875zeicjbv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40362 Cc: "40362@debbugs.gnu.org" <40362@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hey, > I named it this way to make it clear that PACKAGE-WITH-PATCH overrides the > patches, whereas PACKAGE-WITH-EXTRA-PATCHES appends the patches (just like > PACKAGE-WITH-EXTRA-CONFIGURE-VARIABLE)... In fact, I'm not sure that Ludovic > originally intended PACKAGE-WITH-PATCH to override rather than append? Well I'm also unsure, but yes it makes sense to name it this way then! > See the updated patch below, is this the right solution? In general, its preferred to send one of the procedure call to the next line and let Emacs indent everything. Like this: --8<---------------cut here---------------start------------->8--- (cross (cond ((string-prefix? "xtensa-" target) (package-with-patch binutils (search-patch "ath9k-htc-firmware-binutils.patch"))) ((target-mingw? target) (package-with-extra-patches binutils (search-patches "binutils-mingw-w64-specify-timestamp.patch" "binutils-mingw-w64-reproducible-import-libraries.patch"))) (else binutils)) target))) --8<---------------cut here---------------end--------------->8--- This patch will trigger a rebuild of all cross-compiled packages, so it would be better to send it to core-updates maybe? And as core-updates has been frozen a few days ago, you may need to wait for core-updates-next to open. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 11:54:01 2020 Received: (at 40362) by debbugs.gnu.org; 2 Apr 2020 15:54:01 +0000 Received: from localhost ([127.0.0.1]:40493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK2AL-0005q4-40 for submit@debbugs.gnu.org; Thu, 02 Apr 2020 11:54:01 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK2AJ-0005pa-Ul for 40362@debbugs.gnu.org; Thu, 02 Apr 2020 11:54:00 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C8CA95C0276; Thu, 2 Apr 2020 11:53:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 02 Apr 2020 11:53:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Fm/BymLIWqPZ/TGiOXhMSg1JvV sU36VDK49Ao22hZG8=; b=x/CluXAbLyc/WBIRQy/XHGxNqars8plnnIGQgbOQgB LqzYa6AsdKyr6j/atPE1Ym5uLA4RrF7nsN5mSYUvmV1qolhry+wRS6pADjQP+oN0 tYzCIrsgu3ETHlfPbbr2nfPHgeOSAJQiUfqi4ConeVe4EbRvXtUwA1xBTZp3md+L HalGf+0xoA8af50O9wnQddtN4w1LGqkTBoa9aT39hOS1OtgZZxMVqcwxq4nvJMC+ +3UoUPTvXWE15rXGfIJ8g1DnykCz7hv1SCnG2ODaP+A4ceiMvZ3YCXowi1S6ybhc ATkMjwHnj2oOyZiTG+0NZKAJFSaUIsjpE9Pspj9zf4LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Fm/Bym LIWqPZ/TGiOXhMSg1JvVsU36VDK49Ao22hZG8=; b=gu/vKvS9E6c8yi+t9+21Sr pM6tSJaCGSXWGqASrpH0ebpA/4s513V7uDwwmR/T27bphCTlznPPdMD6RIv2An/s rtD8HsolRC4JeRDO5PciJZOx5tQMNfVqfCs/2QDdQxCvimUti1Wr6RKCbTuriZ0q TiDsEkMCB+ynnk9YLv+/5x7poPdjy1WVf+E4qkNrnuZPloqsDySgslpElZye0b6I qICMCvGe/wacrxYmVlRPolEP8OJxdydrKe0aeY8CwhOCoWeXETwWqIwkDpfT5ZP5 VQZcsiZETGAnWqE+JfrLFbr6/IN3W/HGUAjBSgC9fGP5qDN2fgM1dsHEw3h0PY7A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeggdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeekge drvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 3EC1D306CE0A; Thu, 2 Apr 2020 11:53:54 -0400 (EDT) From: Marius Bakke To: Mathieu Othacehe , Carl Dong Subject: Re: [bug#40362] [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. In-Reply-To: <875zeicjbv.fsf@gmail.com> References: <87d08rcmyx.fsf@gmail.com> <875zeicjbv.fsf@gmail.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 02 Apr 2020 17:53:52 +0200 Message-ID: <87mu7tsx2n.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40362 Cc: "40362@debbugs.gnu.org" <40362@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Mathieu Othacehe writes: > This patch will trigger a rebuild of all cross-compiled packages, so it > would be better to send it to core-updates maybe? And as core-updates > has been frozen a few days ago, you may need to wait for > core-updates-next to open. We traditionally only cared about native builds for the rebuild limit as the CI only cross-compiles a handful of packages. So 'master' is probably fine. Perhaps that will change now that people can cross-compile full system configurations. What is your opinion Mathieu, as a major stakeholder in the cross-compilation camp? :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6GCpAACgkQoqBt8qM6 VPrQUQf+PCuwuLdpSSq2swy8IjiX/crqTu8Ek+4bxGnwSSuL7030wY98Vh+ZQGHT DJVNTg6uqT9UB4AzKS3sHlWuVripMk9sFa2uDPxcwVv8dQTAUU3T+kJzBB7ncaQr AlALDFxswKVi0RzRuWG1mDjyPXZey6o2SNRT95egx9L7+vgjM/0NDPhmGzY0chbe MQDTzh9hZZZsAy5L+lwANFGodBlpXGNCbZf4Jrq4jB+zF+1KJQ1Y6dfZ8/xgG0X7 rBrXH130CR7eRXRQSel1Unrj4N5rI5TrTEYyC0lKZAYRBOvrQs1ESFJckB0x30Qg Q+FSjtJNZ9PoHF9ocUeTIvKPBz8ubw== =wtra -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 12:13:01 2020 Received: (at 40362) by debbugs.gnu.org; 2 Apr 2020 16:13:01 +0000 Received: from localhost ([127.0.0.1]:40552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK2Sj-00072G-Dl for submit@debbugs.gnu.org; Thu, 02 Apr 2020 12:13:01 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK2Sh-00071d-AF for 40362@debbugs.gnu.org; Thu, 02 Apr 2020 12:13:00 -0400 Received: by mail-wm1-f65.google.com with SMTP id e9so4301159wme.4 for <40362@debbugs.gnu.org>; Thu, 02 Apr 2020 09:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=exeJR6c18ixqLJibKKk4N8y9RY4fPKRmnMjdw8KLjKw=; b=eTnGTc4Q2OjaxEhaz1IjD7PYPVTuwhpAesjDNQvPQ+RIBCoUo4IObm2Fm1U5HSraeM bhOf9xpN025z7uW3y/oKI3padGOmL4/3ko3M+pITDeWm6ia4H5bGN0EvlA87oHVNa2kn 1+RWDVAIJPbWzKBH4xYgEOOkg/e3iFe6KdRZ7cDCRnbbIgwggq+kRJlwizvWZAR2AKEK Cg+GKQGzryEHud7YnS9Qw6hpdHRn1MsT/gIUyKOU0APGRkfI4tUlt5fHR3cfUxo569jo qo9wk7bNqexPpKsoym5CY+nVPU+zrQ8y+39/jb6e9u08XBpM/UXXWmr0LAKwLqikRWpj dmsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=exeJR6c18ixqLJibKKk4N8y9RY4fPKRmnMjdw8KLjKw=; b=Ct9vRW02r0wGxt5o/RC8cq/tTpKZPUN6/60PdGgob/UZNbh8EnKdZOrl5W6SwCcSb/ gLC4Wpm4IRzPeg6C1XqSMixVLstx4kuseNARPDOVuGnA8AJi5C0eF8A6++SZ9V2rp016 lavBddmLXn3TyAbfbdLGXIOgrOAXI+JWKmocygCwyQf9HEBkS9V5Unp0Iax5pj5o/iPr GlFzBup3D/95YZEIc8ybal5zvi2X6lIfArzgmfXorzwdr/+FeJKeRFb9nFqNjGgssQ17 zaSa50TbIwj2t7BN7V5b3C+nVwQRANflY+Jw3IdAyc0sXOvwez8zhQYnmqkDWigEfyhz +1CQ== X-Gm-Message-State: AGi0PuZ8h3K81K3h+Jz8MT7GuX05s/ZU/tWCje0tQqlSjzLgyB9FsN4/ PSi+P/dyvsFPteMg715QBGNYfetsbTI= X-Google-Smtp-Source: APiQypLGA+jM0X70SllYu4iPEfHI+pb7pzsuFewlxjheyqc+8jTsBF7lIlviyJXYl2A0Ex+E4+U4Lw== X-Received: by 2002:a1c:3b89:: with SMTP id i131mr4148626wma.35.1585843972792; Thu, 02 Apr 2020 09:12:52 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:e0:63cb:aa5f:58b0]) by smtp.gmail.com with ESMTPSA id f12sm8073831wrm.94.2020.04.02.09.12.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 09:12:51 -0700 (PDT) From: Mathieu Othacehe To: Marius Bakke Subject: Re: [bug#40362] [PATCH] gnu: cross-base: Add mingw-w64 specific binutils patches. References: <87d08rcmyx.fsf@gmail.com> <875zeicjbv.fsf@gmail.com> <87mu7tsx2n.fsf@devup.no> Date: Thu, 02 Apr 2020 18:12:50 +0200 In-Reply-To: <87mu7tsx2n.fsf@devup.no> (Marius Bakke's message of "Thu, 02 Apr 2020 17:53:52 +0200") Message-ID: <87o8s927el.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40362 Cc: Carl Dong , "40362@debbugs.gnu.org" <40362@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Perhaps that will change now that people can cross-compile full system > configurations. What is your opinion Mathieu, as a major stakeholder in > the cross-compilation camp? :-) Hehe, for now that is fine with me :) I guess you can then push to master Carl. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 12:26:39 2020 Received: (at control) by debbugs.gnu.org; 3 Apr 2020 16:26:39 +0000 Received: from localhost ([127.0.0.1]:43096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKP9T-0006Pc-1c for submit@debbugs.gnu.org; Fri, 03 Apr 2020 12:26:39 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:37162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKP9S-0006PA-1T for control@debbugs.gnu.org; Fri, 03 Apr 2020 12:26:38 -0400 Received: by mail-wm1-f46.google.com with SMTP id j19so8383544wmi.2 for ; Fri, 03 Apr 2020 09:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=ag4JcQbekLh5RpHXrQsshKoW7QvBzEZI0TrVs3CruB0=; b=TBnrRXaMgvviZkvRDaq23QNJYp7xT10R8deBxQG77xIe2Xjki4s0pObY12SLJoSg8Z 1D5NoEwU3thQDlJs8nGsuq7197fhKuPV6XYpPcdcSo/lKAw5egKMhHDZmBOQafmrGD9Y Bdlu6jOiuMlGJmFpNdJCNKG8eMBHoys/OdVBS0K5FocynbYQArfC4v2Go5LOOTdz6xOf Pdz+duP2vIYiUq29zHjGd0JLoytHoPhN3sgkVDEX64rr2YGCdn/bzkJw1uyo0aKLdMFa G/grTxZCRjfsD7b47YYi5U1/O7o3eXTGcuXm6Co0UACsT4KFtcVD1YkxXqatKlJGLsry 2Xxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=ag4JcQbekLh5RpHXrQsshKoW7QvBzEZI0TrVs3CruB0=; b=IbD8m83oIBZexMeIKoRIz2uxFocO93+Pn3ghGiXW/LSfpeVlRdmpStPN5trt0C9XJI KSH3/xekJ6aDD8eLNC6Cerc6ZIYTATZQrPGOTEKxu04DCjbX45HGY86npQTA3n+PvWKJ KsfBj2q5ei/b4szi4V2CuhFHKrSV4M5QC241ByrkUBxu0HlepK/dOxrYuhG0pqSF4Pgy B8GQjov/Kdg50bb/U13wbymup5rkd+vMnxcRhf3B6PzLwEet3mNmGVSbIBwEnOYGdf1x A/NSKxbtXzNueF1CODfJ8Qx66B4uqyZCePDOYwRQd3DH5NZvqIL0aL0HvmTs6UcHTExg /eVg== X-Gm-Message-State: AGi0PuaaGkNEzsjmnt8Flvm9oEgqghG9a+TAHOiy4vjhbERWLjdshG3L B3037vLPt6WFjHgO+fA8Cs+HjQQrRNQ= X-Google-Smtp-Source: APiQypJxdPjHivGwZMr6JBH2S8dsubPtUq7140rJf9IZfWrg8TOShZbLNmHs+a6SOC71uIytyekMMg== X-Received: by 2002:a1c:41d4:: with SMTP id o203mr9158753wma.1.1585931191905; Fri, 03 Apr 2020 09:26:31 -0700 (PDT) Received: from cervin ([2a01:cb18:832e:5f00:a873:d253:d873:1441]) by smtp.gmail.com with ESMTPSA id b203sm12156127wmc.45.2020.04.03.09.26.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 09:26:31 -0700 (PDT) Date: Fri, 03 Apr 2020 18:26:30 +0200 Message-Id: <87ftdkcz7t.fsf@gmail.com> To: control@debbugs.gnu.org From: Mathieu Othacehe Subject: control message for bug #40362 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 40362 quit From unknown Sun Jun 15 08:40:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 May 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator