From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2IZqNsvFh2AN0gAAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 10:05:31 +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 aN4xMsvFh2D9eAAA1q6Kng (envelope-from ) for ; Tue, 27 Apr 2021 08:05:31 +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 53E5C2132B for ; Tue, 27 Apr 2021 10:05:30 +0200 (CEST) Received: from localhost ([::1]:42564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbIin-0006Uc-7O for larch@yhetil.org; Tue, 27 Apr 2021 04:05:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbIiM-0006UV-HM for bug-guix@gnu.org; Tue, 27 Apr 2021 04:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbIiM-00044I-92 for bug-guix@gnu.org; Tue, 27 Apr 2021 04:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbIiM-0008BU-4N for bug-guix@gnu.org; Tue, 27 Apr 2021 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48055: Statically-linked packages fail to build on powerpc64le-linux Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Apr 2021 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48055 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 48055-submit@debbugs.gnu.org id=B48055.161951068831437 (code B ref 48055); Tue, 27 Apr 2021 08:05:02 +0000 Received: (at 48055) by debbugs.gnu.org; 27 Apr 2021 08:04:48 +0000 Received: from localhost ([127.0.0.1]:47998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbIi8-0008Az-7g for submit@debbugs.gnu.org; Tue, 27 Apr 2021 04:04:48 -0400 Received: from flashner.co.il ([178.62.234.194]:38126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbIi5-0008Al-ON for 48055@debbugs.gnu.org; Tue, 27 Apr 2021 04:04:46 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 0CE3740333; Tue, 27 Apr 2021 08:04:39 +0000 (UTC) Date: Tue, 27 Apr 2021 11:04:07 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48055@debbugs.gnu.org References: <87k0oo6vbi.fsf@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oAOWgS5jhGcztLHR" Content-Disposition: inline In-Reply-To: <87k0oo6vbi.fsf@inria.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48055@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619510730; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=fGWWxPS7JUDnXAIwkMQcNMU6Bq9b8UjaLaRlclmLnhc=; b=WnahGU1Tq82TnrqQZ6nJ4FAGaucfhWp6rYeIctzEBXZZ3zFJ1FjnPMuBeOKA+9oCf7fq0b 0G/LDpt8pgc0SgVVFUjwpjdt8FmItbMCXwBGQHASaDTtBChS7P6IibkDCQ0pXq4r4UUzkQ IqtHjRJLgmb2y/sHoVmTJzpXzUyepykPMA6C6HAmxjP2D1K6fK9VH2FFrkz0qkM5GEBf09 8UIYsshQLxJOwrQMSWck3qw8OREZe00bpcxftLMISW0DUCq6/iZZCtfHwBdZutp0tAGyuu a/Jz64nReQdnmtAc4vEmh1W+/WEBfPvlAkJNNFMyKMGIxqXKblDDVAlmIsVSkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619510730; a=rsa-sha256; cv=none; b=ZikHOl1Tv9RtEMhkxLuXEPnhOsSatWjLhRsBPhOoA2pH6CxTIko5v7am5lf3Izj89iysCg ocVLpAVYCdFOff/nqsxibcUQ7qpWQ1unDduGIJ4FvpxtkXfJv7hk7MNui3dxngj+QUTc1e 0YYX6a53VEWfeeVmoKHX5Jqh3S4zkEyhFoR/0IgRsE/r9sKqySfgupHrp61I0rdpthpwej FVgGleQN5iGfpWiFMb1c+iADBDGgILXXZtDXZx8VCMoPSteJhPj1QhOd4XqOV+kec8RGE9 uC5wH2MplwjvtwTsbKbLxRbfOa0aYW5F0bUNKAJjmYFTafFHN3g4Tcx2mPnTdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 53E5C2132B X-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: luBZ6EZ3pmAq --oAOWgS5jhGcztLHR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 27, 2021 at 09:27:45AM +0200, Ludovic Court=C3=A8s wrote: > As of current master (d904abe0768293b2322dbf355b6e41d94e769d78), > statically-linked packages required by =E2=80=98bootstrap-tarballs=E2=80= =99 fail to > build on powerpc64le-linux. For example: >=20 > --8<---------------cut here---------------start------------->8--- > gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=3D64 -c bzip2.c > gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=3D64 -c bzip2recover.c > ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o de= compress.o bzlib.o > gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=3D64 -static -o bzip2recove= r bzip2recover.o > ld: /gnu/store/gwv2pylmh7qsdqdcf3kpm6g6ghfqr6z1-glibc-2.31-static/lib/../= lib/libc.a(printf_fp.o): in function `__printf_fp_l': > (.text+0x93c): undefined reference to `__unordkf2' > ld: (.text+0x978): undefined reference to `__unordkf2' > ld: (.text+0xd18): undefined reference to `__lekf2' > ld: /gnu/store/gwv2pylmh7qsdqdcf3kpm6g6ghfqr6z1-glibc-2.31-static/lib/../= lib/libc.a(printf_fphex.o): in function `__printf_fphex': > (.text+0xe8): undefined reference to `__unordkf2' > ld: (.text+0x134): undefined reference to `__unordkf2' > ld: (.text+0x154): undefined reference to `__lekf2' > collect2: error: ld returned 1 exit status > make: *** [Makefile:43: bzip2recover] Error 1 > make: *** Waiting for unfinished jobs.... > command "make" "-j" "8" "PREFIX=3D/gnu/store/dbbzbdzyg8sbcvlan6i2zpwbld1a= 4b41-bzip2-1.0.8" failed with status 2 > builder for `/gnu/store/qr6wzh818417zmswip1nlf6jglyp7fh2-bzip2-1.0.8.drv'= failed with exit code 1 > --8<---------------cut here---------------end--------------->8--- >=20 > and: >=20 > --8<---------------cut here---------------start------------->8--- > configure flags: ("CONFIG_SHELL=3D/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic= 0l7k-bash-minimal-5.0.16/bin/bash" "SHELL=3D/gnu/store/6ql2s2z4xnsj89zdf4zj= 6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "--prefix=3D/gnu/store/rjv42g8dj= ff52z3xka8hpbzk4jjqd5w3-gawk-5.0.1" "--enable-fast-install" "--build=3Dpowe= rpc64le-unknown-linux-gnu" "--disable-shared" "LDFLAGS=3D-static") > checking for a BSD-compatible install... ./install-sh -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /gnu/store/x5z9z2d06w4yj4kq18i4b5q= 2yxg0w9dh-coreutils-8.32/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... no > checking whether make supports nested variables... yes > checking build system type... powerpc64le-unknown-linux-gnu > checking host system type... powerpc64le-unknown-linux-gnu > checking whether make supports the include directive... yes (GNU style) > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/tmp/guix-build-gawk-5.0.1.drv-0/gawk-5.0.1': > configure: error: C compiler cannot create executables > See `config.log' for more details > command "/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/= bin/bash" "./configure" "CONFIG_SHELL=3D/gnu/store/6ql2s2z4xnsj89zdf4zj6fch= 2zic0l7k-bash-minimal-5.0.16/bin/bash" "SHELL=3D/gnu/store/6ql2s2z4xnsj89zd= f4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "--prefix=3D/gnu/store/rjv42= g8djff52z3xka8hpbzk4jjqd5w3-gawk-5.0.1" "--enable-fast-install" "--build=3D= powerpc64le-unknown-linux-gnu" "--disable-shared" "LDFLAGS=3D-static" faile= d with status 77 > builder for `/gnu/store/fh64zc3gyhar0l2ndv2azrg5jv30kygl-gawk-5.0.1.drv' = failed with exit code 1 > --8<---------------cut here---------------end--------------->8--- >=20 What version of GCC is being used? Perhaps the gcc in make-bootstrap.scm needs to be told to use 128-bit long longs. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --oAOWgS5jhGcztLHR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCHxXcACgkQQarn3Mo9 g1G15g/+O02V8kfryii5Q6CMTvJRAReEVdtXVX63TsJS478StDWKBNpezpkzWapg 2ItL5JvD4teX3PWGaHfZtj45QHJl7F6BdMB82E6qzyKWKqXEtA1lSb88NdCIEfDb Z5LLeh0y7+OfNpj/CHyaZKe4bIOfv3UUD6zPEdxf34mSukAVoIttgsBuhP6q4DP8 D/ZCw1HPg0RhSOVB5fAJyjc18LisV2MAtCWwN0uBrK9BFey6UTNYZXsrGwe+V3Ir eWUCQYn8mKBSmNu7wyGsp/c7FwiMpjhrVEeJz/YpkdHuuYxjjPwIvbkxvQsuMYf1 /CuhX6lFot9NdG9N0ZxijNa5WIfGin6By+h3w/P3P+ss3JMdDSzMc8pmSTtXX5bw yxqzC8/NAB3j1xqJQ+LEwddksG6QPoVTYruqmLzA8qTawKtn0dgF8JF4aVysNgI/ gZk8A+2fi9cjbvK0Xbq0KCXJWBpVirqfyAZcGSn4ju428J6EAhwTe2Zxa04/Y5J1 vXUsKEvmsFkkCvdkA2O1uUMWx4rIY8XoqU6d/T5qYLEO/U76h5hXqpY9O7Y7o86q POwnkrBK8xdP7LmRgX0cPpWtBK7Rhe2HlNfKC4mw4saJ0sCTVQ7xkR8qC3NeHLC4 5YkhnkoV+1OACxreJGMBms8h8rlXbwGWqXR0mK1kykYXDGIdckU= =efb6 -----END PGP SIGNATURE----- --oAOWgS5jhGcztLHR--