Stefan Krah added the comment:
This is a duplicate of #11729, which is fixed.
--
nosy: +skrah
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - libffi assembler relocation check is not robust, fails with
clang
type: - compile error
koobs added the comment:
This is also an issue for clang builds of Python on FreeBSD and results in the
_ctypes extension failing to compile (See: koobs-freebsd-clang buildbot)
The original mozilla patch (see References below) did not make it into the
libffi 3.0.11 release, which has already
koobs added the comment:
Correction, the PR mentioned in the previous comment has been submitted for
devel/libffi in the FreeBSD ports tree (update from 3.0.9 - 3.0.11), not
lang/python27
--
___
Python tracker rep...@bugs.python.org
New submission from Joel j...@jms.id.au:
tl;dr libffi needs to be updated so Python will build with clang on Linux on
amd64
libffi, part of ctypes, has a test for PC relative relocations. It assembles a
assembler file with CC, and looks for the string warning in the output.
clang produces