public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86
@ 2013-12-09 15:38 ro at gcc dot gnu.org
  2013-12-09 15:40 ` [Bug go/59432] " ro at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2013-12-09 15:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59432
           Summary: [4.9 regression] sync/atomic FAILs on Solaris/x86
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
              Host: i386-pc-solaris2.*
            Target: i386-pc-solaris2.*
             Build: i386-pc-solaris2.*

The sync/atomic test recently started to FAIL on Solaris/x86:

Abort


goroutine 1 [chan receive]:
main.main
       
/var/gcc/gcc-4.9.0-20131206/10-gcc/i386-pc-solaris2.10/libgo/gotest22695
/test/_testmain.go:67
FAIL: sync/atomic

The Abort happens in the TestNilDeref test:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3 (LWP 3)]
0xfeb32ddc in sync_atomic.CompareAndSwapInt32 (val=val@entry=0x0, 
    old=old@entry=0, new=new@entry=0)
    at /vol/gcc/src/hg/trunk/solaris/libgo/go/sync/atomic/atomic.c:78
78        return __sync_bool_compare_and_swap (val, old, new);
(gdb) where
#0  0xfeb32ddc in sync_atomic.CompareAndSwapInt32 (val=val@entry=0x0, 
    old=old@entry=0, new=new@entry=0)
    at /vol/gcc/src/hg/trunk/solaris/libgo/go/sync/atomic/atomic.c:78
#1  0x0805e902 in atomic_test.$nested16 () at atomic_test.go:1469
#2  0x0805edac in atomic_test.$nested45 () at atomic_test.go:1505
#3  0x0805e8d1 in sync_atomic_test.TestNilDeref (t=0xde625180)
    at atomic_test.go:1500
#4  0xfe976e4a in testing.tRunner (test=<optimized out>, 
    t.param=<optimized out>)
    at /vol/gcc/src/hg/trunk/solaris/libgo/go/testing/testing.go:391
#5  testing.$thunk13 (__go_thunk_parameter=0xde200688)
    at /vol/gcc/src/hg/trunk/solaris/libgo/go/testing/testing.go:471
#6  0xfe8d005b in kickoff ()
    at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:229
#7  0xfe4a5ba2 in makecontext () from /lib/libc.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

1: x/i $pc
=> 0xfeb32ddc <sync_atomic.CompareAndSwapInt32+12>:
    lock cmpxchg %ecx,(%edx)
(gdb) p $ecx
$1 = 0
(gdb) p $edx
$2 = 0

  Rainer


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

* [Bug go/59432] [4.9 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
@ 2013-12-09 15:40 ` ro at gcc dot gnu.org
  2013-12-09 17:11 ` ian at airs dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2013-12-09 15:40 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug go/59432] [4.9 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
  2013-12-09 15:40 ` [Bug go/59432] " ro at gcc dot gnu.org
