[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Dominique d'Humieres  changed:

   What|Removed |Added

Summary|[5 Regression] Several  |[5 Regression] Several
   |libstdc++ test failures on  |libstdc++ test failures on
   |darwin and others after |non-linux platforms after
   |r218964.|r218964.

--- Comment #15 from Dominique d'Humieres  ---
> I've just confirmed that r218964 is also the cuprit for the
> (considerably smaller) set of 64-bit testsuite failures seen
> on Solaris (both SPARC and x86):

Some are also seen on hppa2.0w-hp-hpux11.11, see
https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg02304.html:

FAIL: 22_locale/conversions/string/2.cc execution test
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/2.cc
(test for excess errors)
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/4.cc
(test for excess errors)
FAIL: 23_containers/vector/ext_pointer/types/2.cc execution test
FAIL: 30_threads/shared_lock/requirements/explicit_instantiation.cc (test for
excess errors)
FAIL: 30_threads/shared_lock/requirements/typedefs.cc (test for excess errors)
FAIL: 30_threads/shared_timed_mutex/requirements/standard_layout.cc (test for
excess errors)
FAIL: experimental/feat-cxx14.cc (test for excess errors)

Note that the last failures belong to another PR: they come from a later commit
and I see several of them on darwin (see FX tests). I have no inclination to
open a PR for them as long as the PRs I open are rotting for ever.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #16 from Jonathan Wakely  ---
(In reply to Dominique d'Humieres from comment #15)
> Note that the last failures belong to another PR: they come from a later
> commit and I see several of them on darwin (see FX tests). I have no
> inclination to open a PR for them as long as the PRs I open are rotting for
> ever.

This PR is a month old today, hardly forever. I'm going to fix it.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-24 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #17 from howarth at bromo dot med.uc.edu ---
For the failure of the 22_locale/locale/cons/6.cc execution test on darwin14,
it traces as...

% fsf-gdb ./11.exe  
GNU gdb (GDB) 7.8.2
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin14.1.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./11.exe...Reading symbols from
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/libstdc++-v3/testsuite/11.exe.dSYM/Contents/Resources/DWARF/11.exe...done.
done.
(gdb) break main
Breakpoint 1 at 0x3860: file
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150124/libstdc++-v3/testsuite/22_locale/num_get/get/char/11.cc,
line 104.
(gdb) r
Starting program:
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/libstdc++-v3/testsuite/11.exe
 
warning: Could not open OSO archive file
"/BinaryCache/corecrypto/corecrypto-233.1.2~26/Symbols/BuiltProducts/libcorecrypto_static.a"
warning:
`/BinaryCache/coreTLS/coreTLS-35.1.2~2/Objects/coretls.build/coretls.build/Objects-normal/i386/system_coretls_vers.o':
can't open to read symbols: No such file or directory.
warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_ciphersuites.a"
warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_handshake.a"
warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_record.a"
warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_stream_parser.a"

Breakpoint 1, main () at
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150124/libstdc++-v3/testsuite/22_locale/num_get/get/char/11.cc:104
104{
(gdb) s
105  test01();
(gdb) s
test01 () at
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libstdc++-v3/include/bits/basic_ios.h:462
462_M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0)
(gdb) s
40{
(gdb) s
462_M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0)
(gdb) s
40{
(gdb) s
462_M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0)
(gdb) s
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x94e20420 in dyld_stub_binder () from /usr/lib/system/libdyld.dylib
(gdb) s
Single stepping until exit from function dyld_stub_binder,
which has no line number information.
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x94e20440 in misaligned_stack_error_ () from /usr/lib/system/libdyld.dylib
(gdb) s
Single stepping until exit from function misaligned_stack_error_,
which has no line number information.
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x94e20458 in dyld_stub_binder_ () from /usr/lib/system/libdyld.dylib
(gdb) s
Single stepping until exit from function dyld_stub_binder_,
which has no line number information.
std::ios_base::ios_base (this=0xb49c) at
../../../../../../gcc-5-20150124/libstdc++-v3/src/c++11/ios.cc:76
76  ios_base::ios_base() throw()
(gdb) s
11.exe(40298,0xa07ed1d4) malloc: *** error for object 0xc5a1e: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Program received signal SIGABRT, Aborted.
0x94e3c69a in __pthread_kill () from /usr/lib/system/libsystem_kernel.dylib


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Jonathan Wakely  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #18 from Jonathan Wakely  ---
Author: redi
Date: Mon Jan 26 23:42:39 2015
New Revision: 220143

URL: https://gcc.gnu.org/viewcvs?rev=220143&root=gcc&view=rev
Log:
PR libstdc++/64368
* config/locale/gnu/numeric_members.cc (numpunct::~numpunct(),
numpunct::~numpunct()): Do not set _M_data->_M_grouping.
* src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
and use cache's _M_grouping field.
(__numpunct_fill_cache): Likewise.
(__moneypunct_fill_cache): Improve comments.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/gnu/numeric_members.cc
trunk/libstdc++-v3/src/c++11/cxx11-shim_facets.cc


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #19 from Jonathan Wakely  ---
r220143 should fix a lot of these failures, I'll check the testresults to see
what remains.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-26 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #20 from howarth at bromo dot med.uc.edu ---
(In reply to Jonathan Wakely from comment #19)
> r220143 should fix a lot of these failures, I'll check the testresults to
> see what remains.

On x86_64-apple-darwin14, the failures are now reduced to...

FAIL: 22_locale/conversions/string/2.cc execution test
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/2.cc
(test for excess errors)
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/4.cc
(test for excess errors)
FAIL: 30_threads/shared_lock/cons/1.cc (test for excess errors)
FAIL: 30_threads/shared_lock/cons/2.cc (test for excess errors)
FAIL: 30_threads/shared_lock/cons/3.cc (test for excess errors)
FAIL: 30_threads/shared_lock/cons/4.cc (test for excess errors)
FAIL: 30_threads/shared_lock/locking/1.cc (test for excess errors)
FAIL: 30_threads/shared_lock/locking/2.cc (test for excess errors)
FAIL: 30_threads/shared_lock/modifiers/1.cc (test for excess errors)
FAIL: 30_threads/shared_lock/modifiers/2.cc (test for excess errors)
FAIL: 30_threads/shared_lock/requirements/explicit_instantiation.cc (test for
excess errors)
FAIL: 30_threads/shared_lock/requirements/typedefs.cc (test for excess errors)
FAIL: 30_threads/shared_timed_mutex/cons/1.cc (test for excess errors)
FAIL: 30_threads/shared_timed_mutex/requirements/standard_layout.cc (test for
excess errors)
FAIL: 30_threads/shared_timed_mutex/try_lock/1.cc (test for excess errors)
FAIL: 30_threads/shared_timed_mutex/try_lock/2.cc (test for excess errors)
FAIL: experimental/feat-cxx14.cc (test for excess errors)


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #21 from Dominique d'Humieres  ---
> On x86_64-apple-darwin14, the failures are now reduced to...

> FAIL: 22_locale/conversions/string/2.cc execution test
> FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/2.cc
> (test for excess errors)
> FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/4.cc
> (test for excess errors)
> FAIL: 30_threads/shared_lock/cons/1.cc (test for excess errors)
> ...

Confirmed, thanks for the fix. The first failure is covered by pr64797, the
23_containers/* failures are covered by pr64813, and I'll open a new PR for the
remaining ones ASAP. I am waiting for feedback from the other platforms before
closing the PR as FIXED.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #22 from Jonathan Wakely  ---
(In reply to howarth from comment #20)
> On x86_64-apple-darwin14, the failures are now reduced to...
> 
> FAIL: 22_locale/conversions/string/2.cc execution test

PR 64797

> FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/2.cc
> (test for excess errors)
> FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/4.cc
> (test for excess errors)

PR 64813

> FAIL: 30_threads/shared_lock/cons/1.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/cons/2.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/cons/3.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/cons/4.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/locking/1.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/locking/2.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/modifiers/1.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/modifiers/2.cc (test for excess errors)
> FAIL: 30_threads/shared_lock/requirements/explicit_instantiation.cc (test
> for excess errors)
> FAIL: 30_threads/shared_lock/requirements/typedefs.cc (test for excess
> errors)
> FAIL: 30_threads/shared_timed_mutex/cons/1.cc (test for excess errors)
> FAIL: 30_threads/shared_timed_mutex/requirements/standard_layout.cc (test
> for excess errors)
> FAIL: 30_threads/shared_timed_mutex/try_lock/1.cc (test for excess errors)
> FAIL: 30_threads/shared_timed_mutex/try_lock/2.cc (test for excess errors)

Fixed by r220161

> FAIL: experimental/feat-cxx14.cc (test for excess errors)

Maybe also fixed by r220161

--- Comment #23 from Jonathan Wakely  ---
Author: redi
Date: Tue Jan 27 11:12:04 2015
New Revision: 220161

URL: https://gcc.gnu.org/viewcvs?rev=220161&root=gcc&view=rev
Log:
PR libstdc++/64368
* include/std/shared_mutex (shared_timed_mutex::try_lock_for,
shared_timed_mutex::try_lock_until): Only define when POSIX thread
timeouts option is supported.
(shared_timed_mutex::try_shared_lock_for,
shared_timed_mutex::try_shared_lock_until): Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/shared_mutex


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #24 from Dominique d'Humieres  ---
> > ...
> > FAIL: 30_threads/shared_timed_mutex/try_lock/2.cc (test for excess errors)
>
> Fixed by r220161

Confirmed. PR fixed before being opened!-)

> > FAIL: experimental/feat-cxx14.cc (test for excess errors)
>
> Maybe also fixed by r220161

Yes. Remaining after r220161 PR 64797 and PR 64813.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #25 from Jonathan Wakely  ---
Great, thanks for confirming it. As you say, let's leave this open for now in
case HP or Rainer still sees some of these failures.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #26 from Hans-Peter Nilsson  ---
(In reply to Jonathan Wakely from comment #25)
> Great, thanks for confirming it. As you say, let's leave this open for now
> in case HP or Rainer still sees some of these failures.

JFTR, for cris-elf at r220153, my autotester is now down to the following
regressions since the start of the epoch (11 years ago):

gcc.sum gcc.dg/tls/alias-1.c
libstdc++.sum 28_regex/traits/char/isctype.cc
libstdc++.sum 28_regex/traits/wchar_t/isctype.cc

(all covered by other PR:s, the last two may be on your short list :-)
Thanks!


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #27 from Andreas Tobler  ---
FreeBSD/amd64 is back to normal too, thanks!

https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg03141.html


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #28 from Jonathan Wakely  ---
Let's close this then, and I'll deal with the PRs for the remaining failures.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-27 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #29 from howarth at bromo dot med.uc.edu ---
(In reply to Jonathan Wakely from comment #28)
> Let's close this then, and I'll deal with the PRs for the remaining failures.

Down to just...

FAIL: 22_locale/conversions/string/2.cc execution test
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/2.cc
(test for excess errors)
FAIL: 23_containers/unordered_map/requirements/explicit_instantiation/4.cc
(test for excess errors)

on x86_64-apple-darwin14 at r220189.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on non-linux platforms after r218964.

2015-01-28 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #30 from ro at CeBiTec dot Uni-Bielefeld.DE  ---
> --- Comment #25 from Jonathan Wakely  ---
> Great, thanks for confirming it. As you say, let's leave this open for now in
> case HP or Rainer still sees some of these failures.

Just for the record: all the failures on Solaris (with the exception of
PR libstdc++/64797, of course) are gone, too.

Thanks.
Rainer