* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
@ 2011-11-17 20:59 ` danglin at gcc dot gnu.org
2011-11-17 21:22 ` joseph at codesourcery dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-17 20:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-17
CC| |danglin at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-11-17 20:54:31 UTC ---
Also seen on hppa64-hp-hpux11.11. There is no hardware or kernel
support for compare and swap as far as I know on HP PARISC. Thus
the best that can be done is a mutex implementation.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
2011-11-17 20:59 ` [Bug libstdc++/51181] " danglin at gcc dot gnu.org
@ 2011-11-17 21:22 ` joseph at codesourcery dot com
2011-11-17 21:36 ` paolo.carlini at oracle dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: joseph at codesourcery dot com @ 2011-11-17 21:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-11-17 21:06:54 UTC ---
FWIW, classic m68k has compare-and-swap, while ColdFire Linux uses kernel
helpers (available in both vDSO and syscall forms; the syscall forms are
probably rather easier to use from libgcc than the vDSO is).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
2011-11-17 20:59 ` [Bug libstdc++/51181] " danglin at gcc dot gnu.org
2011-11-17 21:22 ` joseph at codesourcery dot com
@ 2011-11-17 21:36 ` paolo.carlini at oracle dot com
2011-11-17 21:53 ` dave.anglin at bell dot net
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-11-17 21:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-17 21:10:25 UTC ---
I would recommend figuring out which specific patch part of the recent TM / C++
atomic work is at the root of the problem and thus CC-ing either Aldy or Andrew
or Rth about it
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (2 preceding siblings ...)
2011-11-17 21:36 ` paolo.carlini at oracle dot com
@ 2011-11-17 21:53 ` dave.anglin at bell dot net
2011-11-17 22:58 ` rth at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dave.anglin at bell dot net @ 2011-11-17 21:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #4 from dave.anglin at bell dot net 2011-11-17 21:46:40 UTC ---
Symbol is from libsupc++/eh_tm.cc.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (3 preceding siblings ...)
2011-11-17 21:53 ` dave.anglin at bell dot net
@ 2011-11-17 22:58 ` rth at gcc dot gnu.org
2011-11-18 0:04 ` paolo.carlini at oracle dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-11-17 22:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2011-11-17 22:52:45 UTC ---
http://gcc.gnu.org/ml/libstdc++/2011-11/msg00160.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (4 preceding siblings ...)
2011-11-17 22:58 ` rth at gcc dot gnu.org
@ 2011-11-18 0:04 ` paolo.carlini at oracle dot com
2011-11-18 1:43 ` rth at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-11-18 0:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-17 23:59:16 UTC ---
Thanks Richard. I would say, please test.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (5 preceding siblings ...)
2011-11-18 0:04 ` paolo.carlini at oracle dot com
@ 2011-11-18 1:43 ` rth at gcc dot gnu.org
2011-11-18 9:54 ` mikpe at it dot uu.se
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-11-18 1:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #7 from Richard Henderson <rth at gcc dot gnu.org> 2011-11-18 01:38:53 UTC ---
Author: rth
Date: Fri Nov 18 01:38:48 2011
New Revision: 181465
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181465
Log:
PR libstdc++/51181
* libsupc++/eh_tm.cc (free_any_cxa_exception): Protect the use
of __sync_sub_and_fetch with _GLIBCXX_ATOMIC_BUILTINS_4.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/libsupc++/eh_tm.cc
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (6 preceding siblings ...)
2011-11-18 1:43 ` rth at gcc dot gnu.org
@ 2011-11-18 9:54 ` mikpe at it dot uu.se
2011-11-20 12:43 ` mikpe at it dot uu.se
2011-11-22 21:38 ` cestrauss at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu.se @ 2011-11-18 9:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2011-11-18 09:50:30 UTC ---
Testing Richard's patch ...
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (7 preceding siblings ...)
2011-11-18 9:54 ` mikpe at it dot uu.se
@ 2011-11-20 12:43 ` mikpe at it dot uu.se
2011-11-22 21:38 ` cestrauss at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu.se @ 2011-11-20 12:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Mikael Pettersson <mikpe at it dot uu.se> 2011-11-20 10:18:44 UTC ---
Richard's patch in r181465 fixed these failures.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux
2011-11-16 23:10 [Bug libstdc++/51181] New: [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux mikpe at it dot uu.se
` (8 preceding siblings ...)
2011-11-20 12:43 ` mikpe at it dot uu.se
@ 2011-11-22 21:38 ` cestrauss at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: cestrauss at gmail dot com @ 2011-11-22 21:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181
Cesar Strauss <cestrauss at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cestrauss at gmail dot com
--- Comment #10 from Cesar Strauss <cestrauss at gmail dot com> 2011-11-22 21:32:33 UTC ---
*** Bug 51140 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread