[New-bugs-announce] [issue11729] libffi assembler relocation check is not robust, fails with clang

Ismail Donmez report at bugs.python.org
Thu Mar 31 14:38:40 CEST 2011


New submission from Ismail Donmez <ismail at namtrac.org>:

The check under Modules/_ctypes/libffi/configure.ac does;

    echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
    if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
        libffi_cv_as_x86_pcrel=no
    fi  

With clang; we get:

clang: warning: argument unused during compilation: '-g'

So it fails to detect pc relocation support due to an unrelated warning.

----------
components: Build
messages: 132663
nosy: cartman
priority: normal
severity: normal
status: open
title: libffi assembler relocation check is not robust, fails with clang
versions: Python 3.3

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


More information about the New-bugs-announce mailing list