From unknown Sat Aug 09 22:39:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72725: [core-updates] [i686-linux] guile-static fails to build Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 20 Aug 2024 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72725 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72725@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17241393223038 (code B ref -1); Tue, 20 Aug 2024 07:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Aug 2024 07:35:22 +0000 Received: from localhost ([127.0.0.1]:59742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgJOk-0000mv-2o for submit@debbugs.gnu.org; Tue, 20 Aug 2024 03:35:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:36340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgJOh-0000ml-L0 for submit@debbugs.gnu.org; Tue, 20 Aug 2024 03:35:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgJNz-0004He-Pm for bug-guix@gnu.org; Tue, 20 Aug 2024 03:34:36 -0400 Received: from sender3-of-o58.zoho.com ([136.143.184.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgJNx-0003wY-Oq for bug-guix@gnu.org; Tue, 20 Aug 2024 03:34:35 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1724139268; cv=none; d=zohomail.com; s=zohoarc; b=UVjcY48sJHjMrEpKo72B8w5T/fOuMXkJ9fvlI1BFeexAnwIEVVLeeRJjGQ8Uzpm2qJ7CZAXd7mUrJI2Vj8U6U1fCFfT5Z4e10C6gmlEaHwpHRk6p1XkLR96tCegF8vC5lF2TbMu63kH8ZekFhPoQqkfnoNVzJtsomZLs5BM3/Ik= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724139268; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=XP841jWJF9TgnBawZ0zd2hoIK36k2t7Ve+Nlz5W+Nac=; b=l4dsJKBPui7oZI6tblMjTWwglz1O46yjj6fpwDFoBpljBucYJS3uQeS58l72Dxz2dDVaAoC86N8lCwvx5bJxU814/Qafu2T/P+uT3z90ZRhaYKNQgU7cEZaeDumCaXV4dWn8pX8rA5xmL0pGitBi5YDrCBgrLFBFbIhbhAvWjUQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724139268; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=XP841jWJF9TgnBawZ0zd2hoIK36k2t7Ve+Nlz5W+Nac=; b=dCCxI6ARbWBalhZ4cKRCXLiVp3MqVkI1xMivhD5Rm3117Vh/cx4Avu+SNTsE5sXf cpenGavMsMtFSc5g96dXANE8G9uFO5YrKRY8dNdFvaYTgLmHJkMg9oWXy2sSJaqmCrL KeYno0ikjz9BaFl8UZm0RARGf3azG4X/8RzSo6L0= Received: by mx.zohomail.com with SMTPS id 1724139266059202.43876075044545; Tue, 20 Aug 2024 00:34:26 -0700 (PDT) From: Ricardo Wurmus Date: Tue, 20 Aug 2024 09:34:22 +0200 Message-ID: <87o75n8x6p.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.58; envelope-from=rekado@elephly.net; helo=sender3-of-o58.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) I'm attempting to use "guix deploy" to deploy to a i686-linux system. The build of /gnu/store/c9ivpr5g7arp67kgfhnp37z22gadg6zp-guile-static-3.0.9.drv fails. This is needed for the initrd derivations /gnu/store/nqrfgnq84i8qrabzf2022rhw926i70ab-guile-static-initrd-3.0.9.drv and /gnu/store/gz0p3q9zvqyvlbpsqaqy1842vjjn66xm-raw-initrd.drv. Here is how guile-static fails: --8<---------------cut here---------------start------------->8--- CCLD guile lto-wrapper: warning: using serial compilation of 22 LTRANS jobs ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: in function `scm_dlopen': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/:78:(.text+0x2d): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: in function `scm_tmpnam': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/posix.c:1757:(.text+0x1f62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: in function `scm_odd_p': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:490:(.text+0x4a02): undefined reference to `fmod' ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: in function `scm_even_p': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:517:(.text+0x4af2): undefined reference to `fmod' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:2866: guile] Error 1 make[3]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile' make[2]: *** [Makefile:2725: all] Error 2 make[2]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile' make[1]: *** [Makefile:2152: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9' make: *** [Makefile:2038: all] Error 2 --8<---------------cut here---------------end--------------->8--- This result was obtained on core-updates commit aab1fe98574e1cd4c7911c1e5571b3733fb71d67. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 20 11:19:10 2024 Received: (at control) by debbugs.gnu.org; 20 Aug 2024 15:19:10 +0000 Received: from localhost ([127.0.0.1]:33569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgQda-0005ci-DP for submit@debbugs.gnu.org; Tue, 20 Aug 2024 11:19:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgQdW-0005cH-8v for control@debbugs.gnu.org; Tue, 20 Aug 2024 11:19:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgQcj-0001U4-JW for control@debbugs.gnu.org; Tue, 20 Aug 2024 11:18:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=g+RxQKuooryXB6KGbwL6Kxs1JyJZP6qjJL8bk4iZ/ug=; b=bmJgXmlUI5mwkw dAjzkAU9qCdygP5mGfXvv0R2dj+g8zS4XpBVyaF8v13Uh+6Z7tiz/m/Et3b8KC3aiAZ8KXZVMh4/h cwdO7yUZqBzTqv18/kqjKtdeK3YwbamD9SkoDUPQNOGQKe24PXcfJ+z2+QxeRo8SQ2s7QxBS3zecm 95VpinYWrWwDxLsKRtpGwRLvzxV34qBInYJRb0WOSNCM1bw466ChsnjNskSUmb/6kqBkG9gNszpgf lInwe876ilb1Cql2vOCbJKBuHype9t9pSW46vWv6/d6m0Kw1RxEtxghw8wOKGxm4okoVVOBLhj8wT qh5nHiIanTV/vx3m/fYQ==; Date: Tue, 20 Aug 2024 17:18:14 +0200 Message-Id: <87wmkbrznt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #72725 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) severity 72725 important quit From unknown Sat Aug 09 22:39:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72725: [core-updates] [i686-linux] guile-static fails to build Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Aug 2024 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72725 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 72725@debbugs.gnu.org Received: via spool by 72725-submit@debbugs.gnu.org id=B72725.17242797268516 (code B ref 72725); Wed, 21 Aug 2024 22:36:02 +0000 Received: (at 72725) by debbugs.gnu.org; 21 Aug 2024 22:35:26 +0000 Received: from localhost ([127.0.0.1]:36440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgtvK-0002DH-Ct for submit@debbugs.gnu.org; Wed, 21 Aug 2024 18:35:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgtvG-0002D0-Hg for 72725@debbugs.gnu.org; Wed, 21 Aug 2024 18:35:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgtuR-0005E6-66; Wed, 21 Aug 2024 18:34:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=qYMZgI1VkSXIjSe/II+dJSGm9QOC64yN6ZNCJTMQDVo=; b=JObn7df8n9MlHoH9ondX Ic3O9hDElfiGve/MeL137OJK80nOAMDuVMrE7bRazxkwCuYhyuLYnrTkbDkUcYawYZHvdwCGOvJCQ UaFxCzauc2vFgm8IMmhfArNshgxA7uAbTW4wIGfGLwbPPYgidIojlsrer4GWh1DVQo6YLvHyh04Vc d8C86d5Dyk31xqgp0qfvVa0hZVePeiy3QmpPuIp4eNMeS9KLXtEBbQFmm6aa+x5rTiaC4rtKH/AQR R1ddPQGIpq8TxsDmxHLFGOkV7/KISCB/pdDgidjmd3H7/SfUXdt4swlnB7G2HbqZqicAuqOhgG1Y5 YacL3wFOaG1Z8A==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87o75n8x6p.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 20 Aug 2024 09:34:22 +0200") References: <87o75n8x6p.fsf@elephly.net> Date: Thu, 22 Aug 2024 00:34:28 +0200 Message-ID: <87r0aho68b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Ricardo Wurmus skribis: > Here is how guile-static fails: > > CCLD guile > lto-wrapper: warning: using serial compilation of 22 LTRANS jobs > ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: = in function `scm_dlopen': > /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/:78:(.text+0x2d): warning: Using 'dlopen' in statically linked application= s requires at runtime the shared libraries from the glibc version used for = linking > ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: = in function `scm_tmpnam': > /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/posix.c:175= 7:(.text+0x1f62): warning: the use of `tmpnam' is dangerous, better use `mk= stemp' > ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: i= n function `scm_odd_p': > /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:4= 90:(.text+0x4a02): undefined reference to `fmod' > ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: i= n function `scm_even_p': > /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:5= 17:(.text+0x4af2): undefined reference to `fmod' The =E2=80=98fmod=E2=80=99 symbol is missing from the i686-linux libm.a, bu= t it=E2=80=99s available in the x86_64 libm-2.39.a: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix shell --pure -s x86_64-linux gcc-toolchain@11{,:stati= c} -- gcc -Wall -O2 fmod.c -lm -static $ file a.out a.out: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically= linked, for GNU/Linux 3.2.0, not stripped $ ./pre-inst-env guix shell --pure -s i686-linux gcc-toolchain@11{,:static}= -- gcc -Wall -O2 fmod.c -lm -static ld: /tmp/ccvt0V2Q.o: in function `main': fmod.c:(.text.startup+0x3c): undefined reference to `fmod' collect2: error: ld returned 1 exit status $ cat fmod.c #include #include int main (int argc, char *argv[]) { return fmod (atof (argv[1]), atof (argv[2])); } --8<---------------cut here---------------end--------------->8--- I=E2=80=99m not sure why that is the case; i686 seems to be the only one wi= th that problem. Ludo=E2=80=99. From unknown Sat Aug 09 22:39:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#72725: closed (Re: bug#72725: [core-updates] [i686-linux] guile-static fails to build) Message-ID: References: <87ed6gn4yn.fsf@gnu.org> <87o75n8x6p.fsf@elephly.net> X-Gnu-PR-Message: they-closed 72725 X-Gnu-PR-Package: guix Reply-To: 72725@debbugs.gnu.org Date: Thu, 22 Aug 2024 12:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1724328062-31517-1" This is a multi-part message in MIME format... ------------=_1724328062-31517-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72725: [core-updates] [i686-linux] guile-static fails to build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72725@debbugs.gnu.org. --=20 72725: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72725 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1724328062-31517-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72725-done) by debbugs.gnu.org; 22 Aug 2024 12:00:26 +0000 Received: from localhost ([127.0.0.1]:36991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sh6UL-0008BE-Te for submit@debbugs.gnu.org; Thu, 22 Aug 2024 08:00:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sh6UJ-0008Aw-Ia for 72725-done@debbugs.gnu.org; Thu, 22 Aug 2024 08:00:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sh6TT-0000b0-AZ; Thu, 22 Aug 2024 07:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=+5VtNaxqFVnttZMjIvN7jYqiH4FwMG8wTCkCzJa2R0A=; b=eiIj4i6g+YncgCtDnF/G KcgyGihMgDw4HBPIODYMTCsOraruILZ7XXO9H5r+pJ+2cYfqIew96Z7nglEmCpogJu6l28v2/B279 MgIsuejVEOE+pi6MqTLq9/VWSDFg1GMrCq8MAHKXP1dqkRe7XuMhgt4l3FjyCQIIO81hq5OXwZ/Ga pq2cF8SfPpYX6sBepccWmupBv2bGwxJJw/P3PIExXAxM+BsIP3juNi0mSJSDADyU8cxvPkkSfI77R PEOiIisoQsJbv3jnWsc3YGA//hjpbYh/v1gdsOtVDKv0mn/W8b2v4g1RetVfYu9ZVg4qsmZ4opAXx 8WoxNm075DSf/A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: bug#72725: [core-updates] [i686-linux] guile-static fails to build In-Reply-To: <87r0aho68b.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 22 Aug 2024 00:34:28 +0200") References: <87o75n8x6p.fsf@elephly.net> <87r0aho68b.fsf@gnu.org> Date: Thu, 22 Aug 2024 13:59:28 +0200 Message-ID: <87ed6gn4yn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72725-done Cc: 72725-done@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: -3.3 (---) Ludovic Court=C3=A8s skribis: > Ricardo Wurmus skribis: > >> Here is how guile-static fails: >> >> CCLD guile >> lto-wrapper: warning: using serial compilation of 22 LTRANS jobs >> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o:= in function `scm_dlopen': >> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/:78:(.text+0x2d): warning: Using 'dlopen' in statically linked applicatio= ns requires at runtime the shared libraries from the glibc version used for= linking >> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o:= in function `scm_tmpnam': >> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/posix.c:17= 57:(.text+0x1f62): warning: the use of `tmpnam' is dangerous, better use `m= kstemp' >> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: = in function `scm_odd_p': >> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:= 490:(.text+0x4a02): undefined reference to `fmod' >> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: = in function `scm_even_p': >> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:= 517:(.text+0x4af2): undefined reference to `fmod' > > The =E2=80=98fmod=E2=80=99 symbol is missing from the i686-linux libm.a, = but it=E2=80=99s > available in the x86_64 libm-2.39.a: This is an upstream bug, fixed in glibc 2.40 (glibc commit 0b716305dfb48c2d13ed4f7d06c082b90c1d226f): https://sourceware.org/bugzilla/show_bug.cgi?id=3D31488 Fixed in commit 87cc46aefce0072dc83e667d85a59a34eecfd89f. Thanks, Ludo=E2=80=99. ------------=_1724328062-31517-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Aug 2024 07:35:22 +0000 Received: from localhost ([127.0.0.1]:59742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgJOk-0000mv-2o for submit@debbugs.gnu.org; Tue, 20 Aug 2024 03:35:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:36340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgJOh-0000ml-L0 for submit@debbugs.gnu.org; Tue, 20 Aug 2024 03:35:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgJNz-0004He-Pm for bug-guix@gnu.org; Tue, 20 Aug 2024 03:34:36 -0400 Received: from sender3-of-o58.zoho.com ([136.143.184.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgJNx-0003wY-Oq for bug-guix@gnu.org; Tue, 20 Aug 2024 03:34:35 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1724139268; cv=none; d=zohomail.com; s=zohoarc; b=UVjcY48sJHjMrEpKo72B8w5T/fOuMXkJ9fvlI1BFeexAnwIEVVLeeRJjGQ8Uzpm2qJ7CZAXd7mUrJI2Vj8U6U1fCFfT5Z4e10C6gmlEaHwpHRk6p1XkLR96tCegF8vC5lF2TbMu63kH8ZekFhPoQqkfnoNVzJtsomZLs5BM3/Ik= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724139268; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=XP841jWJF9TgnBawZ0zd2hoIK36k2t7Ve+Nlz5W+Nac=; b=l4dsJKBPui7oZI6tblMjTWwglz1O46yjj6fpwDFoBpljBucYJS3uQeS58l72Dxz2dDVaAoC86N8lCwvx5bJxU814/Qafu2T/P+uT3z90ZRhaYKNQgU7cEZaeDumCaXV4dWn8pX8rA5xmL0pGitBi5YDrCBgrLFBFbIhbhAvWjUQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724139268; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=XP841jWJF9TgnBawZ0zd2hoIK36k2t7Ve+Nlz5W+Nac=; b=dCCxI6ARbWBalhZ4cKRCXLiVp3MqVkI1xMivhD5Rm3117Vh/cx4Avu+SNTsE5sXf cpenGavMsMtFSc5g96dXANE8G9uFO5YrKRY8dNdFvaYTgLmHJkMg9oWXy2sSJaqmCrL KeYno0ikjz9BaFl8UZm0RARGf3azG4X/8RzSo6L0= Received: by mx.zohomail.com with SMTPS id 1724139266059202.43876075044545; Tue, 20 Aug 2024 00:34:26 -0700 (PDT) From: Ricardo Wurmus To: bug-guix@gnu.org Subject: [core-updates] [i686-linux] guile-static fails to build Date: Tue, 20 Aug 2024 09:34:22 +0200 Message-ID: <87o75n8x6p.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.58; envelope-from=rekado@elephly.net; helo=sender3-of-o58.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'm attempting to use "guix deploy" to deploy to a i686-linux system. The build of /gnu/store/c9ivpr5g7arp67kgfhnp37z22gadg6zp-guile-static-3.0.9.drv fails. This is needed for the initrd derivations /gnu/store/nqrfgnq84i8qrabzf2022rhw926i70ab-guile-static-initrd-3.0.9.drv and /gnu/store/gz0p3q9zvqyvlbpsqaqy1842vjjn66xm-raw-initrd.drv. Here is how guile-static fails: --8<---------------cut here---------------start------------->8--- CCLD guile lto-wrapper: warning: using serial compilation of 22 LTRANS jobs ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: in function `scm_dlopen': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/:78:(.text+0x2d): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans14.ltrans.o: in function `scm_tmpnam': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/posix.c:1757:(.text+0x1f62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: in function `scm_odd_p': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:490:(.text+0x4a02): undefined reference to `fmod' ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccfveS8L.ltrans3.ltrans.o: in function `scm_even_p': /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/numbers.c:517:(.text+0x4af2): undefined reference to `fmod' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:2866: guile] Error 1 make[3]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile' make[2]: *** [Makefile:2725: all] Error 2 make[2]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile' make[1]: *** [Makefile:2152: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9' make: *** [Makefile:2038: all] Error 2 --8<---------------cut here---------------end--------------->8--- This result was obtained on core-updates commit aab1fe98574e1cd4c7911c1e5571b3733fb71d67. -- Ricardo ------------=_1724328062-31517-1--