clear_cache and clang (was Re: Git crash on EABI system.)

Tim Kientzle kientzle at freebsd.org
Fri May 17 12:22:19 UTC 2013


On May 17, 2013, at 5:05 AM, Werner Thie wrote:

> Tim
> 
> Maybe you or somebody else can shed some light onto how compiler-rt is used for the ARM platform, specifically why am I getting a
> 
> missing symbol __clear_cache

I suspect it's somehow related to this (from libcompiler_rt/Makefile):

# Don't build clear_cache on ARM with clang as it is a builtin there.
.if ${MACHINE_CPUARCH} != "arm" || ${COMPILER_TYPE} != "clang"
SRCF+=  clear_cache
.endif

Do you know what code in ctypes for Python is referring to
that symbol?   There may be some oddity in how that symbol is
being referenced that's incompatible with the clang built-in.

Tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130517/f9e68b23/attachment.sig>


More information about the freebsd-arm mailing list