public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
@ 2014-12-01  0:37 danglin at gcc dot gnu.org
  2014-12-01 12:38 ` [Bug libstdc++/64132] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-12-01  0:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64132
           Summary: [5.0 Regression] FAIL:
                    22_locale/numpunct/members/char/3.cc execution test
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

spawn /home/dave/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/home/dave/gnu/gcc/o
bjdir/./gcc -nostdinc++
-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/
src -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs
-L/home/da
ve/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/dave/opt/g
nu/gcc/gcc-5.0/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-5.0/hppa-linux-g
nu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-5.0/hppa-linux-gnu/include -isystem 
/home/dave/opt/gnu/gcc/gcc-5.0/hppa-linux-gnu/sys-include
-B/home/dave/gnu/gcc/o
bjdir/hppa-linux-gnu/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT
-fmessage-length
=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -DLOCALEDIR="."
-nos
tdinc++
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-lin
ux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include
-I/home/d
ave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/inc
lude/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/home/dave/gn
u/gcc/gcc/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc -include
b
its/stdc++.h ./libtestc++.a -Wl,--gc-sections -lm -o ./3.exe
PASS: 22_locale/numpunct/members/char/3.cc (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/obj
dir/hppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/objdir/hpp
a-linux-gnu/./libstdc++-v3/src/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/g
nu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/
objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-li
nux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.
libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev-gcc
spawn [open ...]
3.exe:
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc:39:
void test02(): Assertion `g == ""' failed.
FAIL: 22_locale/numpunct/members/char/3.cc execution test
extra_tool_flags are:
  -include bits/stdc++.h

r210049 was ok.


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

