unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: Tobias Platen <guix@platen-software.de>
Cc: guix-devel@gnu.org
Subject: Re: glibc-2.33 fails to build on POWER9
Date: Fri, 15 Jul 2022 13:04:41 -0300	[thread overview]
Message-ID: <878rouz5r6.fsf@kolabnow.com> (raw)
In-Reply-To: <8a76f5c9c4cb50e6adfe6d246186e06e28ca4e1c.camel@platen-software.de>


Hello Tobias,

Tobias Platen <guix@platen-software.de> writes:

> I tried to build glibc-2.33 on my Talos II (no cross compile here),
> it fails because the compiler is likely outdated.
>
> checking if the target machine is at least POWER8... yes
> checking if the compiler supports -mno-gnu-attribute... yes
> checking if gcc compiles signbit with 128-bit floating point type...
> yes
> checking if gcc compiles with -mabi=ieeelongdouble and -mlong-double-
> 128... no
> checking for objcopy... objcopy
> checking version of objcopy... 2.37, ok
> configure: error: ***  The compiler must support -mabi=ieeelongdouble
> and -mlongdouble simultaneously.
>
> guix --version shows
> guix (GNU Guix) 7c9ad54b0616112c7eea6dd02379616aef206490
> Copyright (C) 2022 the Guix authors

This commit is 5 months old. Have you tried a recent one? Though I don't
think the age of the commit is at issue here since I don't see the
problem on the guixp9 POWER9 KVM guest — neither with that commit nor
with one from yesterday:

--8<---------------cut here---------------start------------->8---
guixp9: guix time-machine --commit=7c9ad54b0616112c7eea6dd02379616aef206490 -- build --check glibc
The following derivations will be built:
   /gnu/store/cg43qhijpkhlw9bbl8fzwxvxw5grakia-glibc-2.33.drv
   /gnu/store/zab1v46cb0yl9ci7hmzja1aicdlv3izn-python-minimal-3.9.9.drv
   /gnu/store/0zvyvz8r0h0bz3mn9n48zqxc4yiwsyiw-Python-3.9.9.tar.xz.drv
   /gnu/store/94yfrx7z6k8b7skwmbs7z123lzf9rpv3-Python-3.9.9.tar.xz.drv
   /gnu/store/zrad6w94ryw22hr39y0gvpkhcgrj47q0-glibc-2.33.tar.xz.drv
   /gnu/store/ryk073aag63hdspb12aa6s23h372w3s3-glibc-2.33.tar.xz.drv
    ⋮
[lots of output]
    ⋮
phase `compress-documentation' succeeded after 1.0 seconds
successfully built /gnu/store/cg43qhijpkhlw9bbl8fzwxvxw5grakia-glibc-2.33.drv
successfully built /gnu/store/cg43qhijpkhlw9bbl8fzwxvxw5grakia-glibc-2.33.drv
successfully built /gnu/store/cg43qhijpkhlw9bbl8fzwxvxw5grakia-glibc-2.33.drv
successfully built /gnu/store/cg43qhijpkhlw9bbl8fzwxvxw5grakia-glibc-2.33.drv
/gnu/store/qgy2di20daf79dmm9hhr04f98m455qcr-glibc-2.33-debug
/gnu/store/86wp800dw0ad0g74zbm1hc9kfhwvpjmd-glibc-2.33
/gnu/store/dwfcbnw0xw655pxfnm4sw8iy9migk0yw-glibc-2.33-static
guixp9: guix build --check glibc
The following derivation will be built:
/gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv
building /gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv...
    ⋮
[lots of output]
    ⋮
phase `compress-documentation' succeeded after 0.8 seconds
successfully built /gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv
successfully built /gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv
successfully built /gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv
successfully built /gnu/store/60cs3rx5jax7ls11cv7ypx8czhrn4372-glibc-2.33.drv
/gnu/store/fn8p0craaydg7iis4xla5ab6pscjjl20-glibc-2.33-debug
/gnu/store/16pvidj4ikzxqwqkggnjfq7wyflkk0x0-glibc-2.33
/gnu/store/dvnpnrbxj2l8i94y3cyh3rx6xxhx4bhh-glibc-2.33-static
guixp9: guix describe
Generation 27   Jul 15 2022 01:56:51    (current)
  guix 9238ba5
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9238ba58748d99970674e098c9b1b0ed8ca66c14
guixp9: 
--8<---------------cut here---------------end--------------->8---

The last glibc build on the master branch also went well in the CI
(which also uses guixp9 so not really a different data point):

https://ci.guix.gnu.org/build/935110/details

Can you share more details that might be relevant about your environment
and how you are building the package?

-- 
Thanks
Thiago


      parent reply	other threads:[~2022-07-15 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 16:06 glibc-2.33 fails to build on POWER9 Tobias Platen
2022-07-15 10:09 ` Efraim Flashner
2022-07-15 16:04 ` Thiago Jung Bauermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rouz5r6.fsf@kolabnow.com \
    --to=bauermann@kolabnow.com \
    --cc=guix-devel@gnu.org \
    --cc=guix@platen-software.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).