Go patch committed: Update libgo to Go release r60

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Sep 22 17:02:00 GMT 2011


Ian Lance Taylor <iant@google.com> writes:

> History shows that Go library updates sometimes break the Go build on
> non-GNU/Linux targets.  I tried to be careful this time, but please let
> me know about any new problems.

As expected, this did break Solaris bootstrap and will also break IRIX
bootstrap:

* The Solaris 11/x86 libgo bootstrap dies like this:

/vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported and not used: unsafe
/vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:172:20: error: reference to undefined name 'TIOCNOTTY'
/vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:179:20: error: reference to undefined name 'TIOCSCTTY'

  Don't know about the first one, but the two ioctl's are missing from
  sysinfo.go.  They are defined in <sys/termios.h>, but if I include
  that in mksysinfo.sh, they only show up as 

// unknowndefine TIOCNOTTY (tIOC|113)

  in gen-sysinfo.go.  No idea why yet.

* IRIX will be worse: while it has TIOCNOTTY, it completely lacks
  TIOCSCTTY.

Suggestions?

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list