GNU bug report logs - #48055
Statically-linked packages fail to build on powerpc64le-linux

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 27 Apr 2021 07:28:01 UTC

Severity: normal

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48055: closed (Statically-linked packages fail to build on
 powerpc64le-linux)
Date: Thu, 06 Feb 2025 12:17:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 06 Feb 2025 13:15:50 +0100
with message-id <87jza36zgp.fsf <at> inria.fr>
and subject line Re: bug#48055: Statically-linked packages fail to build on powerpc64le-linux
has caused the debbugs.gnu.org bug report #48055,
regarding Statically-linked packages fail to build on powerpc64le-linux
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48055: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48055
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: <bug-guix <at> gnu.org>
Subject: Statically-linked packages fail to build on powerpc64le-linux
Date: Tue, 27 Apr 2021 09:27:45 +0200
As of current master (d904abe0768293b2322dbf355b6e41d94e769d78),
statically-linked packages required by ‘bootstrap-tarballs’ fail to
build on powerpc64le-linux.  For example:

--8<---------------cut here---------------start------------->8---
gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2.c
gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2recover.c
ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -static -o bzip2recover 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=/gnu/store/dbbzbdzyg8sbcvlan6i2zpwbld1a4b41-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---

and:

--8<---------------cut here---------------start------------->8---
configure flags: ("CONFIG_SHELL=/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/rjv42g8djff52z3xka8hpbzk4jjqd5w3-gawk-5.0.1" "--enable-fast-install" "--build=powerpc64le-unknown-linux-gnu" "--disable-shared" "LDFLAGS=-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/x5z9z2d06w4yj4kq18i4b5q2yxg0w9dh-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=/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/rjv42g8djff52z3xka8hpbzk4jjqd5w3-gawk-5.0.1" "--enable-fast-install" "--build=powerpc64le-unknown-linux-gnu" "--disable-shared" "LDFLAGS=-static" failed with status 77
builder for `/gnu/store/fh64zc3gyhar0l2ndv2azrg5jv30kygl-gawk-5.0.1.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 48055-done <at> debbugs.gnu.org
Subject: Re: bug#48055: Statically-linked packages fail to build on
 powerpc64le-linux
Date: Thu, 06 Feb 2025 13:15:50 +0100
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> I wanted to make sure I wasn't testing the wrong thing before closing
> the bug.  If that's correct then I think we can close it.

Yes, I can confirm it’s all good:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 335  Feb 04 2025 19:46:37    (current)
  guix 9366217
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9366217997d759a4150cf5e44d83b947ac2028ab
$ guix build bootstrap-tarballs -s powerpc64le-linux -n
44.6 MB would be downloaded:
  /gnu/store/5hrjz7nvkqy8nbrml7647spc1ji16mrd-glibc-stripped-tarball-2.39
  /gnu/store/165i6g40591ivcnp2swlagg1kp512i3a-static-binaries-tarball-0
  /gnu/store/39pi7jz79njivmfmynidsqnifq6i76s3-binutils-static-stripped-tarball-2.41
  /gnu/store/db99a01qhf6m40m26pq90bf1ry6wfkjn-guile-static-stripped-tarball-3.0.9
  /gnu/store/ds9mv31s1j3i2bfdvdjgsp3qrdnfsaf8-gcc-stripped-tarball-14.2.0
  /gnu/store/9710w5zm7ir7vy35pvzjq7gs520f9jdg-bootstrap-tarballs-0
--8<---------------cut here---------------end--------------->8---

Closing!

Ludo’.


This bug report was last modified 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.