I configured Python 2.4.1 as follows
../Python-2.4.1/configure \
--prefix=/home/cludwig/C++/gcc4.0/Python-2.4.1 \
--with-cxx=/opt/gcc/gcc-4.0.0/bin/g++ --enable-shared \
--enable-unicode --with-signal-module \
--with-universal-newlines --with-doc-strings
on a i686-pc-linux-gnu system. make fails when linking the
python binariy due to an undefined reference to
`__gxx_personality_v0'. In fact, configure set
CC= gcc -pthread
CXX= /opt/gcc/gcc-4.0.0/bin/g++ -pthread
LINKCC= $(PURIFY) $(CC)
but the python executable needs to be linked with $(CXX).
(Note the `--with-cxx' option in the configure command line.)
I did not observe this problem with Python 2.4.0 / gcc 3.4.2.
This seems to be a regression w.r.t. PR #569668 that was
closed as fixed on 2002-12-03.
I can submit config.log and the output of make on request.
Regards
Christoph
|