Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 10:21:45 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Michael Tuexen <tuexen@fh-muenster.de>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Ross Alexander <rwa@athabascau.ca>
Subject:   Re: Raspberry Pi 3 support
Message-ID:  <CANCZdfrKaDiAC-3JyQw%2B6zsPWJo7G=vC9HMjO13hU_Ngxu9Jnw@mail.gmail.com>
In-Reply-To: <20161020160203.GB29944@mutt-hardenedbsd>
References:  <mailman.62.1476446401.6092.freebsd-arm@freebsd.org> <alpine.BSF.2.20.1610170004010.2176@autopsy.pc.athabascau.ca> <20161017140631.GA77580@mutt-hardenedbsd> <20161018194958.GC22296@mutt-hardenedbsd> <2BC88734-CF40-4702-9483-ADEBA23C11F2@bluezbox.com> <20161019002146.GA57025@mutt-hardenedbsd> <CACB0760-00C9-4A61-9334-9BEB01577D76@fh-muenster.de> <20161020160203.GB29944@mutt-hardenedbsd>

index | next in thread | previous in thread | raw e-mail

On Thu, Oct 20, 2016 at 10:02 AM, Shawn Webb <shawn.webb@hardenedbsd.org> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrKaDiAC-3JyQw%2B6zsPWJo7G=vC9HMjO13hU_Ngxu9Jnw>