Mark Millard <[email protected]> writes:
> Example error message text from the log file for the
> rust build via poudriere-devel:
>
>
>   = 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-de94806a57729acc.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 see 
> 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
-- 
Dag-Erling Smørgrav - [email protected]

Reply via email to