From owner-freebsd-arm@FreeBSD.ORG Fri May 17 12:22:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B22EC355 for ; Fri, 17 May 2013 12:22:19 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 81D2A97C for ; Fri, 17 May 2013 12:22:19 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id 16so9123119iea.31 for ; Fri, 17 May 2013 05:22:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer :x-gm-message-state; bh=YiKO4KPE+gQZIs3nsX8LSODG+5HKmv29duAXVOzAXzw=; b=oN/ncKMZG8FgdC3ujZVmfqIpy+Vlm6pAOqaXzC8TqCGP+wDXEawztqrtUTzJnZzMfH TlaZXWvSPYy6+yQqaA7U2hcr9wIwBObCm5DSQ7aghnpuRyg1VWNlhyY1TCpoyOYAu0Ym wZcW2iI2s+7qHwklZ470MHPDYp6N+0ELOufd+5SWo+a1GIam7mfOnjlhfqV0oIST2YTR j2fiKEKxA0r2/15n754ZjPmD8nAzDhclrAqNR+ZMQoX/1Q0XxJbtrmaqVLRa1a2IuYTu WN/KeHASNFp21gA3qlEZ4DVyrp9ItUZunmjIaGBXmfHPhn1zVSuUs+RPi28oglKoE+RJ CsHA== X-Received: by 10.42.144.2 with SMTP id z2mr14320421icu.50.1368793339160; Fri, 17 May 2013 05:22:19 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id d9sm9293468igr.4.2013.05.17.05.22.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 05:22:18 -0700 (PDT) Sender: Tim Kientzle Subject: clear_cache and clang (was Re: Git crash on EABI system.) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <5195F2CA.2090103@thieprojects.ch> Date: Fri, 17 May 2013 08:22:14 -0400 Message-Id: <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> To: Werner Thie X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQn6GVTUp+yAgyeSZGRtVeOAOLz3hjjezf/utmwDUVOV6U3QDhsMJ+j6f/OopRcMKAf/7fE5 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 12:22:19 -0000 --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On May 17, 2013, at 5:05 AM, Werner Thie wrote: > Tim >=20 > 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 >=20 > 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} !=3D "arm" || ${COMPILER_TYPE} !=3D "clang" SRCF+=3D 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 --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRliD3AAoJEGMNyGo0rfFBVHMH/2bmB0NfiEqIAB+otW0ZJScQ B3lGKZqfUKXKVJLvS2TNOD98/TgKy0+1E/M+C95Abw3Fx0b+EiYEg7oF4VDiJ0C1 ln9w8R60W95R4p+flQ401TF3etdYa8PsakP3GZBo+T+NUocFx+UKCUOVYJFh1ZW+ AY3makMah+gLj0jk15lmlfyHuOgzv+vjcSk5us2xxUp+40PyZCJwZ9zHHo3OhsV+ XNcH4Vcdwc6qrr6pVIxRK5bSdlaalZYRuMTtE+CCpNPZ9EDcg+maVNcIqhidbPNU y5KyiSC/pZwJls7x4gVbh1dlZKpzgkCll/cva9CyQYe0GUapstl3nalJVFJCERQ= =nF2q -----END PGP SIGNATURE----- --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D--