public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/53879] New: new glibc: sysinfo.go:5976:68: error: expected ‘{’
@ 2012-07-06 15:46 jan.kratochvil at redhat dot com
  2012-07-09 15:42 ` [Bug go/53879] " ian at airs dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-07-06 15:46 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53879
           Summary: new glibc: sysinfo.go:5976:68: error: expected ‘{’
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: jan.kratochvil@redhat.com
             Build: x86_64-unknown-linux-gnu


Fedora 17 x86_64 builds gccgo OK but Fedora 18 (Rawhide) x86_64 does not.
Tested only FSF GCC HEAD.

sysinfo.go:5976:68: error: expected ‘{’
 type Rusage struct { Utime Timeval; Stime Timeval; Godump_0 struct ru_maxrss
int64; ; Godump_1 struct ru_ixrss int64; ; Godump_2 struct ru_idrss int64; ;
Godump_3 struct ru_isrss int64; ; Godump_4 struct ru_minflt int64; ; Godump_5
struct ru_majflt int64; ; Godump_6 struct ru_nswap int64; ; Godump_7 struct
ru_inblock int64; ; Godump_8 struct ru_oublock int64; ; Godump_9 struct
ru_msgsnd int64; ; Godump_10 struct ru_msgrcv int64; ; Godump_11 struct
ru_nsignals int64; ; Godump_12 struct ru_nvcsw int64; ; Godump_13 struct
ru_nivcsw int64; ; }
                                                                    ^
sysinfo.go:5976:68: error: expected ‘;’ or ‘}’ or newline
sysinfo.go:5976:85: error: expected field name

with many similar errors.

/usr/include/bits/resource.h:
PASS: glibc-headers-2.15-37.fc17.x86_64
FAIL: glibc-headers-2.15.90-16.fc18.x86_64

Untested but IMO it is due to:
commit 5e1a27a96de16ad0cd67a81e25741790b32e2c25
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue May 22 05:32:34 2012 -0700
    Pad each field to __syscall_slong_t in struct rusage
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5e1a27a96de16ad0cd67a81e25741790b32e2c25


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-14 18:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-06 15:46 [Bug go/53879] New: new glibc: sysinfo.go:5976:68: error: expected ‘{’ jan.kratochvil at redhat dot com
2012-07-09 15:42 ` [Bug go/53879] " ian at airs dot com
2012-07-13  8:21 ` [Bug go/53879] [4.6] " jan.kratochvil at redhat dot com
2012-07-13 17:47 ` ian at airs dot com
2012-07-14 18:36 ` jan.kratochvil at redhat dot com

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).