Ian Taylor <i...@golang.org> writes: > On Tue, Nov 4, 2014 at 4:15 AM, Dominik Vogt <v...@linux.vnet.ibm.com> wrote: >> See commit comment and ChangeLog for details. > > Committed patch 0001 with various formatting fixes, as attached.
Unfortunately, the mksysinfo.sh part broke Solaris bootstrap: there's no type _ucred in gen-sysinfo.go, so the grep in upcase_fields fails. Due to the use of set -e, the whole script aborts. I've used the following to allow bootstrap to continue
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -746,7 +746,9 @@ grep '^const _SCM_' gen-sysinfo.go | \ sed -e 's/^\(const \)_\(SCM_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT} # The ucred struct. -upcase_fields "_ucred" "Ucred" >> ${OUT} +if grep '^type _ucred ' gen-sysinfo.go > /dev/null; then + upcase_fields "_ucred" "Ucred" >> ${OUT} +fi # The ip_mreq struct. grep '^type _ip_mreq ' gen-sysinfo.go | \
but one could consider changing upcase_fields instead. It seems something changed again in godump within the last few days, making this patch https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00080.html unnecessary. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University