From 63fe564468aaddc205f9a5d6eedc07cf85eb01ad Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Tue, 15 Apr 2025 20:39:22 +0200 Subject: [PATCH] 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,...] --- nightly/bin/nightly | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2