[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

Stefan Krah report at bugs.python.org
Wed Jan 27 16:18:54 CET 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

(1) I can get around the configure problem by patching configure.in,
    meaning that va_list is detected correctly now. Perhaps BASECFLAGS
    should be used by default for the compile tests?

(2) Now I run into the problem that distutils somehow ignores the
    LDFLAGS:

 
gcc -pthread -shared build/temp.linux-x86_64-3.2/home/stefan/tmp/svn/py3k/Modules/_struct.o -L/usr/local/lib -o build/lib.linux-x86_64-3.2/_struct.so
collect2: ld terminated with signal 11 [Segmentation fault]



So it might be possible to fix the situation by changing configure.in
and distutils. On the other hand, the patches from Bob and Antoine are
simpler.

----------
Added file: http://bugs.python.org/file16027/basecflags-configure.in.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1628484>
_______________________________________


More information about the Python-bugs-list mailing list