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

* [Bug go/53879] new glibc: sysinfo.go:5976:68: error: expected ‘{’
  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 ` ian at airs dot com
  2012-07-13  8:21 ` [Bug go/53879] [4.6] " jan.kratochvil at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2012-07-09 15:42 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-07-09 15:42:34 UTC ---
This should be fixed by Jakub's patch that I committed a few hours ago.

Thanks for reporting it.


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

* [Bug go/53879] [4.6] new glibc: sysinfo.go:5976:68: error: expected ‘{’
  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 ` 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
  3 siblings, 0 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-07-13  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
            Version|4.8.0                       |4.6.4
         Resolution|FIXED                       |
            Summary|new glibc:                  |[4.6] new glibc:
                   |sysinfo.go:5976:68: error:  |sysinfo.go:5976:68: error:
                   |expected ‘{’                |expected ‘{’

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-07-13 08:20:43 UTC ---
It still seems to affect the 4.6 branch:

sysinfo.go:3681:63: error: expected '{'
sysinfo.go:3681:63: error: expected ';' or '}' or newline
sysinfo.go:3681:80: error: expected field name


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

* [Bug go/53879] [4.6] new glibc: sysinfo.go:5976:68: error: expected ‘{’
  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
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2012-07-13 17:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2012-07-13 17:47:18 UTC ---
The version of Go on the 4.6 branch is quite out-dated.  I don't mind if
somebody tries to fix it up, but I don't plan to do so myself.  I strongly
recommend that anybody using gccgo use GCC 4.7.1 or later.


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

* [Bug go/53879] [4.6] new glibc: sysinfo.go:5976:68: error: expected ‘{’
  2012-07-06 15:46 [Bug go/53879] New: new glibc: sysinfo.go:5976:68: error: expected ‘{’ jan.kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2012-07-13 17:47 ` ian at airs dot com
@ 2012-07-14 18:36 ` jan.kratochvil at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-07-14 18:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-07-14 18:36:04 UTC ---
So WONTFIXing it - for the 4.6 part.


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