public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile
@ 2012-05-29 13:58 ro at gcc dot gnu.org
  2012-05-29 14:03 ` [Bug libstdc++/53518] " redi at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2012-05-29 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53518
           Summary: [4.8 regression] testsuite_abi_check.cc doesn't
                    compile
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2.9
            Target: *-*-solaris2.9
             Build: *-*-solaris2.9


Between 20120518 and 20120525, many libstdc++ testcases started to fail.  
The root cause is

output is:
Undefined                       first referenced^M
 symbol                             in file^M
construction vtable for std::basic_istream<char, std::char_traits<char>
>-in-std
::basic_ifstream<char, std::char_traits<char> >
./libtestc++.a(testsuite_abi.o)^
M
construction vtable for std::basic_istream<char, std::char_traits<char>
>-in-std
::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >
./lib
testc++.a(testsuite_abi.o)^M
ld: fatal: Symbol referencing errors. No output written to abi_check^M
collect2: error: ld returned 1 exit status^M

ERROR: tcl error sourcing
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/lib
stdc++-abi/abi.exp.
ERROR: could not compile testsuite_abi_check.cc
    while executing

  Rainer


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

* [Bug libstdc++/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
@ 2012-05-29 14:03 ` redi at gcc dot gnu.org
  2012-05-29 14:07 ` paolo.carlini at oracle dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-29 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-29 14:02:17 UTC ---
(In reply to comment #0)
> Between 20120518 and 20120525, many libstdc++ testcases started to fail. 

>From the libstdc++-v3/ChangeLog for that period I'd say it's unlikely to be
caused by a libstdc++ change.


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

* [Bug libstdc++/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
  2012-05-29 14:03 ` [Bug libstdc++/53518] " redi at gcc dot gnu.org
@ 2012-05-29 14:07 ` paolo.carlini at oracle dot com
  2012-05-30 15:25 ` [Bug middle-end/53518] " ro at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-29 14:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-29 14:02:17 UTC ---
(In reply to comment #0)
> Between 20120518 and 20120525, many libstdc++ testcases started to fail. 

>From the libstdc++-v3/ChangeLog for that period I'd say it's unlikely to be
caused by a libstdc++ change.

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-29 14:02:59 UTC ---
Please try to figure out which patch broke this and adjust accordingly the
component, because evidently this isn't a library proper issue (eh, nothing
substantive went in!)


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
  2012-05-29 14:03 ` [Bug libstdc++/53518] " redi at gcc dot gnu.org
  2012-05-29 14:07 ` paolo.carlini at oracle dot com
@ 2012-05-30 15:25 ` ro at gcc dot gnu.org
  2012-08-14 18:50 ` jojelino at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2012-05-30 15:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-30
                 CC|                            |hubicka at gcc dot gnu.org
          Component|libstdc++                   |middle-end
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> 2012-05-30 15:24:03 UTC ---
A reghunt identified the following patch as the culprit:

2012-05-18  Jan Hubicka  <jh@suse.cz>

    * cgraphbuild.c (record_reference): Update.
    * lto-cgraph.c (lto_output_varpool_node): External vars
    are not in other partition even if they are not output
    in current partition.
    * gimple-fold.c (can_refer_decl_in_current_unit_p): Take FROM_DECL
    argument; fix.
    (canonicalize_constructor_val): Take FROM_DECL argument.
    (fold_ctor_reference, fold_string_cst_ctor_reference,
    fold_array_ctor_reference, fold_nonarray_ctor_reference,
    fold_ctor_reference): Likewise.
    (fold_const_aggregate_ref_1, gimple_get_virt_method_for_binfo): Update.
    * gimple.h (gimple_fold_builtin): Likewise.

Jan, what additional information do you need to investigate?

Thanks.
  Rainer


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-05-30 15:25 ` [Bug middle-end/53518] " ro at gcc dot gnu.org
@ 2012-08-14 18:50 ` jojelino at gmail dot com
  2012-09-19 12:23 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jojelino at gmail dot com @ 2012-08-14 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from gee <jojelino at gmail dot com> 2012-08-14 18:49:53 UTC ---
cppcheck fails to compile because of this bug.

cli/cmdlineparser.o: In function `~basic_istream':
/usr/include/c++/4.8.0/istream:106: undefined reference to `construction vtable
for std::basic_istream<char, std::char_traits<char>
>-in-std::basic_ifstream<char, std::char_traits<char> >'
/usr/include/c++/4.8.0/istream:106: undefined reference to `construction vtable
for std::basic_istream<char, std::char_traits<char>
>-in-std::basic_ifstream<char, std::char_traits<char> >'
/usr/include/c++/4.8.0/istream:106: undefined reference to `construction vtable
for std::basic_istream<char, std::char_traits<char>
>-in-std::basic_ifstream<char, std::char_traits<char> >'

