From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aLggKCGcN2EkNwAAgWs5BA (envelope-from ) for ; Tue, 07 Sep 2021 19:06:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CA/FIyGcN2HgSAAA1q6Kng (envelope-from ) for ; Tue, 07 Sep 2021 17:06:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9C1BF304 for ; Tue, 7 Sep 2021 19:06:40 +0200 (CEST) Received: from localhost ([::1]:38640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNeYR-0007g2-Tn for larch@yhetil.org; Tue, 07 Sep 2021 13:06:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNeYA-0007ck-5D for guix-devel@gnu.org; Tue, 07 Sep 2021 13:06:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNeY7-0002tD-LY for guix-devel@gnu.org; Tue, 07 Sep 2021 13:06:21 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id ADC34240104 for ; Tue, 7 Sep 2021 19:06:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631034375; bh=SDeY+a+HkHjWBp6zrPhME44R5xZ/twBJzO0bXwJkFjg=; h=From:To:Cc:Subject:Date:From; b=IbL2fy08Cqc+vUO/nw8zvTPY6fAmfj8BOT7m1Od4mJ3fsQigCxXjg3pk6NCqK6+dF s5OWi4m8jKRCxzNPOqmVkM/bedgpx3qZzZ9FzOGRDyX0PoJTxq2AHaWXo9QyLIkaTl zOvtOhU9MIE9yEuM0HKEg9mwJXUi1Al0ESp0zjuWSxA8OCzE4CsKSuZFrwUkikzlrV l0tAkU4XEW1DMUqXSuJu/zjYx3o8bsHJVtS5R1BPZ/gjzqQQmQUkBiiksHm85QsPRz JePfwKtvGy2+pjjH5EIq+26FVwqahZ+qOdFwXgMX48+2UiNpaqYieBq+GP01BATl9l nTWYYl9IE5lCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H3s9f0XyZz6tm6; Tue, 7 Sep 2021 19:06:13 +0200 (CEST) References: <87fsuh4rsb.fsf@kitej> From: Guillaume Le Vaillant To: Leo Famulari Subject: Re: [core-updates-frozen] Bug in binutils 2.37 Date: Tue, 07 Sep 2021 16:38:34 +0000 In-reply-to: Message-ID: <87o894iad7.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631034401; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SDeY+a+HkHjWBp6zrPhME44R5xZ/twBJzO0bXwJkFjg=; b=Bvi5fHCwOHNSLoyxqSeJcwmaFTCX65fYagPJ6iraOqc0n1I8mHhfFU3vYagI8Zxynf1N3a gm4XGMhrlmcZePRnkq1jpcz4eNlok1SiqArEl4tDZLDWDLQ7TueHlLyybpT8YpxdKtC6UF Gb+6ASoczBHwpz/AoTB7BaJeU9hhyW/7Trjm0rEHhPoMfmaRZZ6wacb73Wli6L4rPaXQNH iJljrQesTgl+0x9ce+ZGULkK+83wHSDWctMWx7ULq0l2JW+Fr4I+HsrxClBPeycofQKQwT uz5ypluMse2cxaymJgsjlG1Us8rYWe2DMT7tL6G5bu7CCRLiV9GWwVBVbA62VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631034401; a=rsa-sha256; cv=none; b=KAVSmqtZp3uP/Rw0VD/qDem+N/WdClcji3SUMDbAfQmBwQmuel6iHHDjtlN2//9I3Bu+we oQTom4kIm1h0LC3WfZOkSVMtYchb9bPUY+PedqZVXhnyAYzJ2OVlnNUwmxFpVuMtAOqu4Z W1JfJ9CogVdvvpIGRqpoqjjnsEJXKM+cU1XXD7Geq1SA5xMtuXSnbp7kpdd79MldqUCnvy ue6qNlsqxzSF0ziAZ04oaxsOE88TFRAjfE97cNofL6N4bQuDi31Ub/BabHdtjQWv1ub92o w+qbTm7Ll7FU/+/CIYZpEcmkbnwWoVNZhyW24DyzgmtzjVu0J0UIAU3+y6IP3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IbL2fy08; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IbL2fy08; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E9C1BF304 X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: jwJh0ixN9hd1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari skribis: > On Mon, Sep 06, 2021 at 03:39:52PM +0000, Guillaume Le Vaillant wrote: >> There's a bug in binutils 1.37, which we are using on the >> core-updates-frozen branch. > > 2.37, right? :) > Indeed. :) >> It's a file descriptor leak that can lead to 'malformed archive' errors >> when linking libraries. We get this problem at least when building >> qtwekbit and qtwebengine. A workaround allows us to compile qtwebkit >> (see [1]), but it doesn't work for qtwebengine. >>=20 >> The bug was discussed at [2] and upstream has a patch to fix it at [3]. >> However, adding this patch to our binutils rebuilds the world. >> I'm currently trying to build things with the patched binutils. >> If everything works, should I push this fix on core-updates-frozen, or >> does someone have an idea that would lead to less rebuilds? > > There are a few options: > > 1) Apply the patch in the normal way and rebuild the world. If the > changes in the patch are limited to fixing this bug, then we can be > confident that changing binutils will not break other packages, which is > the main goal behind "freezing" the core-updates branch. Do you think > that expectation is reasonable? Otherwise, the branch is frozen except > for bug fixes; we'd like to avoid rebuilding the world but it's not a > problem if we have to. > 2) Create a binutils-fixed package and only use it for qtwebkit and > qtwebengine > 3) Try to work around the bug in the qtwebkit and qtwebengine packages > > 2 and 3 are not great because maybe the bug affects other packages in > some situations. Do you know if it manifests deterministically? The problem happens when linking a library with a lot of members (I don't know exactly how many), which is the case at least for qtwebkit and qtwebengine. Users creating such libraries in their projects will also have the problem. Increasing the maximum number of open file descriptors seems not be a very robust workaround. Setting it at 4096 for qtwebkit works, but I tried 4096, 8192 and 16384 for qtwebengine and it didn't work. I have built many packages with the patched binutils and I didn't get any new failure so far. I'm not yet at qtwebkit and qtwebengine though (compiling the 20 versions of rust took a while). So when I get there, and if the patch really solves the issue, pushing it looks like the best solution. Do you know if there are other world-rebuilding pending fixes that could go in at the same time? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYTecBA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/g4wD/Z3ddlt6W1F3qCRkms0nmbNGS5DwP9ZRmZ+SR lmYTj08A/2chgzOZ09X1AYDKiH5/69AOkRkmjLnsGb4vs7IeIa2z =3JgA -----END PGP SIGNATURE----- --=-=-=--