Re: libgo multilib issues.

2011-01-28 Thread Rainer Orth
Ian Lance Taylor writes: >> I would suggest: >> >> GOARCH=mips# o32 >> GOARCH=mips64n32 # Would you believe n32? >> GOARCH=mips64n64 # ...n64 > > I think the only real question is whether that first "64" helps. I don't think so: in the n64 case, it's just double, and for n32 it's pre

Re: libgo multilib issues.

2011-01-27 Thread Ian Lance Taylor
David Daney writes: > That's right, but for the sake of argument I would say that o64 is > unimportant as it is not supported by the Linux kernel. It's unimportant but I'd like to make sure the scheme leaves room for it. >> It again comes down to what GOARCH is supposed to mean: an ABI, or what

Re: libgo multilib issues.

2011-01-27 Thread David Daney
On 01/27/2011 01:02 PM, Paul Koning wrote: On Jan 27, 2011, at 4:00 PM, Ian Lance Taylor wrote: Rainer Orth writes: Ian Lance Taylor writes: I guess ARCH == mips64 is going to be appropriate for any 64-bit MIPS target. If you need a different syscall_linux_${GOARCH} file for different m

Re: libgo multilib issues.

2011-01-27 Thread David Daney
On 01/27/2011 11:49 AM, Rainer Orth wrote: Ian Lance Taylor writes: I guess ARCH == mips64 is going to be appropriate for any 64-bit MIPS target. If you need a different syscall_linux_${GOARCH} file for different mips64 targets, then I think we're going to need to test some conditional in lib

Re: libgo multilib issues.

2011-01-27 Thread Paul Koning
On Jan 27, 2011, at 4:00 PM, Ian Lance Taylor wrote: > Rainer Orth writes: > >> Ian Lance Taylor writes: >> >>> I guess ARCH == mips64 is going to be appropriate for any 64-bit MIPS >>> target. If you need a different syscall_linux_${GOARCH} file for >>> different mips64 targets, then I thin

Re: libgo multilib issues.

2011-01-27 Thread Ian Lance Taylor
Rainer Orth writes: > Ian Lance Taylor writes: > >> I guess ARCH == mips64 is going to be appropriate for any 64-bit MIPS >> target. If you need a different syscall_linux_${GOARCH} file for >> different mips64 targets, then I think we're going to need to test some >> conditional in libgo/Makefi

Re: libgo multilib issues.

2011-01-27 Thread Rainer Orth
Ian Lance Taylor writes: > I guess ARCH == mips64 is going to be appropriate for any 64-bit MIPS > target. If you need a different syscall_linux_${GOARCH} file for > different mips64 targets, then I think we're going to need to test some > conditional in libgo/Makefile.am to add the file to buil

Re: libgo multilib issues.

2011-01-27 Thread Ian Lance Taylor
David Daney writes: > In trying to build libgo on mips64-linux we try to build all three > multilibs (o32, n32 and n64 ABIs) > > For the n32 ABI, the configure script generates syscall_arch.go: > --- > package syscall > const ARCH = "mips64" > const OS = "linux" > --- > > The Make

libgo multilib issues.

2011-01-27 Thread David Daney
Ian, In trying to build libgo on mips64-linux we try to build all three multilibs (o32, n32 and n64 ABIs) For the n32 ABI, the configure script generates syscall_arch.go: --- package syscall const ARCH = "mips64" const OS = "linux" --- The Makefile has GOARCH = mips64, so it i