From: Paul Floyd Date: Tue, 15 Apr 2025 18:39:22 +0000 (+0200) Subject: nightly: fix check for Illumos libc X-Git-Tag: VALGRIND_3_25_0~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63fe564468aaddc205f9a5d6eedc07cf85eb01ad;p=thirdparty%2Fvalgrind.git nightly: fix check for Illumos libc On Illumos `uname -o` outputs "illumos". We weren't testing for that so it fell through to the Linux block which runs libc.so to get the version string. On Illumos that outputs usage: ld.so.1 [-e option,...] dynamic-object [object args,...] --- diff --git a/nightly/bin/nightly b/nightly/bin/nightly index bb943eb80..92931e86f 100755 --- a/nightly/bin/nightly +++ b/nightly/bin/nightly @@ -198,6 +198,8 @@ fi gdb_version="`gdb --version 2> /dev/null | head -1`" if [ `uname -o` = "Solaris" ]; then libc="Solaris libc" +elif [ `uname -o` = "illumos" ]; then + libc="Illumos libc" elif [ `uname -o` = "FreeBSD" ]; then libc="FreeBSD libc" else