Date: Tue, 25 Dec 2012 20:57:20 +0900 From: "Daisuke Aoyama" <aoyama@peach.ne.jp> To: "Andrew Turner" <andrew@fubar.geek.nz> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) Message-ID: <CF39233ED91241919AA069FC56CBC110@ad.peach.ne.jp> In-Reply-To: <20121225202326.1488fc5d@fubar.geek.nz> References: <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <20121225202326.1488fc5d@fubar.geek.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
> As of r244640 we should have clang support in head. Do you still need > to patch clang after this revision? I didn't check/build it, but it seems that latest clang is OK for OABI. However, it cannot be used in arm kernel because of TSIZ limitation. (other default choice is my taste/fun, not requirements) Please check below files in the patch: sys/arm/include/vmparam.h sys/conf/options.arm In my case, at least MAXTSIZ=20MB is required for -O2 optimized world. (-O1, -O0 are required more than -O2, of course) So, changeable MAXTSIZ is useful for clang. Increasing MAXTSIZ might be better when clang build. But I don't know what value is appropriate. Note: the patch contains clang, ARM11 and RPI specific patches. P.S. Thank you for many of committing. Now binutils can be used without patch. -- Daisuke Aoyama
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF39233ED91241919AA069FC56CBC110>