Date: Tue, 5 Aug 2014 08:51:34 +0100 From: Andrew Turner <andrew@fubar.geek.nz> To: Alie Tan <alie@afflemedialab.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Unable to compile squid for RPI Message-ID: <20140805085134.7dd6a295@bender.lan> In-Reply-To: <CANuCnH-YA%2Bigx011-cfJ_ZpANKgpanY0DZ1-J7tw824zmocySA@mail.gmail.com> References: <CANuCnH-YA%2Bigx011-cfJ_ZpANKgpanY0DZ1-J7tw824zmocySA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Aug 2014 12:39:12 +0700 Alie Tan <alie@afflemedialab.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140805085134.7dd6a295>