@ 2013-12-09 17:11 ` ian at airs dot com
  2013-12-10 12:45 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ian at airs dot com @ 2013-12-09 17:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
FYI, the point of the test is to get that segmentation violation and ensure
that the signal handler generates a runtime panic as it should.  The actual
problem is presumably happening some time later.


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

* [Bug go/59432] [4.9 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
  2013-12-09 15:40 ` [Bug go/59432] " ro at gcc dot gnu.org
  2013-12-09 17:11 ` ian at airs dot com
@ 2013-12-10 12:45 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2013-12-17 18:31 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2013-12-10 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
> FYI, the point of the test is to get that segmentation violation and ensure
> that the signal handler generates a runtime panic as it should.  The actual
> problem is presumably happening some time later.

Thanks for the hint.  Investigating further proved a bit difficult:
running with -test.run=TestNilDeref under gdb with SEGV just passed on
ran for hours without anything happening.

Instead, I've run the test with truss -S ABRT (stop on SIGABRT) and got
the following stacktrace from an attached gdb:

#0  0xfe52c955 in _lwp_kill () from /lib/libc.so.1
#1  0xfe5277d9 in thr_kill () from /lib/libc.so.1
#2  0xfe4d3893 in raise () from /lib/libc.so.1
#3  0xfe4b2988 in abort () from /lib/libc.so.1
#4  0xfe8c36a0 in __go_check_defer (frame=frame@entry=0xde836faf) at
/vol/gcc/src/hg/trunk/local/libgo/runtime/go-unwind.c:152
#5  0xfe976e62 in testing.tRunner (test=<optimized out>, t.param=<optimized
out>) at /vol/gcc/src/hg/trunk/local/libgo/go/testing/testing.go:392
#6  testing.$thunk13 (__go_thunk_parameter=0xde200688) at
/vol/gcc/src/hg/trunk/local/libgo/go/testing/testing.go:471
#7  0xfe8d005b in kickoff () at
/vol/gcc/src/hg/trunk/local/libgo/runtime/proc.c:229
#8  0xfe4a5ba2 in makecontext () from /lib/libc.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

This might be another instance of problems unwinding through makecontext.

    Rainer


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

* [Bug go/59432] [4.9 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-12-10 12:45 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2013-12-17 18:31 ` jakub at gcc dot gnu.org
  2014-04-22 11:36 ` [Bug go/59432] [4.9/4.10 " jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-12-17 18:31 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
                 CC|                            |jakub at gcc dot gnu.org


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-12-17 18:31 ` jakub at gcc dot gnu.org
@ 2014-04-22 11:36 ` jakub at gcc dot gnu.org
  2014-07-16 13:28 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-22 11:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.0                       |4.9.1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.0 has been released


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-04-22 11:36 ` [Bug go/59432] [4.9/4.10 " jakub at gcc dot gnu.org
@ 2014-07-16 13:28 ` jakub at gcc dot gnu.org
  2014-07-16 20:28 ` kdevel at vogtner dot de
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-07-16 13:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.1                       |4.9.2

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.1 has been released.


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-07-16 13:28 ` jakub at gcc dot gnu.org
@ 2014-07-16 20:28 ` kdevel at vogtner dot de
  2014-07-18 12:36 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: kdevel at vogtner dot de @ 2014-07-16 20:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

Stefan <kdevel at vogtner dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdevel at vogtner dot de

--- Comment #5 from Stefan <kdevel at vogtner dot de> ---
PASS: runtime/pprof
Aborted

testing.tRunner
        [redacted]/gcc-4.9.1/bld/gcc-4.9.1/libgo/go/testing/testing.go:392

goroutine 1 [chan receive]:
testing.RunTests
        [redacted]/gcc-4.9.1/bld/gcc-4.9.1/libgo/go/testing/testing.go:472
testing.Main
        [redacted]/gcc-4.9.1/bld/gcc-4.9.1/libgo/go/testing/testing.go:403
main.main
       
[redacted]/gcc-4.9.1/bld/gcc-objdir/x86_64-unknown-linux-gnu/32/libgo/gotest24424/test/_testmain.go:67
FAIL: sync/atomic
make[5]: *** [sync/atomic/check] Fehler 1

Same error in April with 4.9.0:

PASS: runtime/pprof
Aborted

testing.tRunner
        [redacted]/gcc-4.9.0/bld/gcc-4.9.0/libgo/go/testing/testing.go:392

goroutine 1 [chan receive]:
testing.RunTests
        [redacted]/gcc-4.9.0/bld/gcc-4.9.0/libgo/go/testing/testing.go:472
testing.Main
        [redacted]/gcc-4.9.0/bld/gcc-4.9.0/libgo/go/testing/testing.go:403
main.main
       
[redacted]/gcc-4.9.0/bld/gcc-objdir/x86_64-unknown-linux-gnu/32/libgo/gotest
24306/test/_testmain.go:67
FAIL: sync/atomic
make[5]: *** [sync/atomic/check] Fehler 1


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2014-07-16 20:28 ` kdevel at vogtner dot de
@ 2014-07-18 12:36 ` ubizjak at gmail dot com
  2014-07-18 14:50 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2014-07-18 12:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Please see [1] for the explanation of this problem. Your system doesn't support
.cfi directives and the referred patch doesn't handle this situation.

Since EBX register is marked as fixed, there is nothing we can do.

[1] https://gcc.gnu.org/ml/gcc-patches/2013-11/msg00309.html
>From gcc-bugs-return-456711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 18 12:49:07 2014
Return-Path: <gcc-bugs-return-456711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25385 invoked by alias); 18 Jul 2014 12:49:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25267 invoked by uid 48); 18 Jul 2014 12:49:03 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61831] [4.9/ 4.10 Regression] runtime error: pointer being freed was not allocated
Date: Fri, 18 Jul 2014 12:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61831-4-IXmp5W1VcL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61831-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61831-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01302.txt.bz2
Content-length: 262

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831

