public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error
@ 2015-02-02 10:08 trippels at gcc dot gnu.org
  2015-02-02 10:12 ` [Bug c++/64898] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-02-02 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64898
           Summary: [5 Regression] qtgui-4.8.6 build error
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org

qtgui-4.8.6 fails to build. During final libQtGui.so.4.8.6 link I get: 

.obj/release-shared/qdrawhelper_sse2.o: In function
`_Z33qt_fetch_radial_gradient_templateI16QRadialFetchSimdI9QSimdSse2EEPKjPjPK8OperatorPK9QSpanDataiii':
qdrawhelper_sse2.cpp:(.text._Z33qt_fetch_radial_gradient_templateI16QRadialFetchSimdI9QSimdSse2EEPKjPjPK8OperatorPK9QSpanDataiii[_Z33qt_fetch_radial_gradient_templateI16QRadialFetchSimdI9QSimdSse2EEPKjPjPK8OperatorPK9QSpanDataiii]+0x273):
undefined reference to `_Z12qt_memfill32'

markus@x4 test % cat qdrawhelper_sse2.ii
template <class>
void
qt_fetch_radial_gradient_template (int)
{
  extern void (*qt_memfill32)(int, int, int);
  qt_memfill32 (0, 0, 0);
}

void
qt_fetch_radial_gradient_sse2 ()
{
  qt_fetch_radial_gradient_template<int> (0);
}

gcc-5 mangles the extern function to _Z12qt_memfill32.
All other compilers mangle it to qt_memfill32.

markus@x4 test % g++ -O2 -c qdrawhelper_sse2.ii
markus@x4 test % nm qdrawhelper_sse2.o | grep qt_memfill32
                 U _Z12qt_memfill32
markus@x4 test % clang++ -O2 -c qdrawhelper_sse2.ii
markus@x4 test % nm qdrawhelper_sse2.o | grep qt_memfill32
                 U qt_memfill32
markus@x4 test % icpc -O2 -c qdrawhelper_sse2.ii
markus@x4 test % nm qdrawhelper_sse2.o | grep qt_memfill32
                 U qt_memfill32
markus@x4 test % /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2/g++ -O2 -c
qdrawhelper_sse2.ii
markus@x4 test % nm qdrawhelper_sse2.o | grep qt_memfill32
                 U qt_memfill32


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
@ 2015-02-02 10:12 ` pinskia at gcc dot gnu.org
  2015-02-02 10:14 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-02 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
s/extern function/extern function pointer/

This is a variable of a function pointer type.


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
  2015-02-02 10:12 ` [Bug c++/64898] " pinskia at gcc dot gnu.org
@ 2015-02-02 10:14 ` pinskia at gcc dot gnu.org
  2015-02-02 11:00 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-02 10:14 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |5.0


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-02-02 11:00 ` jakub at gcc dot gnu.org
@ 2015-02-02 11:00 ` jakub at gcc dot gnu.org
  2015-02-12 21:44 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-02 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-02
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r214396.


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
  2015-02-02 10:12 ` [Bug c++/64898] " pinskia at gcc dot gnu.org
  2015-02-02 10:14 ` pinskia at gcc dot gnu.org
@ 2015-02-02 11:00 ` jakub at gcc dot gnu.org
  2015-02-02 11:00 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-02 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-02-02 11:00 ` jakub at gcc dot gnu.org
@ 2015-02-12 21:44 ` jason at gcc dot gnu.org
  2015-02-12 22:45 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-02-12 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ABI
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-02-12 21:44 ` jason at gcc dot gnu.org
@ 2015-02-12 22:45 ` jason at gcc dot gnu.org
  2015-02-12 23:04 ` jakub at gcc dot gnu.org
  2015-02-14  2:49 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-02-12 22:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 12 22:44:38 2015
New Revision: 220666

URL: https://gcc.gnu.org/viewcvs?rev=220666&root=gcc&view=rev
Log:
    PR c++/64898
    * mangle.c (write_mangled_name): Fix test for variable template
    instantiation.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle65.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2015-02-12 22:45 ` jason at gcc dot gnu.org
@ 2015-02-12 23:04 ` jakub at gcc dot gnu.org
  2015-02-14  2:49 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-12 23:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed, thanks.


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

* [Bug c++/64898] [5 Regression] qtgui-4.8.6 build error
  2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-02-12 23:04 ` jakub at gcc dot gnu.org
@ 2015-02-14  2:49 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-14  2:49 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thiago at kde dot org

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 65062 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2015-02-14  2:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 10:08 [Bug c++/64898] New: [5 Regression] qtgui-4.8.6 build error trippels at gcc dot gnu.org
2015-02-02 10:12 ` [Bug c++/64898] " pinskia at gcc dot gnu.org
2015-02-02 10:14 ` pinskia at gcc dot gnu.org
2015-02-02 11:00 ` jakub at gcc dot gnu.org
2015-02-02 11:00 ` jakub at gcc dot gnu.org
2015-02-12 21:44 ` jason at gcc dot gnu.org
2015-02-12 22:45 ` jason at gcc dot gnu.org
2015-02-12 23:04 ` jakub at gcc dot gnu.org
2015-02-14  2:49 ` pinskia 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).