On 13 August 2016 at 11:16, Davide Italiano via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > There's enough AArch64 to allow lld to self-host and to finish a build > of the base system on FreeBSD. Last we (I and Rafael) checked, it was > mid-june timeframe, but nothing changed since then.FYI when trying to link the FreeBSD/arm64 kernel now I receive tens of thousands of "relocation R_AARCH64_ADR_PREL_PG_HI21 out of range". Did you try building the kernel as well, or just userland?
On Aug 16, 2016 10:34 AM, "Ed Maste" <emaste at freebsd.org> wrote:> > On 13 August 2016 at 11:16, Davide Italiano via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > There's enough AArch64 to allow lld to self-host and to finish a build > > of the base system on FreeBSD. Last we (I and Rafael) checked, it was > > mid-june timeframe, but nothing changed since then. > > FYI when trying to link the FreeBSD/arm64 kernel now I receive tens of > thousands of "relocation R_AARCH64_ADR_PREL_PG_HI21 out of range". Did > you try building the kernel as well, or just userland?make buildworld as there was no linker script support for the kernel at the time. I dont exclude things regressed since then. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160816/065482e6/attachment.html>
On Aug 16, 2016 10:46 AM, "Davide Italiano" <davide at freebsd.org> wrote:> > On Aug 16, 2016 10:34 AM, "Ed Maste" <emaste at freebsd.org> wrote: > > > > On 13 August 2016 at 11:16, Davide Italiano via llvm-dev > > <llvm-dev at lists.llvm.org> wrote: > > > > > > There's enough AArch64 to allow lld to self-host and to finish a build > > > of the base system on FreeBSD. Last we (I and Rafael) checked, it was > > > mid-june timeframe, but nothing changed since then. > > > > FYI when trying to link the FreeBSD/arm64 kernel now I receive tens of > > thousands of "relocation R_AARCH64_ADR_PREL_PG_HI21 out of range". Did > > you try building the kernel as well, or just userland? > > make buildworld as there was no linker script support for the kernel atthe time. I dont exclude things regressed since then. If you have a --reproduce you can upload somewhere, it will be helpful. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160816/b11bf5ea/attachment.html>
On 16 August 2016 at 08:46, Davide Italiano <davide at freebsd.org> wrote:>> >> FYI when trying to link the FreeBSD/arm64 kernel now I receive tens of >> thousands of "relocation R_AARCH64_ADR_PREL_PG_HI21 out of range". Did >> you try building the kernel as well, or just userland? > > make buildworld as there was no linker script support for the kernel at the > time. I dont exclude things regressed since then.I doubt it regressed, probably just wasn't tried before. I'll collect a --reproduce and upload it somewhere in a bit.