Rainer Orth writes:
> Thanks. Unfortunately, this broke bootstrap on Solaris 10 and 11:
>
> /var/gcc/regression/trunk/11-gcc/build/./gcc/include-fixed/sys/feature_tests.h:367:2:
> error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
> applications require the use of c99"
Ian Lance Taylor writes:
> Rainer Orth writes:
>
>> Now IRIX finally bootstrap again, I had to make two adjustments to have
>> libgo build there.
>>
>> * go/syscall/wait.c doesn't compile:
>>
>> /vol/gcc/src/hg/trunk/local/libgo/go/syscall/wait.c:11:0: error:
>> "__EXTENSIONS__" redefined [-Wer
Rainer Orth writes:
> * There's a redefinition of IPMreq now:
>
> sysinfo.go:3089:6: error: redefinition of 'IPMreq'
> /vol/gcc/src/hg/trunk/local/libgo/go/syscall/socket_irix.go:81:6: note:
> previous definition of 'IPMreq' was here
>
> For some reason, sysinfo.go now gets the right definitio
Rainer Orth writes:
> Now IRIX finally bootstrap again, I had to make two adjustments to have
> libgo build there.
>
> * go/syscall/wait.c doesn't compile:
>
> /vol/gcc/src/hg/trunk/local/libgo/go/syscall/wait.c:11:0: error:
> "__EXTENSIONS__" redefined [-Werror]
> /vol/gcc/src/hg/trunk/local/li
Ian Lance Taylor writes:
> It's possible that this patch will once again break the Solaris and Irix
> support. I've tried to ensure that I didn't make any stupid errors, but
> I haven't done any actual testing. Sorry about any problems.
Now IRIX finally bootstrap again, I had to make two adjus
Rainer Orth writes:
> /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
Sorry about that. I thought I had tested that, but evidently not.
Fixed like so. Committed to mainline.
Rainer Orth writes:
> 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) {
> na
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
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 17
Rainer Orth writes:
> the problem is another one: using /usr/xpg4/bin/awk, I find:
>
> /usr/xpg4/bin/awk: line 47 (NR=32): wrong number of arguments to function "m"
>
> nawk(1) only documents match(s,ere) (i.e. two args), and the gawk docs
> state:
>
> `match(STRING, REGEXP [, ARRAY])'
> [...]
>
Rainer Orth writes:
> the problem is another one: using /usr/xpg4/bin/awk, I find:
>
> /usr/xpg4/bin/awk: line 47 (NR=32): wrong number of arguments to function "m"
>
> nawk(1) only documents match(s,ere) (i.e. two args), and the gawk docs
> state:
>
> `match(STRING, REGEXP [, ARRAY])'
> [...]
>
Ian,
> Hmmm, I don't have a copy of nawk. Is it possible that it doesn't like
> " *" == *? You could try "[ ]*".
the problem is another one: using /usr/xpg4/bin/awk, I find:
/usr/xpg4/bin/awk: line 47 (NR=32): wrong number of arguments to function "m"
nawk(1) only documents match(s,ere) (i.e.
Rainer Orth writes:
> There's one problem left: with Solaris nawk, building libcalls.go fails
> (from Solaris 8 to 11 inclusive):
>
> nawk -f /vol/gcc/src/hg/trunk/local/libgo/go/syscall/mksyscall.awk ${files} >
> li
> bcalls.go.tmp
> nawk: syntax error at source line 47
> context is
>
Ian,
> I committed this patch to mainline to try to fix these problems. Thanks
> for testing. For this patch I bootstrapped and ran Go testsuite on
> x86_64-unknown-linux-gnu.
with this patch, go and libgo results on Solaris 10 and 11/x86 are back
to normal, and Solaris 10 and 11/SPARC bootstra
Rainer Orth writes:
> it did (as expected :-), but in easy to fix ways (at least for getting
> libgo to compile again):
Thanks. I committed your patch.
> Unfortunately, testsuite results are a mess: all link tests fail like
> this:
>
> Undefined first referenced
> symbol
Ian,
> It's possible that this patch will once again break the Solaris and Irix
> support. I've tried to ensure that I didn't make any stupid errors, but
> I haven't done any actual testing. Sorry about any problems.
it did (as expected :-), but in easy to fix ways (at least for getting
libgo t
16 matches
Mail list logo