New submission from Ismail Donmez <ism...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11729>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to