public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
@ 2005-10-31  2:08 ` mmitchel at gcc dot gnu dot org
  2006-02-24  0:26 ` [Bug c++/19159] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  2:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from mmitchel at gcc dot gnu dot org  2005-10-31 02:08 -------
According to the thread starting with the reference in Comment #31, this is
just a spurious warning on systems without weak symbols.  As such, it's never
going to be release-critical.

The two leading proposals were made for resolving the problem: (1) use a
dynamic initialization on systems without weak symbols, or (2) warn only if the
static variable is actually addressed, as otherwise the fact that there are
multiple copies doesn't matter.  I agree with Jason that (2) is the best
option, and it should be relatively easy to implement, given that we already
mark things as addressed; we could just move the warning to that location.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|link-failure                |diagnostic


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


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

* [Bug c++/19159] [4.0/4.1/4.2 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
  2005-10-31  2:08 ` [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info mmitchel at gcc dot gnu dot org
@ 2006-02-24  0:26 ` mmitchel at gcc dot gnu dot org
  2006-05-25  2:32 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24  0:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #35 from mmitchel at gcc dot gnu dot org  2006-02-24 00:25 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.1.1


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


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

* [Bug c++/19159] [4.0/4.1/4.2 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
  2005-10-31  2:08 ` [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info mmitchel at gcc dot gnu dot org
  2006-02-24  0:26 ` [Bug c++/19159] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2006-05-25  2:32 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:04 ` [Bug c++/19159] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #36 from mmitchel at gcc dot gnu dot org  2006-05-25 02:32 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug c++/19159] [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-05-25  2:32 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:04 ` mmitchel at gcc dot gnu dot org
  2007-12-16 23:17 ` steven at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug c++/19159] [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-02-14  9:04 ` [Bug c++/19159] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-12-16 23:17 ` steven at gcc dot gnu dot org
  2007-12-17  2:02 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-16 23:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #37 from steven at gcc dot gnu dot org  2007-12-16 23:17 -------
Open regression with no activity since February 14.  Ping?


-- 


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


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

* [Bug c++/19159] [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2007-12-16 23:17 ` steven at gcc dot gnu dot org
@ 2007-12-17  2:02 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-12-17  2:07 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-12-17  2:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #38 from dave at hiauly1 dot hia dot nrc dot ca  2007-12-17 02:02 -------
Subject: Re:  [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for
__cxxabiv1::__vmi_class_type_info

> Open regression with no activity since February 14.  Ping?

No update from my side.  I don't usually build and test the AIX
port, so I'm not aware if there's been any progress.  I was asked
by a client to work on trying to improve the C++ support in 4.x.
At the moment, they are still using 3.4.3.

Dave


-- 


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


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

* [Bug c++/19159] [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2007-12-17  2:02 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-12-17  2:07 ` mmitchel at gcc dot gnu dot org
  2008-02-07 19:40 ` dave at genussoft dot com
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-12-17  2:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #39 from mmitchel at gcc dot gnu dot org  2007-12-17 02:07 -------
Downgraded to P4 based on Comment #34.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4


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


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

* [Bug c++/19159] [4.0/4.1/4.2/4.3 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2007-12-17  2:07 ` mmitchel at gcc dot gnu dot org
@ 2008-02-07 19:40 ` dave at genussoft dot com
  2008-07-04 16:48 ` [Bug c++/19159] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: dave at genussoft dot com @ 2008-02-07 19:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #40 from dave at genussoft dot com  2008-02-07 19:39 -------
I am trying to use g++ 4.0.0 on AIX 5.3 and have run into this problem and also
the problem reported in bug 18257.  What recommendation do you have for using
g++ on AIX? Should I go back to an earlier version, or has this problem been
resolved in the 4.2.2 version?


-- 

dave at genussoft dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dave at genussoft dot com


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


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

* [Bug c++/19159] [4.2/4.3/4.4 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2008-02-07 19:40 ` dave at genussoft dot com
@ 2008-07-04 16:48 ` jsm28 at gcc dot gnu dot org
  2008-10-31 13:31 ` bill dot oliver at sas dot com
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #41 from jsm28 at gcc dot gnu dot org  2008-07-04 16:47 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
                   |Undefined symbol: vtable for|Undefined symbol: vtable for
                   |__cxxabiv1::__vmi_class_type|__cxxabiv1::__vmi_class_type
                   |_info                       |_info
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/19159] [4.2/4.3/4.4 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2008-07-04 16:48 ` [Bug c++/19159] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-10-31 13:31 ` bill dot oliver at sas dot com
  2009-03-31 16:43 ` [Bug c++/19159] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: bill dot oliver at sas dot com @ 2008-10-31 13:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #42 from bill dot oliver at sas dot com  2008-10-31 13:30 -------
I saw Dave C's post. I am also using 4.0.0 on AIX, and seeing this problem. I'm
attempting to build Firebird SQL open source. What recommendation do you have
for using g++ on AIX? Should I go back to an earlier version, or where has this
problem been resolved? Thanks!


-- 


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


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

* [Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2008-10-31 13:31 ` bill dot oliver at sas dot com
@ 2009-03-31 16:43 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #43 from jsm28 at gcc dot gnu dot org  2009-03-31 16:43 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
                   |Undefined symbol: vtable for|Undefined symbol: vtable for
                   |__cxxabiv1::__vmi_class_type|__cxxabiv1::__vmi_class_type
                   |_info                       |_info
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2009-03-31 16:43 ` [Bug c++/19159] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
  2010-03-21 12:14 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 36+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #44 from rguenth at gcc dot gnu dot org  2009-08-04 12:26 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
@ 2010-03-21 12:14 ` steven at gcc dot gnu dot org
  2010-03-21 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
  2010-03-21 16:47 ` mmitchel at gcc dot gnu dot org
  14 siblings, 0 replies; 36+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-03-21 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #45 from steven at gcc dot gnu dot org  2010-03-21 12:14 -------
Mark, I'm assuming you have no plans to work on this? If so, please unassign
yourself from this bug.

Can anyone reconfirm this bug for GCC 4.4 and/or GCC 4.5?


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2010-03-21 12:14 ` steven at gcc dot gnu dot org
@ 2010-03-21 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
  2010-03-21 16:47 ` mmitchel at gcc dot gnu dot org
  14 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2010-03-21 14:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #46 from dave at hiauly1 dot hia dot nrc dot ca  2010-03-21 14:03 -------
Subject: Re:  [4.3/4.4/4.5 Regression] Undefined symbol: vtable for
__cxxabiv1::__vmi_class_type_info

> Can anyone reconfirm this bug for GCC 4.4 and/or GCC 4.5?

I think this bug should be closed.  While the bug may not be fixed,
I can't currently reconfirm.  This report arose from work I did several
years ago.

Dave


-- 


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


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

* [Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
       [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2010-03-21 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2010-03-21 16:47 ` mmitchel at gcc dot gnu dot org
  14 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2010-03-21 16:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #47 from mmitchel at gcc dot gnu dot org  2010-03-21 16:47 -------
Closed at request of submitter.


-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2005-07-06 16:53 ` mmitchel at gcc dot gnu dot org
@ 2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2005-04-29 12:22 ` pinskia at gcc dot gnu dot org
@ 2005-07-06 16:53 ` mmitchel at gcc dot gnu dot org
  2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-06 16:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-07-06 16:52 -------
Postponed until 4.0.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.1                       |4.0.2


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2005-04-17  4:57 ` mmitchel at gcc dot gnu dot org
@ 2005-04-29 12:22 ` pinskia at gcc dot gnu dot org
  2005-07-06 16:53 ` mmitchel at gcc dot gnu dot org
  2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org
  20 siblings, 0 replies; 36+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-29 12:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 19159 depends on bug 20584, which changed state.

Bug 20584 Summary: [4.0/4.1 Regression] inline function used but never defined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20584

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2005-04-17  4:31 ` mmitchel at gcc dot gnu dot org
@ 2005-04-17  4:57 ` mmitchel at gcc dot gnu dot org
  2005-04-29 12:22 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-17  4:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-17 04:57 -------
The remaining failures are all either due to (a) defects in the V3 testsuite, or
(b) defects in V3 itself, or (c) semi-spurious warnings in the C++ front end.

Postponed until GCC 4.0.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |4.0.1


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2005-04-06  2:15 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-04-17  4:31 ` mmitchel at gcc dot gnu dot org
  2005-04-17  4:57 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-17  4:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-17 04:31 -------
See:

http://gcc.gnu.org/ml/libstdc++/2005-04/msg00152.html

for analysis of the:

sorry: semantics of inline function static data 'const size_t __align' are wrong
(you'll wind up with multiple copies)

warnings.

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2005-04-05 16:30 ` pinskia at gcc dot gnu dot org
@ 2005-04-06  2:15 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-04-17  4:31 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-04-06  2:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-06 02:15 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

> > You could be right that this is a PCH problem and possibly configuring
> > with --disable-libstdcxx-pch would help.
> 
> I'd be interested to know if it does.

Definite progress:
<http://gcc.gnu.org/ml/gcc-testresults/2005-04/msg00345.html>

The problems that may be related to this PR are:

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -
DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3
/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix
4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/
objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/g
cc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/b
ackward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/g
cc-4.0.0/gcc/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size
.cc      -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v
3/testsuite -lv3test -lm   -o ./check_allocate_max_size.exe    (timeout = 300)
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/bitmap_allocator/check_
allocate_max_size.cc:1: warning: -ffunction-sections may affect debugging on some targets
ld: 0711-317 ERROR: Undefined symbol: __gnu_cxx::bitmap_allocator<int>::_S_block
_size

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -
DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3
/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix
4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/
objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/g
cc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/b
ackward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/g
cc-4.0.0/gcc/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.c
c      -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/
testsuite -lv3test -lm   -o ./check_deallocate_null.exe    (timeout = 300)
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/bitmap_allocator/check_
deallocate_null.cc:1: warning: -ffunction-sections may affect debugging on some
targets
ld: 0711-317 ERROR: Undefined symbol: __gnu_cxx::bitmap_allocator<int>::_S_last_
dealloc_index
ld: 0711-317 ERROR: Undefined symbol: __gnu_cxx::bitmap_allocator<int>::_S_block_size

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -
DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3
/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix
4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/
objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/g
cc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/b
ackward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/g
cc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/check_allocate_big_per_type
.cc      -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v
3/testsuite -lv3test -lm   -o ./check_allocate_big_per_type.exe    (timeout = 30
0)
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/check_allo
cate_big_per_type.cc:1: warning: -ffunction-sections may affect debugging on som
e targets
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h: In static member function 'static _PoolTp<false>& __gnu_cxx::__
mt_alloc() [with _Tp = test01()::value_type, _Poolp = test01()::policy_type]'
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/check_allo
cate_big_per_type.cc:45:   instantiated from here
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning: sorry: semantics of inline function static data 'c
onst size_t __align' are wrong (you'll wind up with multiple copies)
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning:   you can work around this by removing the initial
izer

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -
DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3
/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix
4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/
objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/g
cc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/b
ackward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/g
cc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-4.cc -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite -lv3test -lm   -o ./deallocate_global-4.exe    (timeout = 300)
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-4.cc:1: warning: -ffunction-sections may affect debugging on some targets
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext/mt_allocator.h: In static member function 'static _PoolTp<false>& __gnu_cxx::__per_type_pool_policy<_Tp, _PoolTp, false>::_S_get_pool() [with _Tp = value_t, _PoolTp = __gnu_cxx::__pool]':
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:656:   instantiated from '__gnu_cxx::__mt_alloc<_Tp, _Poolp>::__
mt_alloc() [with _Tp = value_t, _Poolp = policy_type]'
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/deallocate
_global-4.cc:78:   instantiated from here
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning: sorry: semantics of inline function static data 'c
onst size_t __align' are wrong (you'll wind up with multiple copies)
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning:   you can work around this by removing the initial
izer
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h: In static member function 'static _PoolTp<false>& __gnu_cxx::__
per_type_pool_policy<_Tp, _PoolTp, false>::_S_get_pool() [with _Tp = std::_List_
node<value_t>, _PoolTp = __gnu_cxx::__pool]':
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:663:   instantiated from '__gnu_cxx::__mt_alloc<_Tp, _Poolp>::__
mt_alloc(const __gnu_cxx::__mt_alloc<_Tp1, _Poolp1>&) [with _Tp1 = value_t, _Poo
lp1 = policy_type, _Tp = std::_List_node<value_t>, _Poolp = __gnu_cxx::__per_typ
e_pool_policy<std::_List_node<value_t>, __gnu_cxx::__pool, false>]'
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bit
s/stl_list.h:327:   instantiated from 'std::_List_base<_Tp, _Alloc>::_List_base(
const _Alloc&) [with _Tp = value_t, _Alloc = allocator_type]'
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bit
s/stl_list.h:458:   instantiated from 'std::list<_Tp, _Alloc>::list(const typena
me std::_List_base<_Tp, _Alloc>::allocator_type&) [with _Tp = value_t, _Alloc =
allocator_type]'
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/ext/mt_allocator/deallocate
_global-4.cc:78:   instantiated from here
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning: sorry: semantics of inline function static data 'c
onst size_t __align' are wrong (you'll wind up with multiple copies)
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/ext
/mt_allocator.h:498: warning:   you can work around this by removing the initial
izer

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -
DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3
/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix
4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/
objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/g
cc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/b
ackward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/g
cc-4.0.0/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/find/map1.cc -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite -lv3test -lm   -o ./map1.exe    (timeout = 300)
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/find/map1.cc:1: warning: -ffunction-sections may affect debugging on some targets
ld: 0711-317 ERROR: Undefined symbol: Internal::X<0>::primes





