This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Implement new syscall package
Ian,
>> I committed this patch which should fix this problem. Bootstrapped and
>> ran Go testsuite on x86_64-unknown-linux-gnu.
>
> thanks, but this is not enough:
>
> nawk: syntax error at source line 173
> context is
> ([^ >>> ]*)$", <<< cparam) == 0) {
> nawk: illegal statement at source line 173
> nawk: syntax error at source line 179
>
> and there is another instance on l.210. I haven't tried fixing this
> myself since I'm fighting with other issues.
even if I work around this by installing gawk 4.0.0 on Solaris 8/9, I
run into another issue:
/vol/gcc/src/hg/trunk/local/libgo/go/syscall/errstr_nor.go:22:8: error: referenc
e to undefined name 'libc_strerror'
make[4]: *** [syscall/syscall.lo] Error 1
Replacing libc_strerror (which doesn't exist anywhere) by strerror isn't
enough, though:
/vol/gcc/src/hg/trunk/local/libgo/go/syscall/errstr_nor.go:22:2: error: variable has no type
/vol/gcc/src/hg/trunk/local/libgo/go/syscall/errstr_nor.go:22:2: error: incompatible type in initialization (non-value used as value)
make[2]: *** [syscall/syscall.lo] Error 1
I couldn't figure out what's wrong here; I'll need considerable more
time with the Go tutorial etc.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University