On Tue, Nov 6, 2012 at 5:01 PM, Ian Lance Taylor <i...@google.com> wrote: > On Tue, Nov 6, 2012 at 4:51 PM, H.J. Lu <hjl.to...@gmail.com> wrote: >> >> FAIL: ./tmp.go compilation, -O0 -g -fno-var-tracking-assignments >> >>> The Go library doesn't have proper support for x32 right now. I'm not >> >> libgo works OK on x32 since x32 doesn't need much special treatment. >> The above is the only Go regression on x32. > > I expect that libgo is setting runtime.GOARCH == "amd64" for x32. > Based on that, the index.go test assumes that values that do not fit > in 32 bits can be stored in an int. However, the size of int on x32 > will be 32 bits. We need to decide what runtime.GOARCH should be for > x32. >
I'd like to avoid to adding a new GOARCH for x32. Can you check size of intgo instead of GOARCH? Thanks. -- H.J.