This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/26297] boostrap fails with invalid cast compiling libstdc++ with --disable-nls on AIX



------- Comment #10 from multix at gmail dot com  2006-02-21 17:00 -------
thanks. I fixed the header as you suggest and typed the same boostrap make
command again and left it running overninght. I found that gcc had completed
build and I installed.
Trying to compile a hello world program like
#include <iostream>

int main ()
{
        std::cout << "hello";
        return 0;
}


yields me
g++ hello.c 
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char,
std::char_traits<char> >& std::operator<< <std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*)
ld: 0711-317 ERROR: Undefined symbol: .std::ios_base::Init::Init()
ld: 0711-317 ERROR: Undefined symbol: .std::ios_base::Init::~Init()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status

I don't think this is now related to the bugs we are discussing here ? Since
the gcc 3.04 has known problems too (ld: 0711-317 ERROR: Undefined symbol:
std::string::_Rep::_S_max_size) I tried the program with 2.95 and it works.

I wonder know if your fix is safe and if it could be integrated in future
stable versions of 3.4x and 4.x and that there are other problems to solve
instead.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]