coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.31.90-cc4c.tar.xz and LD_PRELOAD


From: Pádraig Brady
Subject: Re: coreutils-8.31.90-cc4c.tar.xz and LD_PRELOAD
Date: Sun, 1 Mar 2020 10:58:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Thunderbird/73.0

On 01/03/2020 02:05, Bruno Haible wrote:
On FreeBSD 12.0, NetBSD 9.0, OpenBSD 6.5, "make check" reports a couple
of skipped tests:

no-ctx.sh: skipped test: $CC -shared ... failed to build a shared lib
r-root.sh: skipped test: $CC -shared ... failed to build a shared lib
rm-readdir-fail.sh: skipped test: $CC -shared ... failed to build a shared lib
csplit-io-err.sh: skipped test: $CC -shared ... failed to build a shared lib
nfs-removal-race.sh: skipped test: $CC -shared ... failed to build a shared lib
no-mtab-status.sh: skipped test: $CC -shared ... failed to build a shared lib
skip-duplicates.sh: skipped test: $CC -shared ... failed to build a shared lib
getxattr-speedup.sh: skipped test: $CC -shared ... failed to build a shared lib

The prereq check tests not only whether a shared library can be built, but
also whether linking it with -ldl works.

However, on the following platforms, the dlopen() etc. functions exist in libc,
and a libdl does not exist:
   macOS, FreeBSD, NetBSD, OpenBSD, IRIX, OSF/1, Cygwin, Haiku.

The attached patch removes the requirement of a libdl. It enables 4 more tests
to be executed on FreeBSD, and produces no additional test failures on
FreeBSD, NetBSD, OpenBSD.

Pushed.

thanks!
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]