• 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"

    From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Wed Mar 25 22:46:18 2026
    From Newsgroup: muc.lists.freebsd.ports

    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



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2