public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: Rainer Orth <ro@cebitec.uni-bielefeld.de>, gcc-patches@gcc.gnu.org
Subject: Re: Go patch committed: Update Go library
Date: Tue, 01 Nov 2011 09:57:00 -0000	[thread overview]
Message-ID: <CAFULd4Y_QO_ZnCuBWKbeJhpgejBMoYJfpH-DunOJHEomZxQiNg@mail.gmail.com> (raw)
In-Reply-To: <CAFULd4ZqoMzfmyYyiCsyFkkWkQN8r3gwBGw9bqDLtKLO-g-s4A@mail.gmail.com>

On Thu, Oct 27, 2011 at 6:42 PM, Uros Bizjak <ubizjak@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.

  reply	other threads:[~2011-11-01  9:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 17:24 Uros Bizjak
2011-11-01  9:57 ` Uros Bizjak [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-30  4:05 Ian Lance Taylor
2011-10-27  3:07 Ian Lance Taylor
2011-10-27 14:46 ` Rainer Orth
2011-10-27 17:36   ` Ian Lance Taylor
2011-10-27 17:50     ` Rainer Orth
2011-10-31 23:06   ` Ian Lance Taylor
2011-10-31 17:57 ` Rainer Orth
2011-11-01  4:55   ` Ian Lance Taylor
2011-11-01  5:21   ` Ian Lance Taylor
     [not found] ` <4EB15B7E.4050006@ubuntu.com>
2011-11-02 16:21   ` Ian Lance Taylor
2011-11-02 17:11 ` Rainer Orth
2011-11-02 18:01   ` Ian Lance Taylor
2011-11-02 18:04     ` David Daney
2011-11-02 18:23       ` Ian Lance Taylor
2011-11-02 20:23         ` Joseph S. Myers
2011-11-02 20:24       ` Joseph S. Myers
2011-11-02 18:17     ` Rainer Orth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFULd4Y_QO_ZnCuBWKbeJhpgejBMoYJfpH-DunOJHEomZxQiNg@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=ro@cebitec.uni-bielefeld.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).