[Python-Dev] Re: ATTENTION! Releasing Python 2.2.2 in a few weeks

Skip Montanaro skip@pobox.com
Mon, 23 Sep 2002 12:48:24 -0500


    Martin> Laura Creighton <lac@strakt.com> writes:
    >> Do you know when a fixed binutils is due? 

    Martin> The bug hasn't been acknowledged by binutils maintainers yet;
    Martin> gcc maintainers report many problems with binutils, but have not
    Martin> identified any specific problem.

    Martin> So, unless somebody looks down into the details and studies the
    Martin> resulting binaries, it may be a matter of months for a fix to
    Martin> appear. Until then, binutils 2.13 should be avoided on Solaris.

Perhaps on Solaris the Python configure script should detect the presence of
binutils 2.13 and barf if it's found?  Something like

    if [ `uname` = 'SunOS' ] ; then
        v=`as --version 2>/dev/null \
           | head -1 \
           | sed -e 's/.* \([^.]*\.[^.]*\.[^.]*\).*/\1/`
        if [ $? -eq 0 ] ; then
            # got the gnu version of as - Sun as doesn't grok --version
            if [ $v = '2.13.0' ] ; then
                barf
            fi
        fi
    fi

seems like it should come close to working.

Skip