From: Paul F. <pa...@so...> - 2025-04-15 18:43:04
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=63fe564468aaddc205f9a5d6eedc07cf85eb01ad commit 63fe564468aaddc205f9a5d6eedc07cf85eb01ad Author: Paul Floyd <pj...@wa...> Date: Tue Apr 15 20:39:22 2025 +0200 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: --- nightly/bin/nightly | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nightly/bin/nightly b/nightly/bin/nightly index bb943eb801..92931e86ff 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 |