make buildworld failed on Raspberry Pi 2 - "instruction requires: armv6t2"

Warner Losh imp at bsdimp.com
Sun Nov 29 19:08:39 UTC 2015


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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>


More information about the freebsd-arm mailing list