On Thu, Oct 27, 2011 at 6:42 PM, Uros Bizjak <ubiz...@gmail.com> wrote:
>> This patch updates the Go library to the most recent weekly release. I >> think the only potential portability issues here are the use of the >> ipv6_mreq struct. I'm not entirely sure the new exp/terminal package is >> portable, but it might be. > > There are still problems with EpollEvent definition on Alpha, please > see [1] for the analysis. > > [1] http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00457.html Thanks, the resulting epoll.go on Alpha reads as: epoll.go package syscall type EpollEvent struct { Events uint32 Pad [4]byte Fd int32 Pad2 [4]byte } However, I am not able to finish compilation of libgo due to unrelated problem (reported in [1]) with TC[GS]ETS define: libtool: compile: /space/uros/gcc-build-go/./gcc/gccgo -B/space/uros/gcc-build-go/./gcc/ -B/usr/local/alphaev68-unknown-linux-gnu/bin/ -B/usr/local/alphaev68-unknown-linux-gnu/lib/ -isystem /usr/local/alphaev68-unknown-linux-gnu/include -isystem /usr/local/alphaev68-unknown-linux-gnu/sys-include -O2 -g -mieee -I . -c -fgo-prefix=libgo_bytes ../../../gcc-svn/trunk/libgo/go/bytes/buffer.go ../../../gcc-svn/trunk/libgo/go/bytes/bytes.go ../../../gcc-svn/trunk/libgo/go/bytes/bytes_decl.go -o bytes/bytes.o >/dev/null 2>&1 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:31:78: error: reference to undefined identifier ‘syscall.TCGETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:40:81: error: reference to undefined identifier ‘syscall.TCGETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:47:81: error: reference to undefined identifier ‘syscall.TCSETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:57:78: error: reference to undefined identifier ‘syscall.TCSETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:66:81: error: reference to undefined identifier ‘syscall.TCGETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:72:81: error: reference to undefined identifier ‘syscall.TCSETS’ ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:77:68: error: reference to undefined identifier ‘syscall.TCSETS’ make[4]: *** [exp/terminal.lo] Error 1 [1] http://gcc.gnu.org/ml/gcc/2011-10/msg00488.html Uros.