--- Comment #20 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Ok, Dominique, you mean: compile everything with 4.9.1, then recompile
commands.f90 with 4.9.0 and build the executable with 4.9.0?
>From gcc-bugs-return-456712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 18 12:53:53 2014
Return-Path: <gcc-bugs-return-456712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1869 invoked by alias); 18 Jul 2014 12:53:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1785 invoked by uid 48); 18 Jul 2014 12:53:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/61835] Invalid comment on pretty printers breaks gdb
Date: Fri, 18 Jul 2014 12:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-61835-4-fb9HUZJlWn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61835-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01303.txt.bz2
Content-length: 486

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida835

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-07-18
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2014-07-18 12:36 ` ubizjak at gmail dot com
@ 2014-07-18 14:50 ` ubizjak at gmail dot com
  2014-07-24 18:44 ` [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives LpSolit at netscape dot net
  2014-10-15 17:57 ` [Bug go/59432] [4.9/5 " uros at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2014-07-18 14:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #7)
> Please see [1] for the explanation of this problem. Your system doesn't
> support .cfi directives and the referred patch doesn't handle this situation.
> 
> Since EBX register is marked as fixed, there is nothing we can do.

There is a proposal to allow EBX for allocation also in PIC mode [1]. The
approach proposed in referred poposal would solve this PR (and many others,
too).

[1] https://gcc.gnu.org/ml/gcc/2014-07/msg00058.html
>From gcc-bugs-return-456728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 18 14:51:31 2014
Return-Path: <gcc-bugs-return-456728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 737 invoked by alias); 18 Jul 2014 14:51:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 493 invoked by uid 48); 18 Jul 2014 14:51:22 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on Solaris/x86
Date: Fri, 18 Jul 2014 14:51: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-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 4.9.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59432-4-YCYYXpNZYy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59432-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59432-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01319.txt.bz2
Content-length: 203

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> ---
This problem is also seen on CentOS 5, where CFI directives are not supported.
>From gcc-bugs-return-456729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 18 15:44:18 2014
Return-Path: <gcc-bugs-return-456729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15161 invoked by alias); 18 Jul 2014 15:44:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14805 invoked by uid 48); 18 Jul 2014 15:44:08 -0000
From: "kdevel at vogtner dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/61840] [4.9 regression] sync/atomic FAILs on x86_64-unknown-linux-gnu
Date: Fri, 18 Jul 2014 15:44: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-Version: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kdevel at vogtner dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61840-4-tLTWFKbWTO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61840-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01320.txt.bz2
Content-length: 239

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida840

--- Comment #4 from Stefan <kdevel at vogtner dot de> ---
Thanks for the comments. I had an old as (binutils 2.19) on the system. After
replacing with binutils 2.22 GCC passes the test.


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

* [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2014-07-18 14:50 ` ubizjak at gmail dot com
@ 2014-07-24 18:44 ` LpSolit at netscape dot net
  2014-10-15 17:57 ` [Bug go/59432] [4.9/5 " uros at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: LpSolit at netscape dot net @ 2014-07-24 18:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i386-pc-solaris2.*          |x86
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-18
               Host|i386-pc-solaris2.*          |
            Summary|[4.9/4.10 regression]       |[4.9/4.10 regression]
                   |sync/atomic FAILs on        |sync/atomic FAILs on 32bit
                   |Solaris/x86                 |x86 systems without .cfi
                   |                            |directives
     Ever confirmed|0                           |1
              Build|i386-pc-solaris2.*          |

--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> ---
*** Bug 61840 has been marked as a duplicate of this bug. ***

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
Confirmed also on CentOS 5 (a system without .cfi directives).
>From gcc-bugs-return-457050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 24 19:22:16 2014
Return-Path: <gcc-bugs-return-457050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15585 invoked by alias); 24 Jul 2014 19:22:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15516 invoked by uid 48); 24 Jul 2014 19:22:11 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/61845] Minor build warnings for gcc-4.9.1
Date: Thu, 24 Jul 2014 19:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61845-4-UYRywmCE38@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61845-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61845-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01641.txt.bz2
Content-length: 153

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida845

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It has been fixed by r211424 on trunk.


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

* [Bug go/59432] [4.9/5 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives
  2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2014-07-24 18:44 ` [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives LpSolit at netscape dot net
@ 2014-10-15 17:57 ` uros at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: uros at gcc dot gnu.org @ 2014-10-15 17:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

--- Comment #14 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Oct 15 17:57:17 2014
New Revision: 216281

URL: https://gcc.gnu.org/viewcvs?rev=216281&root=gcc&view=rev
Log:
    PR go/59432
    * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
    Remove the second alternative.
    (regprefix): Remove mode attribute.
    (atomic_compare_and_swap<mode>): Do not fixup operand 2.
    * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.

    Revert:
    2013-11-05  Ian Lance Taylor  <iant@google.com>

    * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
    If possible, add .cfi directives to record change to bx.
    * config/i386/i386.c (ix86_emit_cfi): New function.
    * config/i386/i386-protos.h (ix86_emit_cfi): Declare.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/predicates.md
    trunk/gcc/config/i386/sync.md


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

end of thread, other threads:[~2014-10-15 17:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 15:38 [Bug go/59432] New: [4.9 regression] sync/atomic FAILs on Solaris/x86 ro at gcc dot gnu.org
2013-12-09 15:40 ` [Bug go/59432] " ro at gcc dot gnu.org
2013-12-09 17:11 ` ian at airs dot com
2013-12-10 12:45 ` ro at CeBiTec dot Uni-Bielefeld.DE
2013-12-17 18:31 ` jakub at gcc dot gnu.org
2014-04-22 11:36 ` [Bug go/59432] [4.9/4.10 " jakub at gcc dot gnu.org
2014-07-16 13:28 ` jakub at gcc dot gnu.org
2014-07-16 20:28 ` kdevel at vogtner dot de
2014-07-18 12:36 ` ubizjak at gmail dot com
2014-07-18 14:50 ` ubizjak at gmail dot com
2014-07-24 18:44 ` [Bug go/59432] [4.9/4.10 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives LpSolit at netscape dot net
2014-10-15 17:57 ` [Bug go/59432] [4.9/5 " uros at gcc dot gnu.org

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