From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 597 invoked by alias); 5 Jul 2011 20:12:56 -0000 Received: (qmail 586 invoked by uid 22791); 5 Jul 2011 20:12:55 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,TW_ZJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Jul 2011 20:12:39 +0000 Received: from hpaq2.eem.corp.google.com (hpaq2.eem.corp.google.com [172.25.149.2]) by smtp-out.google.com with ESMTP id p65KCcSS021974 for ; Tue, 5 Jul 2011 13:12:38 -0700 Received: from iyi20 (iyi20.prod.google.com [10.241.51.20]) by hpaq2.eem.corp.google.com with ESMTP id p65KCZR0022775 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 5 Jul 2011 13:12:36 -0700 Received: by iyi20 with SMTP id 20so8182162iyi.21 for ; Tue, 05 Jul 2011 13:12:35 -0700 (PDT) Received: by 10.43.47.1 with SMTP id uq1mr8995624icb.134.1309896755042; Tue, 05 Jul 2011 13:12:35 -0700 (PDT) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id vn4sm7933662icb.19.2011.07.05.13.12.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 13:12:34 -0700 (PDT) From: Ian Lance Taylor To: Uros Bizjak Cc: Mike Stump , Rainer Orth , gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: Re: [RFC PATCH, go]: Port to ALPHA arch - sysinfo.go fixup References: Date: Tue, 05 Jul 2011 20:13:00 -0000 In-Reply-To: (Uros Bizjak's message of "Tue, 5 Jul 2011 18:51:03 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00309.txt.bz2 Uros Bizjak writes: > What remains is a couple of unrelated failures in the testsuite: > > Epoll unexpected fd=0 > pollServer: unexpected wakeup for fd=0 mode=w > panic: test timed out > ../../../gcc-svn/trunk/libgo/testsuite/gotest: line 388: 7123 Aborted > ./a.out -test.short -test.timeout=$timeout "$@" > FAIL: http > gmake[2]: *** [http/check] Error 1 > > 2011/07/05 18:43:28 Test RPC server listening on 127.0.0.1:50334 > 2011/07/05 18:43:28 Test HTTP RPC server listening on 127.0.0.1:49010 > 2011/07/05 18:43:28 rpc.Serve: accept:accept tcp 127.0.0.1:50334: > Resource temporarily unavailable > FAIL: rpc > gmake[2]: *** [rpc/check] Error 1 > > 2011/07/05 18:44:22 Test WebSocket server listening on 127.0.0.1:40893 > Epoll unexpected fd=0 > pollServer: unexpected wakeup for fd=0 mode=w > panic: test timed out > ../../../gcc-svn/trunk/libgo/testsuite/gotest: line 388: 12993 Aborted > ./a.out -test.short -test.timeout=$timeout "$@" > FAIL: websocket > gmake[2]: *** [websocket/check] Error 1 > > ../../../gcc-svn/trunk/libgo/testsuite/gotest: line 388: 13945 > Segmentation fault ./a.out -test.short -test.timeout=$timeout > "$@" > FAIL: compress/flate > gmake[2]: *** [compress/flate/check] Error 1 > > Any ideas how to attack these? None of these look familiar to me. An "Epoll unexpected fd" error means that epoll returned information about a file descriptor which the program didn't ask about. Not sure why that would happen. Particularly for fd 0, since epoll is only used for network connections, which fd 0 presumably is not. The way to look into these is to cd to TARGET/libgo and run "make GOTESTFLAGS=--keep http/check" (or whatever/check). That will leave a directory gotestNNNN in your libgo directory. The executable a.out in that directory is the test case. You can debug the test case using gdb in more or less the usual way. It's a bit painful to set breakpoints by function name, but setting breakpoints by file:line works fine. Printing variables works as well as it ever does, but the variables are printed in C form rather than Go form. Ian