-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2005-04-05 15:46 ` mmitchel at gcc dot gnu dot org
@ 2005-04-05 16:30 ` pinskia at gcc dot gnu dot org
  2005-04-06  2:15 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 16:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-05 16:30 -------
(In reply to comment #28)
> I have checked in the patch to resolve the link failures, but I will leave this
> bug open until we've had a chance to analyze the warnings.
I would think this is the same as PR 20584 where there is a testcase but nobody has reduced it since it 
has to do with "#pragma implementation" and if you get rid of all the file markers aka "# file line", it 
goes away.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |20584


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2005-04-05 15:40 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 15:46 ` mmitchel at gcc dot gnu dot org
  2005-04-05 16:30 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-05 15:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-05 15:46 -------
I have checked in the patch to resolve the link failures, but I will leave this
bug open until we've had a chance to analyze the warnings.

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-04-05 15:20 ` mark at codesourcery dot com
@ 2005-04-05 15:40 ` cvs-commit at gcc dot gnu dot org
  2005-04-05 15:46 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 15:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-05 15:40 -------
Subject: Bug 19159

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-04-05 15:40:18

Modified files:
	gcc/cp         : ChangeLog decl2.c 

Log message:
	PR c++/19159
	* decl2.c (import_export_decl): Use non-COMDAT external linkage
	for virtual tables, typeinfo, etc. that will be emitted in only
	one translation unit on systems without weak symbols.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4688&r2=1.4689
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.772&r2=1.773



-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-04-05 12:07 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-04-05 15:20 ` mark at codesourcery dot com
  2005-04-05 15:40 ` cvs-commit at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mark at codesourcery dot com @ 2005-04-05 15:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at codesourcery dot com  2005-04-05 15:20 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable
 for __cxxabiv1::__vmi_class_type_info

dave at hiauly1 dot hia dot nrc dot ca wrote:

> The warnings are from GCC:

Right; I wrote "link-time warnings" for no good reason; I meant 
"compile-time warnings".

> ginyu% grep "used but never defined" *.c
> decl2.c:          cp_warning_at ("inline function %qD used but never defined", decl);
> 
> You could be right that this is a PCH problem and possibly configuring
> with --disable-libstdcxx-pch would help.

I'd be interested to know if it does.



-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-04-05  6:49 ` mmitchel at gcc dot gnu dot org
@ 2005-04-05 12:07 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-04-05 15:20 ` mark at codesourcery dot com
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-04-05 12:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-05 12:06 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

> ------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-05 06:49 -------
> Dave --
> 
> I suspect that there is some PCH involvement here.  In particular, the warnings
> you're seeing while compiling header_cassert are very surprising, in that the
> preprocessed source for that file does not contain the string "_S_do_it".  So, I
> think the problem is related to PCH.  To fix that, I'll need a test case that I
> can reproduce in a cross environment; i.e., preprocessed source that I can turn
> into a PCH, and then some use of the PCH that produces the warnings.
> 
> In any case, I'm going to test, and then check in, the latest patch, as lots of
> link-time warnings is better than link failures.

The warnings are from GCC:

ginyu% grep "used but never defined" *.c
decl2.c:          cp_warning_at ("inline function %qD used but never defined", decl);

You could be right that this is a PCH problem and possibly configuring
with --disable-libstdcxx-pch would help.

Dave


-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-04-05  6:39 ` mmitchel at gcc dot gnu dot org
@ 2005-04-05  6:49 ` mmitchel at gcc dot gnu dot org
  2005-04-05 12:07 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-05  6:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-05 06:49 -------
Dave --

I suspect that there is some PCH involvement here.  In particular, the warnings
you're seeing while compiling header_cassert are very surprising, in that the
preprocessed source for that file does not contain the string "_S_do_it".  So, I
think the problem is related to PCH.  To fix that, I'll need a test case that I
can reproduce in a cross environment; i.e., preprocessed source that I can turn
into a PCH, and then some use of the PCH that produces the warnings.

In any case, I'm going to test, and then check in, the latest patch, as lots of
link-time warnings is better than link failures.

-- Mark

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-04-04  3:21 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-04-05  6:39 ` mmitchel at gcc dot gnu dot org
  2005-04-05  6:49 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-05  6:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-05 06:39 -------
Dave --

Thanks for clarifying that you are only seeing warning messages.

That indicates that I've probably fixed the original bug, but there is some kind
of secondary bug.  I will see if I can reproduce.

-- Mark

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-04-04  3:07 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-04-04  3:21 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-04-05  6:39 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-04-04  3:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-04 03:21 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

> Dave, I think that the problem with _S_do_it is an entirely separate bug.  In
> particular, V3 builds with -fno-inline-templates, but does not use
> -fno-implicit-inline-templates.  The _S_do_it function is inline.  Since AIX
> does not have weak symbols, we probably make that function have internal linkage
> in the library, which causes the link failures you're seeing.

The _S_do_it reference appears in a .stabx directive:

        .stabx  "_Array_copy_ctor<size_t,true>:Tt1478=s1_S_do_it::1479=f-11:_ZNSt16_Array_copy_ctorImLb1EE8_S_do_itEPKmS2_Pm;2A?;;",0,140,0

This looks like PR 19212.

Dave


-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-04-04  2:13 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-04-04  3:07 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-04-04  3:21 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-04-04  3:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-04 03:07 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

> ------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-04 01:30 -------
> Dave, I think that the problem with _S_do_it is an entirely separate bug.  In
> particular, V3 builds with -fno-inline-templates, but does not use
> -fno-implicit-inline-templates.  The _S_do_it function is inline.  Since AIX
> does not have weak symbols, we probably make that function have internal linkage
> in the library, which causes the link failures you're seeing.

Just a note, the failures were caused by "used but never defined"
warnings.  I didn't look at all the fails but I didn't see any
link failures with your latest patch.

Dave


-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-04-04  1:58 ` gdr at integrable-solutions dot net
@ 2005-04-04  2:13 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-04-04  3:07 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-04-04  2:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-04 02:13 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

> Somehow missing from bugzilla is this comment from Dave:

I believe that it's actually there.  I used Konqueror for the paste
and it did something wierd with white space and line wraps.

Dave


-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-04-04  1:30 ` mmitchel at gcc dot gnu dot org
@ 2005-04-04  1:58 ` gdr at integrable-solutions dot net
  2005-04-04  2:13 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-04-04  1:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-04-04 01:58 -------
Subject: Re:  [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

"mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Dave, I think that the problem with _S_do_it is an entirely separate bug.  In
| particular, V3 builds with -fno-inline-templates, but does not use
| -fno-implicit-inline-templates.  The _S_do_it function is inline.  Since AIX
| does not have weak symbols, we probably make that function have internal linkage
| in the library, which causes the link failures you're seeing.

Death to obscure flags!

-- Gaby


-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-04-04  1:26 ` mmitchel at gcc dot gnu dot org
@ 2005-04-04  1:30 ` mmitchel at gcc dot gnu dot org
  2005-04-04  1:58 ` gdr at integrable-solutions dot net
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-04  1:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-04 01:30 -------
Dave, I think that the problem with _S_do_it is an entirely separate bug.  In
particular, V3 builds with -fno-inline-templates, but does not use
-fno-implicit-inline-templates.  The _S_do_it function is inline.  Since AIX
does not have weak symbols, we probably make that function have internal linkage
in the library, which causes the link failures you're seeing.

To confirm that, would you please send me the preprocessed version of both 
valarray-inst.cc and header_cassert.cc, together with the cc1plus command-line
used on AIX to compile each?

Thanks,

-- Mark

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
  2005-04-01  6:23 ` [Bug c++/19159] [4.0/4.1 " mmitchel at gcc dot gnu dot org
  2005-04-02 15:47 ` danglin at gcc dot gnu dot org
@ 2005-04-04  1:26 ` mmitchel at gcc dot gnu dot org
  2005-04-04  1:30 ` mmitchel at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-04  1:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-04 01:26 -------
Somehow missing from bugzilla is this comment from Dave:

The patch improves the situation but there are still many fails:Executing on
host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc
-B/opt/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs
-B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -g -O2
-D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0
-DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/po/share/locale"
-nostdinc++
-I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/!
 powerpc-ibm-aix4.3.3.0
-I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/libsupc++
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/backward
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/17_intro/header_cassert.cc
   -include bits/stdc++.h 
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite
-lv3test -lm   -o ./header_cassert.exe    (timeout =
300)/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/17_intro/header_cassert.cc:1:
warning: -ffunction-sections may affect debugging on some
targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164:
warning: inline function 'static void std::_Array_copy_ctor<_Tp,
true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but
never definedoutput is:/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuit!
 e/17_intro/header_cassert.cc:1: warning: -ffunction-sections may affec
t debugging on some
targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164:
warning: inline function 'static void std::_Array_copy_ctor<_Tp,
true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but
never definedFAIL: 17_intro/header_cassert.cc (test for excess errors)Excess
errors:/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164:
warning: inline function 'static void std::_Array_copy_ctor<_Tp,
true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but
never definedExecuting on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++
-shared-libgcc -B/opt/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs
-B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/bin/
-B/home/dave/opt/gnu/gcc/gcc-!
 4.0.0/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -g -O2
-D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0
-DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/po/share/locale"
-nostdinc++
-I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0
-I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/libsupc++
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/backward
-I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite
/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc
   -include bits/stdc++.h 
-L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite
-lv3test -lm   -o ./numeric_limits.exe    (timeout = 300)/opt/build/!
 dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc
:1: warning: -ffunction-sections may affect debugging on some
targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:289:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::min() [with _Tp =
A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:291:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp =
A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:294:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::epsilon() [with
_Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:296:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::round_error()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:298:
warning: inline functio!
 n 'static _Tp std::numeric_limits<_Tp>::infinity() [with _Tp = A<B>]' used but
never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:300:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::quiet_NaN() [with
_Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:303:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::signaling_NaN()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:307:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::denorm_min()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164:
warning: inline function 'static void std::_Array_copy_ctor<_Tp,
true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but
never definedoutput is:/opt/bui!
 ld/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits
.cc:1: warning: -ffunction-sections may affect debugging on some
targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:289:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::min() [with _Tp =
A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:291:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp =
A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:294:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::epsilon() [with
_Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:296:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::round_error()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:298:
warning: inline func!
 tion 'static _Tp std::numeric_limits<_Tp>::infinity() [with _Tp = A<B>]' used
but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:300:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::quiet_NaN() [with
_Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:303:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::signaling_NaN()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:307:
warning: inline function 'static _Tp std::numeric_limits<_Tp>::denorm_min()
[with _Tp = A<B>]' used but never
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164:
warning: inline function 'static void std::_Array_copy_ctor<_Tp,
true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but
never definedFAIL: 18_suppor!
 t/numeric_limits.cc (test for excess errors)etc.

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
  2005-04-01  6:23 ` [Bug c++/19159] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2005-04-02 15:47 ` danglin at gcc dot gnu dot org
  2005-04-04  1:26 ` mmitchel at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-04-02 15:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2005-04-02 15:47 -------
Test results with patch are here: <http://gcc.gnu.org/ml/gcc-testresults/2005-04/msg00116.html>.The patch improves the situation but there are still many fails:Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/opt/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/include -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/backward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/17_intro/header_cassert.cc    -include bits/stdc++.h  -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite -lv3test -lm   -o ./header_cassert.exe    (timeout = 300)/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/17_intro/header_cassert.cc:1: warning: -ffunction-sections may affect debugging on some targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_ctor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but never definedoutput is:/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/17_intro/header_cassert.cc:1: warning: -ffunction-sections may affect debugging on some targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_ctor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but never definedFAIL: 17_intro/header_cassert.cc (test for excess errors)Excess errors:/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_ctor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but never definedExecuting on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/opt/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/include -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR="/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/po/share/locale" -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/powerpc-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/include/backward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite /opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc    -include bits/stdc++.h  -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite -lv3test -lm   -o ./numeric_limits.exe    (timeout = 300)/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc:1: warning: -ffunction-sections may affect debugging on some targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:289: warning: inline function 'static _Tp std::numeric_limits<_Tp>::min() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:291: warning: inline function 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:294: warning: inline function 'static _Tp std::numeric_limits<_Tp>::epsilon() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:296: warning: inline function 'static _Tp std::numeric_limits<_Tp>::round_error() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:298: warning: inline function 'static _Tp std::numeric_limits<_Tp>::infinity() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:300: warning: inline function 'static _Tp std::numeric_limits<_Tp>::quiet_NaN() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:303: warning: inline function 'static _Tp std::numeric_limits<_Tp>::signaling_NaN() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:307: warning: inline function 'static _Tp std::numeric_limits<_Tp>::denorm_min() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_ctor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but never definedoutput is:/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc:1: warning: -ffunction-sections may affect debugging on some targets/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:289: warning: inline function 'static _Tp std::numeric_limits<_Tp>::min() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:291: warning: inline function 'static _Tp std::numeric_limits<_Tp>::max() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:294: warning: inline function 'static _Tp std::numeric_limits<_Tp>::epsilon() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:296: warning: inline function 'static _Tp std::numeric_limits<_Tp>::round_error() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:298: warning: inline function 'static _Tp std::numeric_limits<_Tp>::infinity() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:300: warning: inline function 'static _Tp std::numeric_limits<_Tp>::quiet_NaN() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:303: warning: inline function 'static _Tp std::numeric_limits<_Tp>::signaling_NaN() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits:307: warning: inline function 'static _Tp std::numeric_limits<_Tp>::denorm_min() [with _Tp = A<B>]' used but never defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_ctor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used but never definedFAIL: 18_support/numeric_limits.cc (test for excess errors)etc.

-- 


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


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

* [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
  2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
@ 2005-04-01  6:23 ` mmitchel at gcc dot gnu dot org
  2005-04-02 15:47 ` danglin at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 36+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-01  6:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-01 06:23 -------
Dave --

I've finally got a new version of the patch.  I've played with it some, and I
feel like it ought to work, but maybe I'm still missing something.  If it
doesn't work, would you mind attached preprocessed source for tinfo.cc and
tinfo2.cc from libsupc++?  These are the files where the type info vtables ought
to be defined.  That would make it easier for me to experiment with things in an
AIX cross compiler.

Thanks!

-- Mark

-- 


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


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

end of thread, other threads:[~2010-03-21 16:47 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19159-276@http.gcc.gnu.org/bugzilla/>
2005-10-31  2:08 ` [Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info mmitchel at gcc dot gnu dot org
2006-02-24  0:26 ` [Bug c++/19159] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-05-25  2:32 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:04 ` [Bug c++/19159] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-12-16 23:17 ` steven at gcc dot gnu dot org
2007-12-17  2:02 ` dave at hiauly1 dot hia dot nrc dot ca
2007-12-17  2:07 ` mmitchel at gcc dot gnu dot org
2008-02-07 19:40 ` dave at genussoft dot com
2008-07-04 16:48 ` [Bug c++/19159] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-10-31 13:31 ` bill dot oliver at sas dot com
2009-03-31 16:43 ` [Bug c++/19159] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
2010-03-21 12:14 ` steven at gcc dot gnu dot org
2010-03-21 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
2010-03-21 16:47 ` mmitchel at gcc dot gnu dot org
2004-12-26 16:26 [Bug c++/19159] New: [4.0 " danglin at gcc dot gnu dot org
2005-04-01  6:23 ` [Bug c++/19159] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-04-02 15:47 ` danglin at gcc dot gnu dot org
2005-04-04  1:26 ` mmitchel at gcc dot gnu dot org
2005-04-04  1:30 ` mmitchel at gcc dot gnu dot org
2005-04-04  1:58 ` gdr at integrable-solutions dot net
2005-04-04  2:13 ` dave at hiauly1 dot hia dot nrc dot ca
2005-04-04  3:07 ` dave at hiauly1 dot hia dot nrc dot ca
2005-04-04  3:21 ` dave at hiauly1 dot hia dot nrc dot ca
2005-04-05  6:39 ` mmitchel at gcc dot gnu dot org
2005-04-05  6:49 ` mmitchel at gcc dot gnu dot org
2005-04-05 12:07 ` dave at hiauly1 dot hia dot nrc dot ca
2005-04-05 15:20 ` mark at codesourcery dot com
2005-04-05 15:40 ` cvs-commit at gcc dot gnu dot org
2005-04-05 15:46 ` mmitchel at gcc dot gnu dot org
2005-04-05 16:30 ` pinskia at gcc dot gnu dot org
2005-04-06  2:15 ` dave at hiauly1 dot hia dot nrc dot ca
2005-04-17  4:31 ` mmitchel at gcc dot gnu dot org
2005-04-17  4:57 ` mmitchel at gcc dot gnu dot org
2005-04-29 12:22 ` pinskia at gcc dot gnu dot org
2005-07-06 16:53 ` mmitchel at gcc dot gnu dot org
2005-09-27 16:15 ` mmitchel at gcc dot gnu dot 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).