https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78172
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> --- Thanks. Does a patch like this fix the immediate ucred problem? diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 3640476..6c457b6 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -268,7 +268,7 @@ fi # is not empty, the structure or type is renamed to $2. upcase_fields () { name="$1" - def=`grep "^type $name" gen-sysinfo.go` + def=`grep "^type $name " gen-sysinfo.go` fields=`echo $def | sed -e 's/^[^{]*{\(.*\)}$/\1/'` prefix=`echo $def | sed -e 's/{.*//'` if test "$2" != ""; then