[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP GCC C++ Hurd cross-build failure on core-updates
From: |
Svante Signell |
Subject: |
Re: GMP GCC C++ Hurd cross-build failure on core-updates |
Date: |
Mon, 19 Dec 2022 11:57:09 +0100 |
User-agent: |
Evolution 3.30.5-1.1 |
On Thu, 2022-12-15 at 12:17 +0100, Svante Signell wrote:
>
> Hi,
>
> The problem is probably that you need to add --enable-add-ons=libpthread to
> configure when building first version of cross-glibc. This is to obtain weak
> references when building libcstd++ of cross-gcc:
>
> nm --dynamic /cross-tools/lib/libstdc++.so.6.0.30|grep pthread
> ...
> w __pthread_key_create
> w pthread_key_create
> w pthread_key_delete
I've been looking into this problem a little further: You need the attached
patch: libstdc++-hurd.diff, at least for gcc-11 and gcc-12 (and probably gcc-13
too)
Good luck!
libstdc++-hurd.diff
Description: Text Data