FYI: Trying to build lang/rust 1.94.0 in an armv7 poudriere-devel jail running a non-debug main on aarch64: "fatal runtime error: out of TLS keys, aborting"

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
FYI:

# grep 'out of TLS keys, aborting' \
  /usr/local/poudriere/data/logs/bulk/\
main-armv7-default/2026-03-25_11h57m49s/logs/errors/rust-1.94.0.log \
| wc -l
       6

Reportedly, the rust code making the report looks something like:

if unsafe { libc::pthread_key_create(&mut key, mem::transmute(dtor)) }
!= 0 {
    rtabort!("out of TLS keys");
}


Note: The aarch64 poudriere-devel jail running a non-debug main built
lang/rust just fine on the same Microsoft Dev Kit 2023 (8 cores).

# poudriere jail -l
JAILNAME           VERSION         OSVERSION ARCH          METHOD
TIMESTAMP           PATH
. . .
main-aarch64       16.0-CURRENT    1600014   aarch64       pkgbase
2026-03-24 20:43:01 /usr/local/poudriere/jails/main-aarch64
. . .
main-armv7         16.0-CURRENT    1600014   armv7         pkgbase
2026-03-24 20:45:50 /usr/local/poudriere/jails/main-armv7

The environment was from an official pkgbase distribution installation
for both.


-- 
===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.