all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zamfofex <zamfofex@twdb.moe>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: GMP GCC C++ Hurd cross-build failure on core-updates
Date: Thu, 08 Dec 2022 16:43:34 +0100	[thread overview]
Message-ID: <87h6y5dhp5.fsf@gnu.org> (raw)
In-Reply-To: <545122479.1703346.1670325601496@privateemail.com> (zamfofex@twdb.moe's message of "Tue, 6 Dec 2022 08:20:01 -0300 (BRT)")

Hi,

zamfofex <zamfofex@twdb.moe> skribis:

> configure:10478: checking C++ compiler i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer
> Test compile: 
> configure:10492: i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer conftest.cc >&5
> i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_unlock'
> i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_create'

It looks as if libstdc++.so lacked libpthread.so from its dependencies
(DT_NEEDED).

What does this say:

  objdump -x \
  /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so \
  | grep NEEDED

?

Thanks,
Ludo’.


  reply	other threads:[~2022-12-08 15:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04  7:23 GMP GCC C++ Hurd cross-build failure on core-updates zamfofex
2022-12-04 16:46 ` Joshua Branson
2022-12-05 16:08 ` Ludovic Courtès
2022-12-06 10:06   ` zamfofex
2022-12-06 11:20     ` zamfofex
2022-12-08 15:43       ` Ludovic Courtès [this message]
2022-12-19 21:06     ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2022-12-15  7:24 Nathan Dehnel
2022-12-15 11:17 ` Svante Signell
2022-12-19 10:57   ` Svante Signell

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

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

  git send-email \
    --in-reply-to=87h6y5dhp5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=zamfofex@twdb.moe \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.