public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/52557] New: Timex undefined on arm-linux-gnueabi
Date: Sun, 11 Mar 2012 17:33:00 -0000	[thread overview]
Message-ID: <bug-52557-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557

             Bug #: 52557
           Summary: Timex undefined on arm-linux-gnueabi
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: doko@gcc.gnu.org


libgo r185183 fails to build on arm-linux-gnueabi,

libcalls.go:1662:22: error: use of undefined type 'Timex'
make[6]: *** [syscall/syscall.lo] Error 1

build/arm-linux-gnueabi/libgo/gen-sysinfo.go has:

// type _timex struct { modes uint32; offset int32; freq int32; maxerror int32;
esterror int32; status int32; constant int32; precision int32; tolerance int32;
time _timeval; tick int32; ppsfreq int32; jitter int32; shift int32; stabil
int32; jitcnt int32; calcnt int32; errcnt int32; stbcnt int32; tai int32;
Godump_0 INVALID-bit-field; Godump_1 INVALID-bit-field; Godump_2
INVALID-bit-field; Godump_3 INVALID-bit-field; Godump_4 INVALID-bit-field;
Godump_5 INVALID-bit-field; Godump_6 INVALID-bit-field; Godump_7
INVALID-bit-field; Godump_8 INVALID-bit-field; Godump_9 INVALID-bit-field;
Godump_10 INVALID-bit-field; }

the invalid fields correspond to bits/timex.h in the timex struct:

  int tai;              /* TAI offset (ro) */

  /* ??? */
  int  :32; int  :32; int  :32; int  :32;
  int  :32; int  :32; int  :32; int  :32;
  int  :32; int  :32; int  :32;


             reply	other threads:[~2012-03-11 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11 17:33 doko at gcc dot gnu.org [this message]
2012-03-11 20:36 ` [Bug go/52557] " doko at gcc dot gnu.org
2012-03-13 20:59 ` ian at gcc dot gnu.org
2012-03-13 21:11 ` ian at airs dot com
2012-03-13 21:12 ` doko at gcc dot gnu.org
2012-03-13 21:13 ` doko at gcc dot gnu.org
2012-03-13 22:06 ` ian at gcc dot gnu.org
2012-03-13 22:08 ` ian at airs dot com
2012-03-13 22:16 ` ian at airs dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52557-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).