From nobody Thu Sep 11 10:49:01 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cMvSH1JSsz66VQl for ; Thu, 11 Sep 2025 10:49:03 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMvSH0XlGz3QJb; Thu, 11 Sep 2025 10:49:03 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757587743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=baVicNJ3RnpgOo5jszhH40AsdLuN+X2JF8wHxMIuh6M=; b=rBJnPGJH1+ysw1IRhAtU32U+j83JmCbGo7nIzpPemqdvMoYYPkBIdy/qbTj+qsjhOtqGyz TteI7nKrIapVfafJ0S7yqrFT9Wnqv/ct3BWnf4j4kaUdzOQyMWqobY17b6QQeNxBnKMWxF 706zmUrelRgLJ+4SQrbv1kXqrJRqc1cVJKrS+APULhcM4k0v4iPFTDCvC+akHlMrWsyl4A 35NP1tRZZ2/Rd0iQWet3y+1/b/phtrO9hGwWE/0E+K92JL9vHPjYG3iyKeyc6CbR2i2krk wuUhuGuLDCQ0lxv4xR/MnmVekhqoHVjCSSqyoUzB4w+qSfZV04W7iN2Adg+HWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757587743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=baVicNJ3RnpgOo5jszhH40AsdLuN+X2JF8wHxMIuh6M=; b=Y62GAjORCZU75eQAe39OuuJsf8cBkDp0SvXNenpOJuKKNCa/yOvjg+aNEWGKet9SoLC3H/ hR4vWYtrF3AKE2iFlBGu0aTLwwjK8rpt+wk0DcwNPepd701zjxJl1wHb6/RQW7eV9uRdrH xSUFE34OeeGROAwTxf+VzHe4vhNJwTlqGfcakfr/Ttn+Mvr/amft2xW2VHHo4AZDAxYLer FVx62hsERZaKYebYgdH2lMGQOF2bJUZunMRjvmkc7QxHcj77D7uRhRjiHrLDg1/tQkUzec 8UEISPFk0BUu8TWrOLTo/992TmQAl9NLMRFSq8c6eC4ahyv4J1U0dD6YIuikpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757587743; a=rsa-sha256; cv=none; b=Ry0JlShDD9HTvZrDPFDk5pnDmCo8bOPTW6pBiZKjWuBRfo1pL53K9I0rDYOE5/Kt32mjV+ ReDh/gLubAJybbipGV0LgnSWG6iy+mnuOWFzvEmAMO2G3vKfq4Wv8vBts3r9MNWImP/QA8 naJlfBHRW1wSMHwlY/Yr/0llEq/RpGVxgaJrgvTwhsT8miV2AFf3OTNkmt4qLaP38ZngHY yR3LWAoNP9PnjTpQnBKV5RsV/EBm3QGkmO9UCXezZJT65PxAgWJ87cbORRtZQeg/jbiM5J alopeUG34QADQGdhXyBhqsdPkPv3aQMSSJUFWN55122HH7BWEcvqdaFjQgY8uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cMvSG6Bp4z18gy; Thu, 11 Sep 2025 10:49:02 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 8EE0B88411; Thu, 11 Sep 2025 12:49:01 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mark Millard Cc: FreeBSD Current , Konstantin Belousov Subject: Re: git: d549de769055 - main - libc: Remove readdir_r(3) [This broke building rust 1.88] In-Reply-To: <1F6A4621-1505-4F78-97C6-85EA556B2165@yahoo.com> (Mark Millard's message of "Wed, 10 Sep 2025 23:22:45 -0700") References: <1F6A4621-1505-4F78-97C6-85EA556B2165.ref@yahoo.com> <1F6A4621-1505-4F78-97C6-85EA556B2165@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 11 Sep 2025 12:49:01 +0200 Message-ID: <86bjnhi7s2.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mark Millard writes: > Example error message text from the log file for the > rust build via poudriere-devel: > > > =3D note: ld: error: undefined symbol: readdir_r > >>> referenced by std.d8968a002452916e-cgu.07 > >>> std-de94806a57729acc.std.d8968a002452916e-cgu= .07.rcgu.o:(std::sys::fs::unix::remove_dir_impl::remove_dir_all_recursive::= hbe1160129d2c5f7c) > >>> in archive /wrkdirs/usr/ports/lan > g/rust/work/bootstrap/lib/rustlib/x86_64-unknown-freebsd/lib/libstd-de948= 06a57729acc.rlib > >>> did you mean: readdir_r@FBSD_1.5 > >>> defined in: /lib/libc.so.7 > cc: error: linker command failed with exit code 1 (use -v to se= e invocation) Tell that to the Rust developers. They have been repeatedly warned against using readdir_r(3) for years, as far back as 2016. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org