Date: Mon, 18 Mar 2013 10:50:29 -0700 From: Dave Hayes <dave@jetcafe.org> To: freebsd-arm@freebsd.org Subject: 9.1-Stable buildworld problems with Clang Message-ID: <514753E5.9000102@jetcafe.org>
next in thread | raw e-mail | index | archive | help
Hello. I'm trying to buildworld a custom arm image from an amd64 box with clang as of # uname -v FreeBSD 9.1-STABLE #0 r248220: Tue Mar 12 21:40:35 PDT 2013 and I'm getting the following issue. # make buildworld TARGET=arm clang -O -pipe -O2 -fno-strict-aliasing -pipe -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN -std=gnu99 -Qunused-arguments -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c /usr/src.arm/lib/libcompiler_rt/../../contrib/compiler-rt/lib/clear_cache.c -o clear_cache.o /usr/src.arm/lib/libcompiler_rt/../../contrib/compiler-rt/lib/clear_cache.c:24:6: error: definition of builtin function '__clear_cache' void __clear_cache(void* start, void* end) I could be doing something wrong here. My make.conf is this CC=clang CXX=clang++ CPP=clang-cpp CFLAGS+=-O2 -fno-strict-aliasing -pipe COPTFLAGS+=-O1 -fno-strict-aliasing -pipe WITH_CLANG=YES WITH_CLANG_IS_CC=yes WITH_CLANG_EXTRAS=yes WITHOUT_GCC=yes WERROR= NO_WERROR= I don't get clear information googling around, so if someone knows what's going wrong here...I'd really appreciate it if you could inform me. Thanks in advance. :) -- Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>>> *The opinions expressed above are entirely my own* <<<< A passerby caught Nasrudin prying open the window of his own bedroom from the outside in the depths of night. "What are you doing? Locked out?" "Hush!" came the reply. "They say I walk in my sleep. I am trying to surprise myself and find out."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514753E5.9000102>