From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3292 invoked by alias); 11 Mar 2012 20:36:19 -0000 Received: (qmail 3224 invoked by uid 22791); 11 Mar 2012 20:36:17 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Sun, 11 Mar 2012 20:36:03 +0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/52557] Timex undefined on arm-linux-gnueabi Date: Sun, 11 Mar 2012 20:36: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: normal X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- 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-03/txt/msg00814.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557 --- Comment #1 from Matthias Klose 2012-03-11 20:35:42 UTC --- with the following hack, I'm able to build on arm, and run the tests. --- libgo/mksysinfo.sh~ 2012-03-11 00:36:59.000000000 +0000 +++ libgo/mksysinfo.sh 2012-03-11 19:17:15.000000000 +0000 @@ -137,6 +137,9 @@ ${CC} -fdump-go-spec=gen-sysinfo.go -std=gnu99 -S -o sysinfo.s sysinfo.c +# ARM +sed -i '/type _timex/s/INVALID-bit-field/int32/g;/type _timex/s,^// ,,' gen-sysinfo.go + echo 'package syscall' > ${OUT} echo 'import "unsafe"' >> ${OUT} echo 'type _ unsafe.Pointer' >> ${OUT} $ grep -v ^PASS libgo.sum Test Run By doko on Sun Mar 11 19:35:35 UTC 2012 Native configuration is arm-unknown-linux-gnueabi === libgo tests === Schedule of variations: unix Running target unix Running ../../../src/libgo/libgo.exp ... FAIL: fmt FAIL: log FAIL: reflect FAIL: sync FAIL: time FAIL: archive/zip FAIL: debug/dwarf FAIL: encoding/gob FAIL: encoding/json FAIL: html/template FAIL: go/printer FAIL: math/big FAIL: net/http FAIL: net/rpc FAIL: old/regexp FAIL: old/template FAIL: text/template FAIL: text/template/parse === libgo Summary === # of expected passes 105 # of unexpected failures 18