Date: Sun, 29 Nov 2015 12:08:37 -0700 From: Warner Losh <imp@bsdimp.com> To: fehrist@codeghar.com Cc: freebsd-arm <freebsd-arm@freebsd.org>, Tim Kientzle <tim@kientzle.com> Subject: Re: make buildworld failed on Raspberry Pi 2 - "instruction requires: armv6t2" Message-ID: <CANCZdfqEYcGOy5GfO62mfVxWZ6PV2GM8cdzSsgPRm64JSJuy-g@mail.gmail.com> In-Reply-To: <565B42F6.2080805@codeghar.com> References: <56555273.403@codeghar.com> <5658A76C.1010502@codeghar.com> <E1375E26-D861-4298-B30E-6BA954FC9FA2@kientzle.com> <565B42F6.2080805@codeghar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
CPUTYPE=native hasn't been tested on arm at all. Clearly our implementation of it is broken. That's the real bug here. We either should implement it correctly, which would take some doing, or we should make -march=native return an error on those systems where it isn't done right. You are correct: in the mean time, please remove this. It works on x86, it seems, but doesn't on arm. Warner On Sun, Nov 29, 2015 at 11:24 AM, Hamza Sheikh <fehrist@codeghar.com> wrote: > Try with an empty /etc/make.conf and let us know if that fixes it. >> >> If it builds correctly with an empty /etc/make.conf, you can try >> commenting out single lines here and see which one is the problem. >> > > I removed the line `CPUTYPE?=native` from /etc/make.conf and `make > buildworld` completed successfully. Thanks for the tip! > > I have updated the bug report as well. > > P.S. What is RaspBSD? >> > > From raspbsd.org: "RaspBSD is a image of FreeBSD 11 that is preconfigured > in two different images for Raspberry Pi Computers (and more soon)." > > > -- > Hamza Sheikh > Twitter: @aikchar > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqEYcGOy5GfO62mfVxWZ6PV2GM8cdzSsgPRm64JSJuy-g>