it says that 'construction vtable for std::basic_istream<char,
std::char_traits<char> >-in-std::basic_ifstream<char, std::char_traits<char> >'
cannot be found, but it exists. 

$ nm -sn /lib/libstdc++.a |c++filt |grep "construction vtable for
std::basic_istream<char, std::char_traits<char> >-in-std::basic_ifstream<char,
std::char_traits<char> >"
construction vtable for std::basic_istream<char, std::char_traits<char>
>-in-std::basic_ifstream<char, std::char_traits<char> > in fstream-inst.o
00000000 R construction vtable for std::basic_istream<char,
std::char_traits<char> >-in-std::basic_ifstream<char, std::char_traits<char> >


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-08-14 18:50 ` jojelino at gmail dot com
@ 2012-09-19 12:23 ` rguenth at gcc dot gnu.org
  2012-09-19 13:21 ` jojelino at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-19 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|NEW                         |WAITING

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-19 12:23:01 UTC ---
Still broken?


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-09-19 12:23 ` rguenth at gcc dot gnu.org
@ 2012-09-19 13:21 ` jojelino at gmail dot com
  2012-09-20  9:06 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jojelino at gmail dot com @ 2012-09-19 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from gee <jojelino at gmail dot com> 2012-09-19 13:20:59 UTC ---
(In reply to comment #5)
> Still broken?

I suspect it would be duplicate of 54314.


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-09-19 13:21 ` jojelino at gmail dot com
@ 2012-09-20  9:06 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-11-07 18:20 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-09-20  9:06 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-09-20 09:05:40 UTC ---
> --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-19 12:23:01 UTC ---
> Still broken?

Still broken on both i386-pc-solaris2.9 and sparc-sun-solaris2.9 as of
20120914 (r191294).

    Rainer


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2012-09-20  9:06 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-11-07 18:20 ` jakub at gcc dot gnu.org
  2012-11-08 12:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-07 18:20 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-07 18:20:16 UTC ---
(In reply to comment #7)
> > --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-19 12:23:01 UTC ---
> > Still broken?
> 
> Still broken on both i386-pc-solaris2.9 and sparc-sun-solaris2.9 as of
> 20120914 (r191294).
> 
>     Rainer

I don't see such a failure in
http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg00497.html , so fixed now?


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2012-11-07 18:20 ` jakub at gcc dot gnu.org
@ 2012-11-08 12:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-11-08 12:29 ` jakub at gcc dot gnu.org
  2013-01-25 20:36 ` jason at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-11-08 12:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-11-08 12:27:20 UTC ---
> --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-07 18:20:16 UTC ---
> (In reply to comment #7)
[...]
> I don't see such a failure in
> http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg00497.html , so fixed now?

Right, seems it got fixed between 20120921 and 20120928.

    Rainer


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2012-11-08 12:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-11-08 12:29 ` jakub at gcc dot gnu.org
  2013-01-25 20:36 ` jason at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 12:29 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 12:28:56 UTC ---
Fixed then.


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

* [Bug middle-end/53518] [4.8 regression] testsuite_abi_check.cc doesn't compile
  2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2012-11-08 12:29 ` jakub at gcc dot gnu.org
@ 2013-01-25 20:36 ` jason at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2013-01-25 20:36 UTC (permalink / raw)
  To: gcc-bugs


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
         Resolution|FIXED                       |DUPLICATE

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-25 20:35:52 UTC ---


*** This bug has been marked as a duplicate of bug 54314 ***


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

end of thread, other threads:[~2013-01-25 20:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-29 13:58 [Bug libstdc++/53518] New: [4.8 regression] testsuite_abi_check.cc doesn't compile ro at gcc dot gnu.org
2012-05-29 14:03 ` [Bug libstdc++/53518] " redi at gcc dot gnu.org
2012-05-29 14:07 ` paolo.carlini at oracle dot com
2012-05-30 15:25 ` [Bug middle-end/53518] " ro at gcc dot gnu.org
2012-08-14 18:50 ` jojelino at gmail dot com
2012-09-19 12:23 ` rguenth at gcc dot gnu.org
2012-09-19 13:21 ` jojelino at gmail dot com
2012-09-20  9:06 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-11-07 18:20 ` jakub at gcc dot gnu.org
2012-11-08 12:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-11-08 12:29 ` jakub at gcc dot gnu.org
2013-01-25 20:36 ` jason 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).