From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 416 invoked by alias); 1 Nov 2011 09:57:07 -0000 Received: (qmail 408 invoked by uid 22791); 1 Nov 2011 09:57:06 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Nov 2011 09:56:45 +0000 Received: by gyd8 with SMTP id 8so2999750gyd.20 for ; Tue, 01 Nov 2011 02:56:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.192.132 with SMTP id i4mr21745811yhn.80.1320141405271; Tue, 01 Nov 2011 02:56:45 -0700 (PDT) Received: by 10.147.114.16 with HTTP; Tue, 1 Nov 2011 02:56:45 -0700 (PDT) In-Reply-To: References: Date: Tue, 01 Nov 2011 09:57:00 -0000 Message-ID: Subject: Re: Go patch committed: Update Go library From: Uros Bizjak To: Ian Lance Taylor Cc: Rainer Orth , gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00022.txt.bz2 On Thu, Oct 27, 2011 at 6:42 PM, Uros Bizjak wrote: >> This patch updates the Go library to the most recent weekly release. =A0I >> think the only potential portability issues here are the use of the >> ipv6_mreq struct. =A0I'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=3Dlibgo_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 =91syscall.TCGETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:40:81: error: reference to undefined identifier =91syscall.TCGETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:47:81: error: reference to undefined identifier =91syscall.TCSETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:57:78: error: reference to undefined identifier =91syscall.TCSETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:66:81: error: reference to undefined identifier =91syscall.TCGETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:72:81: error: reference to undefined identifier =91syscall.TCSETS=92 ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go:77:68: error: reference to undefined identifier =91syscall.TCSETS=92 make[4]: *** [exp/terminal.lo] Error 1 [1] http://gcc.gnu.org/ml/gcc/2011-10/msg00488.html Uros.