From owner-freebsd-arm@FreeBSD.ORG Tue Aug 5 07:51:54 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 143E2300 for ; Tue, 5 Aug 2014 07:51:54 +0000 (UTC) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id ECD98207A for ; Tue, 5 Aug 2014 07:51:53 +0000 (UTC) Received: from bender.lan (97e07ab1.skybroadband.com [151.224.122.177]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id EB2A55DEBC; Tue, 5 Aug 2014 07:51:46 +0000 (UTC) Date: Tue, 5 Aug 2014 08:51:34 +0100 From: Andrew Turner To: Alie Tan Subject: Re: Unable to compile squid for RPI Message-ID: <20140805085134.7dd6a295@bender.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 07:51:54 -0000 On Tue, 5 Aug 2014 12:39:12 +0700 Alie Tan wrote: > Hi, > > Is there anyway to solve compilation error below: > ../../include/util.h:58:34: note: expanded from macro > '_SQUID_EXTERNNEW_' #define _SQUID_EXTERNNEW_ extern inline > __attribute__((gnu_inline)) ^ > 5 warnings generated. > /tmp/StoreMap-5d1169.s: Assembler messages: > /tmp/StoreMap-5d1169.s:713: Error: selected processor does not support > `ldrexb r1,[r2]' > /tmp/StoreMap-5d1169.s:715: Error: selected processor does not support > `strexb r4,r3,[r2]' > /tmp/StoreMap-5d1169.s:2456: Error: selected processor does not > support `ldrexb r1,[r2]' > /tmp/StoreMap-5d1169.s:2458: Error: selected processor does not > support `strexb r7,r3,[r2]' > c++: error: assembler command failed with exit code 1 (use -v to see > invocation) > *** [StoreMap.lo] Error code 1 > > make[5]: stopped in /usr/ports/www/squid33/work/squid-3.3.11/src/ipc > 1 error You need to make sure you have r269387. These are armv6k instructions and our version of clang prior to this change only worked with armv6 instructions, i.e. no ldrexb or strexb instruction. Andrew