From owner-freebsd-arm@freebsd.org Thu Oct 20 16:21:47 2016 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 295C4C1A048 for ; Thu, 20 Oct 2016 16:21:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 E88EC805 for ; Thu, 20 Oct 2016 16:21:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22e.google.com with SMTP id 66so99054433itl.1 for ; Thu, 20 Oct 2016 09:21:46 -0700 (PDT) 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:from:date:message-id :subject:to:cc; bh=la3O33dG1AYIgMVGuU/lVcXD3rAj3yK6Q7JRaDEujy4=; b=R+86DGzHgQIqROLZVLSEbA+FjkyXz6VfA/xN1WGRgUGrx34tExse3BrgX5eocH6rS3 GUAhstVf1fC/72vRu0GR5P+vGYaZOPnYY2ovDiW1it25vp2bVpkGa/HLkZVmm9ZjLy9G CAy06VjNAWGWBUKBod5Cl/VZP25Uumoln+a+U+XjQOxE3JBXdcEgRnWeDPGwB4kDSM4/ tLA3WS+KMBV3P2V4lZ9HER5o2p1XLzmb39Z0Hey06nMj5pP1RFyI4x77/L7QVZ3Edm75 A0gcA1uMkveFHs6pt/jvDvXUTV/J8G3pkmlzYZHjotuE5663YxSKiVtVfXCAVWvIFi/Z X0RQ== 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:from :date:message-id:subject:to:cc; bh=la3O33dG1AYIgMVGuU/lVcXD3rAj3yK6Q7JRaDEujy4=; b=flbFTITe9XcFWlMib+GOWFW2JyT7w+WVBpfDa5KQu2bA4TW9gwQHIxQGvw/30QS1Ai 1lzEicVbSu9lbibSyJRRG13rqNj64R8ZXpY43jERdwXr5wq0bT92CV+HbDOvFpLaTqiY FwcrqPJGM9BHUvNt1HSD0cxE07evSCj2vFbzk9MAQDJdW81/xVRU4seBpWrFsfA+TpR5 aOjsOLF/r5wAMqIXlp071M6EcJo+to/Ad5YckDVVBUqIglKQb79mrOJCbVXhkyC1qZdb pLaMcSK42il+bd0M2o30i828czrtZyoYcOKw2jV/Vze2VIiqaGtqplA7RuAzouGZGcNX BYAw== X-Gm-Message-State: AA6/9RmG9yEhbiJWZa/q/FcP31IAvWLSB2iDrVray2p/WQpfLHo2Rpa833ImNM8shhy0tC8NeuG8v6a8ZsAEGg== X-Received: by 10.36.91.10 with SMTP id g10mr8869079itb.103.1476980506206; Thu, 20 Oct 2016 09:21:46 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.77.85 with HTTP; Thu, 20 Oct 2016 09:21:45 -0700 (PDT) X-Originating-IP: [50.205.115.50] In-Reply-To: <20161020160203.GB29944@mutt-hardenedbsd> References: <20161017140631.GA77580@mutt-hardenedbsd> <20161018194958.GC22296@mutt-hardenedbsd> <2BC88734-CF40-4702-9483-ADEBA23C11F2@bluezbox.com> <20161019002146.GA57025@mutt-hardenedbsd> <20161020160203.GB29944@mutt-hardenedbsd> From: Warner Losh Date: Thu, 20 Oct 2016 10:21:45 -0600 X-Google-Sender-Auth: 7rKsOy2ZVuJlC_ZqdZF7Hz3dQD4 Message-ID: Subject: Re: Raspberry Pi 3 support To: Shawn Webb Cc: Michael Tuexen , "freebsd-arm@freebsd.org" , Ross Alexander Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 16:21:47 -0000 On Thu, Oct 20, 2016 at 10:02 AM, Shawn Webb wrote: > On Thu, Oct 20, 2016 at 05:57:06PM +0200, Michael Tuexen wrote: >> > Cool! Thanks! >> I followed the instructions in the Wiki with the difference that I had to go >> via a file image. I successfully installed it on an SD card and booted the >> RPI3. The only problem is that it misses an /usr/bin/ld although it has >> /usr/bin/cc >> >> Any idea what might went wrong? > > Hey Michael, > > You'll need to use the projects/clang390-import branch to bring in lld. > lld will get installed as /usr/bin/ld.lld. You'll need to create a > symlink (or hardlink) pointing /usr/bin/ld to /usr/bin/ld.lld. > > I didn't document steps for the clang 3.9.0 / lld work mainly because > it's extremely experimental and doesn't even work right at the moment. You can also use the binutils ld. Don't have documented steps to do that... Warner