From owner-freebsd-arm@freebsd.org Sun Nov 29 19:08:39 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01D46A3A1C4 for ; Sun, 29 Nov 2015 19:08:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A83521FCD for ; Sun, 29 Nov 2015 19:08:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qgeb1 with SMTP id b1so104855657qge.1 for ; Sun, 29 Nov 2015 11:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=fxUqOhWWhgd5Sva/mB57ObDbQYUhzQT3Wwfey4dBta8=; b=Y6aLKBrbB+a17NAIPbKLLK+wtSycnI04Vq2RbyQbSyBVU8j8teEC2rnFbNs8a1DVl3 47gCTgUF7tFYB2Yx73INh7UHx3F1KMmZWg3J6P9nbw39C4RzJ+fhpYw+Bi2/hYVav0NM ybdXdxE0Ef1enrd5sJYy5+5gg7mra0K6z5fiuWCO7hdr1apYVn5aZ43PQJuWkIlekPGE DLahSjixWQ5/eDCL51P4vVyUbrxghtorgRiopAt5RWJPLu2oUYY8ErV8vpksKI7fNLvk sZ+5iP1olqnj8153ZkB6wfPYq+crxWfqDEM+7qfBFR4px+xAkfN8GgZAa3pWH6YT96r5 xtTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fxUqOhWWhgd5Sva/mB57ObDbQYUhzQT3Wwfey4dBta8=; b=DXbBGzYlDslgmu1I8z1aPBNb8nWOc27P0AofcUTLSPJ4OXxsxYBxZIzsr2kGG7Nd8w w+uR371kF7KTb1I9vb2dvndgQd4dvRQy4vHQoxC4kqlOcrW8HBj+oC0OmyST0MMtTGja j8rRGXQS7ROLuUoAxhpzA/1ZfzCrqJrLl5kvHqrQFV3uNBspaKDlArnqz5zF1MmZPD1R Xg6bNlCK70ELbknTb+IBY9kZAVRtROeq6DgDAcxgODqsUD/8DqcMg9MUX3VEtALv3b3K ABsqHlP38gwBsnp81FV5s5vsDDxON2m3JrIMWGvd7+eg3I5DZHXrN6RprnoVfqLpx+b6 eHYA== X-Gm-Message-State: ALoCoQne9aYXHBsgfbRyPYCbzKPv1h+dRMTqXGyEiw/eh4iFYTrPMFsX3ARjZ13tVat6kmVov1sU MIME-Version: 1.0 X-Received: by 10.140.40.38 with SMTP id w35mr67349435qgw.52.1448824117670; Sun, 29 Nov 2015 11:08:37 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Sun, 29 Nov 2015 11:08:37 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <565B42F6.2080805@codeghar.com> References: <56555273.403@codeghar.com> <5658A76C.1010502@codeghar.com> <565B42F6.2080805@codeghar.com> Date: Sun, 29 Nov 2015 12:08:37 -0700 X-Google-Sender-Auth: bzsg4XcXXQiCSInijjIFI-VWeU4 Message-ID: Subject: Re: make buildworld failed on Raspberry Pi 2 - "instruction requires: armv6t2" From: Warner Losh To: fehrist@codeghar.com Cc: freebsd-arm , Tim Kientzle Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 19:08:39 -0000 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 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" >