latest VM images fail to compile for ARM
Tim Kientzle
tim at kientzle.com
Sun Nov 23 18:27:22 UTC 2014
> On Nov 22, 2014, at 6:21 PM, Dan Raymond <draymond at foxvalley.net> wrote:
>
> On 11/22/2014 6:57 PM, Tim Kientzle wrote:
>>
>>> On Nov 22, 2014, at 2:26 PM, Dan Raymond <draymond at foxvalley.net <mailto:draymond at foxvalley.net>> wrote:
>>>
>>> I am getting errors while building xdev.
>>
>> What errors?
>
> 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’re 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
More information about the freebsd-arm
mailing list