public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/65718] g++.dg/lto/pr65276 FAILs
  2015-04-09 15:25 [Bug lto/65718] New: g++.dg/lto/pr65276 FAILs ro at gcc dot gnu.org
@ 2015-04-09 15:25 ` ro at gcc dot gnu.org
  2015-04-10  7:42 ` [Bug testsuite/65718] [5 Regression] " rguenth at gcc dot gnu.org
  2015-04-22 11:58 ` [Bug testsuite/65718] [5/6 " jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2015-04-09 15:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug lto/65718] New: g++.dg/lto/pr65276 FAILs
@ 2015-04-09 15:25 ro at gcc dot gnu.org
  2015-04-09 15:25 ` [Bug lto/65718] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2015-04-09 15:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65718
           Summary: g++.dg/lto/pr65276 FAILs
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: aldyh at gcc dot gnu.org
              Host: i386-pc-solaris2.11, sparc-sun-solaris2.11
            Target: i386-pc-solaris2.11, sparc-sun-solaris2.11
             Build: i386-pc-solaris2.11, sparc-sun-solaris2.11

The new g++.dg/lto/pr65276 FAILs on Solaris 11 when using Sun ld:

UNRESOLVED: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o execute
-flto -O0 -std=c++11
FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0
-std=c++11

The failure is 32-bit only, the 64-bit multilib is fine.  The log only contains
truncated linker output:

output is:
ld: warning: symbol 'vtable for std::runtime_error' has differing sizes:^M
        (file cp_lto_pr65276_1.o value=0x10; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/.

Re-running the test manually gives the full output:

ld: warning: symbol 'vtable for std::runtime_error' has differing sizes:
        (file cp_lto_pr65276_1.o value=0x10; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libstdc++-v3/src/.libs/libstdc++.so
value=0x14);
        cp_lto_pr65276_1.o definition taken
ld: warning: symbol 'vtable for std::exception' has differing sizes:
        (file cp_lto_pr65276_1.o value=0x10; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libstdc++-v3/src/.libs/libstdc++.so
value=0x14);
        cp_lto_pr65276_1.o definition taken
ld: warning: symbol '_ZTVSt13runtime_error' has differing sizes:
        (file /var/tmp//ccUIayls.ltrans0.ltrans.o value=0x10; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libstdc++-v3/src/.libs/libstdc++.so
value=0x14);
        /var/tmp//ccUIayls.ltrans0.ltrans.o definition taken
ld: warning: symbol '_ZTVSt9exception' has differing sizes:
        (file /var/tmp//ccUIayls.ltrans0.ltrans.o value=0x10; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libstdc++-v3/src/.libs/libstdc++.so
value=0x14);
        /var/tmp//ccUIayls.ltrans0.ltrans.o definition taken

  Rainer


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

* [Bug testsuite/65718] [5 Regression] g++.dg/lto/pr65276 FAILs
  2015-04-09 15:25 [Bug lto/65718] New: g++.dg/lto/pr65276 FAILs ro at gcc dot gnu.org
  2015-04-09 15:25 ` [Bug lto/65718] " ro at gcc dot gnu.org
@ 2015-04-10  7:42 ` rguenth at gcc dot gnu.org
  2015-04-22 11:58 ` [Bug testsuite/65718] [5/6 " jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-10  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |testsuite
            Summary|g++.dg/lto/pr65276 FAILs    |[5 Regression]
                   |                            |g++.dg/lto/pr65276 FAILs

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The fix is to rename std::runtime_error in the testcase or not link against
libstdc++ but just libsupc++...

The testcase is reduced with libstdc++ includes.

I suppose just dropping namespace std (or rename it to std2) should fix it as
well.


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

* [Bug testsuite/65718] [5/6 Regression] g++.dg/lto/pr65276 FAILs
  2015-04-09 15:25 [Bug lto/65718] New: g++.dg/lto/pr65276 FAILs ro at gcc dot gnu.org
  2015-04-09 15:25 ` [Bug lto/65718] " ro at gcc dot gnu.org
  2015-04-10  7:42 ` [Bug testsuite/65718] [5 Regression] " rguenth at gcc dot gnu.org
@ 2015-04-22 11:58 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

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] 4+ messages in thread

end of thread, other threads:[~2015-04-22 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 15:25 [Bug lto/65718] New: g++.dg/lto/pr65276 FAILs ro at gcc dot gnu.org
2015-04-09 15:25 ` [Bug lto/65718] " ro at gcc dot gnu.org
2015-04-10  7:42 ` [Bug testsuite/65718] [5 Regression] " rguenth at gcc dot gnu.org
2015-04-22 11:58 ` [Bug testsuite/65718] [5/6 " jakub 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).