Rainer Orth writes:
> Thanks, I'd missed that. It turned out that IRIX 6 needs one more
> change to return to bootstrap land: only defines
> TIOCNOTTY if !_XOPEN_SOURCE, which we need for other stuff
> (cf. configure.ac). I've cheated and use instead, which
> doesn't have this check. With th
Ian Lance Taylor writes:
> Rainer Orth writes:
>
>> Solaris 8 and 9 suffer from the same problem. The following patch
>> allowed the bootstrap to complete. An IRIX bootstrap is currently
>> running, but will take some time to complete.
>>
>> Rainer
>>
>>
>> 2011-09-23 Rainer Orth
>>
>>
Rainer Orth writes:
> Solaris 8 and 9 suffer from the same problem. The following patch
> allowed the bootstrap to complete. An IRIX bootstrap is currently
> running, but will take some time to complete.
>
> Rainer
>
>
> 2011-09-23 Rainer Orth
>
> * mksysinfo.sh: Provide TIOCSCTT
Ian Lance Taylor writes:
>> * IRIX will be worse: while it has TIOCNOTTY, it completely lacks
>> TIOCSCTTY.
>>
>> Suggestions?
>
> For a missing TIOCSCTTY I think the simplest solution will be to set it
> in syscall_irix.go to some innocuous value if there is one. E.g.,
> TIOCNXCL if Irix supp
Rainer Orth writes:
> Apart from the (already fixed) go.* dejagnu errors, I noticed another
> problem: the libgo net test now fails on Solaris, but only with Sun ld:
>
> Undefined first referenced
> symbol in file
> getaddrinfo
Rainer Orth writes:
> the problem turned out to be obvious once you ignore most of the error
> message ;-( The spurious import is in sysinfo.go, which unconditionally
> imports the package, but only uses in some cases.
And this patch should fix the Solaris problem. Bootstrapped and ran Go
test
Rainer Orth writes:
> the problem turned out to be obvious once you ignore most of the error
> message ;-( The spurious import is in sysinfo.go, which unconditionally
> imports the package, but only uses in some cases.
Ah. This patch fixes the location of the error message. Bootstrapped
and r
Ian Lance Taylor writes:
> Rainer Orth writes:
>
>> Unfortunately, the
>>
>> /vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported
>> and not used: unsafe
>>
>> error remains. I've no idea what triggers it.
>
> Bother. Neither do I. I just looked through the code and it a
Ian Lance Taylor writes:
> Rainer Orth writes:
>
>> Unfortunately, the
>>
>> /vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported
>> and not used: unsafe
>>
>> error remains. I've no idea what triggers it.
>
> Bother. Neither do I. I just looked through the code and it a
Rainer Orth writes:
> Unfortunately, the
>
> /vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported and
> not used: unsafe
>
> error remains. I've no idea what triggers it.
Bother. Neither do I. I just looked through the code and it all looks
fine. The reference to unsafe
Rainer Orth writes:
> that does the trick to correctly define TIOCNOTTY and TIOCSCTTY on
> Solaris. I'm currently running a i386-pc-solaris2.10 bootstrap with a
> single-line change to mksysinfo.sh:
>
> diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
> --- a/libgo/mksysinfo.sh
> +++ b/libgo
Rainer Orth writes:
> Ian,
>
Is tIOC defined in gen-sysinfo.go? In ? Does some other
>>>
>>> Only as
>>>
>>> // unknowndefine tIOC ('t'<<8)
>>
>> Ah.
>>
>> I committed this patch which may fix this problem. Bootstrapped and ran
>> Go testsuite on x86_64-unknown-linux-gnu. You'll have to
Ian,
>>> Is tIOC defined in gen-sysinfo.go? In ? Does some other
>>
>> Only as
>>
>> // unknowndefine tIOC ('t'<<8)
>
> Ah.
>
> I committed this patch which may fix this problem. Bootstrapped and ran
> Go testsuite on x86_64-unknown-linux-gnu. You'll have to remove
> TARGET/libgo/s-sysinfo to
Rainer Orth writes:
>> Is tIOC defined in gen-sysinfo.go? In ? Does some other
>
> Only as
>
> // unknowndefine tIOC ('t'<<8)
Ah.
I committed this patch which may fix this problem. Bootstrapped and ran
Go testsuite on x86_64-unknown-linux-gnu. You'll have to remove
TARGET/libgo/s-sysinfo to
Ian Lance Taylor writes:
>> * The Solaris 11/x86 libgo bootstrap dies like this:
>>
>> /vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported
>> and not used: unsafe
>
> That is odd since the file clearly does use unsafe. Perhaps it is
> somehow a consequence of the other err
Rainer Orth writes:
> Ian Lance Taylor writes:
>
>> History shows that Go library updates sometimes break the Go build on
>> non-GNU/Linux targets. I tried to be careful this time, but please let
>> me know about any new problems.
>
> As expected, this did break Solaris bootstrap and will also
Ian Lance Taylor writes:
> History shows that Go library updates sometimes break the Go build on
> non-GNU/Linux targets. I tried to be careful this time, but please let
> me know about any new problems.
As expected, this did break Solaris bootstrap and will also break IRIX
bootstrap:
* The So
17 matches
Mail list logo