[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++
From: |
Ralf Wildenhues |
Subject: |
Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++ |
Date: |
Thu, 10 Jan 2008 19:45:57 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Rainer,
* Rainer Tammer wrote on Thu, Jan 10, 2008 at 09:39:01AM CET:
>>> If you like me to perforce some tests with gcc then I can try that too..
>>
>> Yes, that would be great. The systems I test on currently don't have
>> g++ or gfortran (or gcj) installed, so if you could test
>> ./configure CC=gcc CXX=g++ FC=gfortran F77=gfortran
>>
> branch-1.5
> =======
>
> The make check does show some errors...
Indeed:
> /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -Wl,-brtl -o tagdemo
> main.o libbaz.la
> g++ -g -O2 -Wl,-brtl -o tagdemo main.o ./.libs/libbaz.a
> 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::basic_ostream<char,
> std::char_traits<char> >& std::endl<char, std::char_traits<char>
> >(std::basic_ostream<char, std::char_traits<char> >&)
> ld: 0711-317 ERROR: Undefined symbol: vtable for
> __cxxabiv1::__si_class_type_info
> ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__class_type_info
> ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char,
> std::char_traits<char> >::operator<<(double)
> ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char,
> std::char_traits<char> >::operator<<(unsigned long)
> ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char,
> std::char_traits<char> >::operator<<(long)
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> gmake[3]: *** [tagdemo] Error 1
Can you try these and show output?
cd tagdemo
/bin/sh ./libtool --tag=CXX --mode=link g++ -v -g -O2 -Wl,-brtl -o tagdemo
main.o libbaz.la
/bin/sh ./libtool --tag=CXX --mode=link g++ -v -g -O2 -Wl,-brtl -o tagdemo
main.o libbaz.la -lstdc++ -lm
Please also show
./libtool --tag=CXX --config | grep -E '^(pre|post)dep'
Somehow it seems '-lstdc++ -lm' does not find its way into CXX postdeps.
Thanks,
Ralf
- build check in AIX 5.2 / 5.3 / 6.1, Rainer Tammer, 2008/01/09
- Re: build check in AIX 5.2 / 5.3 / 6.1, Ralf Wildenhues, 2008/01/09
- Re: build check in AIX 5.2 / 5.3 / 6.1, Rainer Tammer, 2008/01/10
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Rainer Tammer, 2008/01/10
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Bob Friesenhahn, 2008/01/10
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Rainer Tammer, 2008/01/10
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Bob Friesenhahn, 2008/01/10
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Rainer Tammer, 2008/01/11
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++,
Ralf Wildenhues <=
- Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++, Rainer Tammer, 2008/01/12
- Re: build check in AIX 5.2 / 5.3 / 6.1, Ralf Wildenhues, 2008/01/09