[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-10-30 Thread mmitchel at gcc dot gnu dot org


--- 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



[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-09-27 Thread mmitchel at gcc dot gnu dot org


-- 
   What|Removed |Added

   Target Milestone|4.0.2   |4.0.3


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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-07-06 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-29 Thread pinskia at gcc dot gnu dot org


-- 
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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-16 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-16 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread dave at hiauly1 dot hia dot nrc dot ca

--- 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:


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::_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::_S_last_
dealloc_index
ld: 0711-317 ERROR: Undefined symbol: 
__gnu_cxx::bitmap_allocator::_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/

[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread pinskia at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread cvs-commit at gcc dot gnu dot org

--- 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: [EMAIL PROTECTED]   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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread mark at codesourcery dot com

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-05 Thread dave at hiauly1 dot hia dot nrc dot ca

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-04 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-04 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread dave at hiauly1 dot hia dot nrc dot ca

--- 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: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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread dave at hiauly1 dot hia dot nrc dot ca

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread dave at hiauly1 dot hia dot nrc dot ca

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread gdr at integrable-solutions dot net

--- 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" <[EMAIL PROTECTED]> 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread mmitchel at gcc dot gnu dot org

--- 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


[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-03 Thread mmitchel at gcc dot gnu dot org

--- 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]' 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]' 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]' 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

[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-04-02 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2005-04-02 
15:47 ---
Test results with patch are here: 
.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]' 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]' 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]' used but never 
defined/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/limits

[Bug c++/19159] [4.0/4.1 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2005-03-31 Thread mmitchel at gcc dot gnu dot org

--- 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