* [Bug libstdc++/64132] [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
  2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
@ 2014-12-01 12:38 ` rguenth at gcc dot gnu.org
  2015-03-31 13:03 ` [Bug libstdc++/64132] [5 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-01 12:38 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug libstdc++/64132] [5 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
  2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
  2014-12-01 12:38 ` [Bug libstdc++/64132] " rguenth at gcc dot gnu.org
@ 2015-03-31 13:03 ` rguenth at gcc dot gnu.org
  2015-04-22 12:02 ` [Bug libstdc++/64132] [5/6 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-31 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not a primary or secondary arch (and still unconfirmed).


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

* [Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
  2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
  2014-12-01 12:38 ` [Bug libstdc++/64132] " rguenth at gcc dot gnu.org
  2015-03-31 13:03 ` [Bug libstdc++/64132] [5 " rguenth at gcc dot gnu.org
@ 2015-04-22 12:02 ` jakub at gcc dot gnu.org
  2015-07-16  9:25 ` rguenth at gcc dot gnu.org
  2015-09-13 18:50 ` miyuki at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 12:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.0                         |5.2

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


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

* [Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
  2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-04-22 12:02 ` [Bug libstdc++/64132] [5/6 " jakub at gcc dot gnu.org
@ 2015-07-16  9:25 ` rguenth at gcc dot gnu.org
  2015-09-13 18:50 ` miyuki at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

* [Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
  2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-07-16  9:25 ` rguenth at gcc dot gnu.org
@ 2015-09-13 18:50 ` miyuki at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-09-13 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa-unknown-linux-gnu      |hppa-unknown-linux-gnu,
                   |                            |x86_64-linux-gnu
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|2015-03-18 00:00:00         |2015-09-13
                 CC|                            |miyuki at gcc dot gnu.org
               Host|hppa-unknown-linux-gnu      |hppa-unknown-linux-gnu,
                   |                            |x86_64-linux-gnu
     Ever confirmed|0                           |1
              Build|hppa-unknown-linux-gnu      |hppa-unknown-linux-gnu,
                   |                            |x86_64-linux-gnu

--- Comment #4 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
This reproduces on x86_64-linux. Probably it is specific to some configuration
options (because this failure does not show up in test results mailing lists).
configure flags: --enable-languages=c,c++,objc,lto,fortran,go,ada
--prefix=/opt/gcc-6.0.0 --enable-clocale=gnu --with-system-zlib
--with-demangler-in-ld --with-isl=/opt/isl-0.14 --enable-shared
--with-fpmath=sse --enable-multilib --enable-bootstrap --enable-checking=yes
CC=/opt/gcc-5.2.0-fdo/bin/gcc CXX=/opt/gcc-5.2.0-fdo/bin/g++

I recompiled this testcase with "-O0 -ggdb" flags. GDB session (run on build
box):

Starting program:
/home/jenkins/workspace/build-gcc-trunk/build/x86_64-pc-linux-gnu/libstdc++-v3/testsuite/normal1/3.exe 
3.exe:
/home/jenkins/workspace/build-gcc-trunk/src/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc:39:
void test02(): Assertion `g == ""' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff71d5107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff71d5107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff71d64e8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff71ce226 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff71ce2d2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000400b55 in test02 () at
/home/jenkins/workspace/build-gcc-trunk/src/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc:39
#5  0x0000000000400baa in main () at
/home/jenkins/workspace/build-gcc-trunk/src/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc:44
(gdb) up 4
#4  0x0000000000400b55 in test02 () at
/home/jenkins/workspace/build-gcc-trunk/src/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc:39
39        VERIFY( g == "" );
(gdb) p g
$1 = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>>
= {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7fffffffde30 "\003\003"}, _M_string_length = 2, {
    _M_local_buf = "\003\003\000\377\377\177\000\000,\f@\000\000\000\000",
_M_allocated_capacity = 140737471578883}}
(gdb) list
34
35        const numpunct<char>& nump_it = use_facet<numpunct<char> >(loc_it); 
36
37        string g = nump_it.grouping();
38
39        VERIFY( g == "" );
40      }
41
42      int main()
43      {
(gdb) p nump_it
$2 = (const std::__cxx11::numpunct<char> &) @0x616e00: {<std::locale::facet> =
{<No data fields>}, _M_data = 0x616e20, static id = {_M_index = 3, static
_S_refcount = 46}}
(gdb) p *nump_it._M_data
$3 = {<std::locale::facet> = {_vptr.facet = 0x7ffff7dcf218 <vtable for
std::__numpunct_cache<char>+16>, _M_refcount = 0, static _S_c_locale =
0x7ffff7541ae0, static _S_c_name = "C", static _S_once = 0}, 
  _M_grouping = 0x616ec0 "\003\003", _M_grouping_size = 2, _M_use_grouping =
false, _M_truename = 0x7ffff7b90eac "true", _M_truename_size = 4, _M_falsename
= 0x7ffff7b90ea6 "false", _M_falsename_size = 5, _M_decimal_point = 44 ',', 
  _M_thousands_sep = 46 '.', _M_atoms_out = '\000' <repeats 35 times>,
_M_atoms_in = '\000' <repeats 25 times>, _M_allocated = false}
...
(gdb) p *loc_it._M_impl->_M_facets[0]
$10 = {_vptr.facet = 0x7ffff7dcf8d0 <vtable for std::ctype<char>+16>,
_M_refcount = 1, static _S_c_locale = 0x7ffff7541ae0, static _S_c_name = "C",
static _S_once = 0}
(gdb) p *loc_it._M_impl->_M_facets[1]
$11 = {_vptr.facet = 0x7ffff7dce6a0 <vtable for std::codecvt<char, char,
__mbstate_t>+16>, _M_refcount = 1, static _S_c_locale = 0x7ffff7541ae0, static
_S_c_name = "C", static _S_once = 0}
(gdb) p *loc_it._M_impl->_M_facets[2]
$12 = {_vptr.facet = 0x7ffff7dd1680 <vtable for
std::__cxx11::numpunct<char>+16>, _M_refcount = 1, static _S_c_locale =
0x7ffff7541ae0, static _S_c_name = "C", static _S_once = 0}
(gdb) p *loc_it._M_impl->_M_facets[3]

Also, in my builds it started failing after migration: previous build box had
Debian 7 installed (in OpenVZ container), the current one has Debian 8 (on a
physical box). This migration caused:
+FAIL: 22_locale/messages/13631.cc execution test
+FAIL: 22_locale/messages/members/char/1.cc execution test
+FAIL: 22_locale/messages/members/char/2.cc execution test
+FAIL: 22_locale/messages/members/char/wrapped_env.cc execution test
+FAIL: 22_locale/messages/members/char/wrapped_locale.cc execution test
+FAIL: 22_locale/messages_byname/named_equivalence.cc execution test
+FAIL: 22_locale/numpunct/members/char/3.cc execution test
+FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test

Back then the configuration was slightly different:
configure flags: --enable-languages=c,c++,objc,lto,fortran,go
--prefix=/opt/gcc-6.0-trunk --enable-clocale=gnu --disable-nls
--with-system-zlib --with-demangler-in-ld --with-isl=/opt/isl-0.14
--enable-shared --with-fpmath=sse --enable-multilib --enable-bootstrap
--enable-checking=yes
(it included "--disable-nls" and had a different bootstrap compiler).

Recently I installed quite a lot of packages on build box (in order to
benchmark Firefox build), among them are libgettextpo-dev and some x11-related
stuff (not sure which of them could be relevant) and lots of failures got
fixed. Remaining failures are:
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test


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

end of thread, other threads:[~2015-09-13 18:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01  0:37 [Bug libstdc++/64132] New: [5.0 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test danglin at gcc dot gnu.org
2014-12-01 12:38 ` [Bug libstdc++/64132] " rguenth at gcc dot gnu.org
2015-03-31 13:03 ` [Bug libstdc++/64132] [5 " rguenth at gcc dot gnu.org
2015-04-22 12:02 ` [Bug libstdc++/64132] [5/6 " jakub at gcc dot gnu.org
2015-07-16  9:25 ` rguenth at gcc dot gnu.org
2015-09-13 18:50 ` miyuki 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).