On 2026-09-06 18:37:28 [+0200], To Emilio Pozuelo Monfort wrote:
> On 2026-09-06 17:57:06 [+0200], Emilio Pozuelo Monfort wrote:
> > Note that due to the lack of llvm-toolchain-22 in trixie-pu, rustc-web
> > hasn't been bootstrapped there. Andreas and I have been looking at fixing it
> > without success. Help there would be appreciated.
> 
> You mean this is just an issue for armel right? Because I built against
> rustc-web before my upload.

it complains about missing symbol

| ld.lld: error: undefined symbol: 
std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)

this is from gcc-14. 

| (trixie_armhf-dchroot)bigeasy@amdahl:~/llvm$ readelf -aW 
/usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.33 |grep futex_notify_all
| 001a0eb0  00037d16 R_ARM_JUMP_SLOT        000a1061   
_ZNSt28__atomic_futex_unsigned_base19_M_futex_notify_allEPj@@GLIBCXX_3.4.21
|    893: 000a1061    14 FUNC    GLOBAL DEFAULT   12 
_ZNSt28__atomic_futex_unsigned_base19_M_futex_notify_allEPj@@GLIBCXX_3.4.21

but on armel

| (trixie_armel-dchroot)bigeasy@amdahl:~/llvm$ readelf -aW 
/usr/lib/arm-linux-gnueabi/libstdc++.so.6.0.33 |grep futex_notify_all
| (trixie_armel-dchroot)bigeasy@amdahl:~/llvm$

given that llvm asks for futex_notify_all means that the header file
provides the function (as in defines ATOMIC_INT_LOCK_FREE). It appears
that futex.cc gets compiled during the build of gcc-14 as per build log.
So my guess is that it either does not get linked to the finall
libstdc++.so or the symbol is not exported and so missing.
 
> > Cheers,
> > Emilio

Sebastian

Reply via email to