This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Update to weekly.2011-12-22
- From: Ian Lance Taylor <iant at google dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 13 Jan 2012 10:00:55 -0800
- Subject: Re: libgo patch committed: Update to weekly.2011-12-22
- References: <CAFULd4a=gn1Ww2Y5y6=-gvHd9OMebe92Ko7kWt-dw2_OC3gvOA@mail.gmail.com>
Uros Bizjak <ubizjak@gmail.com> writes:
>> I have committed a patch to libgo to update it to the weekly.2011-12-22
>> release. As usual I am not including all the changes here, only the
>> ones to files which are specific to gccgo. Bootstrapped and ran Go
>> testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
>
> After this commit, compile on alphaev68-linux-gnu dies with:
>
> 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_exp
> ../../../gcc-svn/trunk/libgo/go/exp/terminal/terminal.go
> ../../../gcc-svn/trunk/libgo/go/exp/terminal/util.go -fPIC -o
> exp/.libs/terminal.o
> ../../../gcc-svn/trunk/libgo/go/exp/terminal/util.go:69:23: error:
> reference to undefined identifier âsyscall.TIOCGWINSZâ
> make[4]: *** [exp/terminal.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
Thanks for the report, but this is surprising. Doesn't Alpha GNU/Linux
define TIOCGWINSZ in /usr/include/asm-generic/ioctls.h? And isn't that
file #include'd, indirectly, by <sys/ioctl.h>?
If not, does Alpha GNU/Linux define TIOCGWINSZ at all, and how does it
define it? I thought TIOCGWINSZ was common, and I'm particularly
surprised to not find it on a GNU/Linux system.
Ian