Date: Sun, 23 Nov 2014 10:27:17 -0800 From: Tim Kientzle <tim@kientzle.com> To: Dan Raymond <draymond@foxvalley.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: latest VM images fail to compile for ARM Message-ID: <F8BF878F-122F-47B5-BF35-C7342D86875D@kientzle.com> In-Reply-To: <547144C5.5090002@foxvalley.net> References: <54710D7D.3000303@foxvalley.net> <6C5FAA6F-B1B1-4499-8C0F-73C26D6D35C9@kientzle.com> <547144C5.5090002@foxvalley.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 22, 2014, at 6:21 PM, Dan Raymond <draymond@foxvalley.net> = wrote: >=20 > On 11/22/2014 6:57 PM, Tim Kientzle wrote: >>=20 >>> On Nov 22, 2014, at 2:26 PM, Dan Raymond <draymond@foxvalley.net = <mailto:draymond@foxvalley.net>> wrote: >>>=20 >>> I am getting errors while building xdev.=20 >>=20 >> What errors? >=20 > The first error was that it couldn't find 'gperf'. When I ran it = again it gave me a different error but I don't recall the details. Let = me know if you need a log and I will set up another VM to get it. I suspect the culprit is: r272849 emaste: Build gperf only if we=92re using g++ (not clang++) It seems that the xdev targets need to be updated to build gperf as a = prerequisite for GCC. You can work around this by manually building and = installing gperf. $ cd /usr/src/gnu/usr.bin/gperf $ make && make install As described in http://stackoverflow.com/questions/3040801 = <http://stackoverflow.com/questions/3040801>, trying to build GCC = without gperf installed leaves some broken files behind, so you need to = clean out the obj directory before trying again lest you encounter other = problems: $ rm -rf /usr/obj/armv6-freebsd/ Cheers, Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8BF878F-122F-47B5-BF35-C7342D86875D>