Re: lib/60535: 32-bit libpthread lacks __libc_thr_join
"RVP via gnats" <[email protected]>
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR lib/60535; it has been noted by GNATS. From: RVP <[email protected]> To: [email protected] Cc: Subject: Re: lib/60535: 32-bit libpthread lacks __libc_thr_join Date: Tue, 4 Aug 2026 07:47:57 +0000 (UTC) On Mon, 3 Aug 2026, Rainer Orth via gnats wrote: >> How-To-Repeat: > The following (nonsensical) example demonstrates the problem: > > $ cat pt.c > #include <pthread.h> > > int > main (void) > { > return pthread_join ((pthread_t) 0, (void **)0); > } > $ gcc -m32 -pthread -o pt pt.c -lpthread > ld: /tmp//ccdgMyQ3.o: in function `main': > pt.c:(.text+0x19): undefined reference to `__libc_thr_join' > OK, I get the same error if I upgrade from 10.1 (which doesn't need the base32 set, and doesn't have that symbol in libpthread) to 11.0 using the ISO (which now doesn't come with base32). Extracting the 11.0 base32 set fixed this. -RVP