From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11605 invoked by alias); 27 Jan 2012 11:46:26 -0000 Received: (qmail 11596 invoked by uid 22791); 27 Jan 2012 11:46:26 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jan 2012 11:46:13 +0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/51874] Many libgo testsuite failures on Solaris, IRIX Date: Fri, 27 Jan 2012 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg03127.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51874 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE 2012-01-27 11:45:17 UTC --- I've also had a look at the Solaris/SPARC failures, which are unrelated to the 64-bit Solaris/x86 problem previously identified. I could trace it to the most trivial testcase with channels: package main func send(ch chan<- int) { ch <- 1 } func main() { ch := make(chan int) go send(ch) recv := <-ch if recv != 1 { panic (recv) } print(recv, "\n") } On Solaris/SPARC (both 32 and 64-bit), this fails with panic: 0 I've still to closer investigate why this happens. I suspect that this is also the cause of the IRIX failures (a libgo build is currently running). Maybe this is just and endianess problem: it's interesting that 32-bit Solaris/x86 works (little-endian), while 32-bit Solaris/SPARC and IRIX (both big-endian) don't. Rainer