Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 12:55:34 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Migrating from -current to stable/12 on RPI2B (ARMv7)
Message-ID:  <2C1E2F87-2FC3-481C-A508-C76B2D7CFF7F@yahoo.com>
In-Reply-To: <E1EC1332-62D8-4E51-BF4D-9812AF7EF44B@yahoo.com>
References:  <20201228044840.GA28380@www.zefox.net> <F9CB3890-5E07-46C9-AC40-D968F8B51B1F@yahoo.com> <20201228185622.GB28380@www.zefox.net> <E1EC1332-62D8-4E51-BF4D-9812AF7EF44B@yahoo.com>

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

On 2020-Dec-28, at 12:07, Mark Millard <marklmi at yahoo.com> wrote:


> On 2020-Dec-28, at 10:56, bob prohaska <fbsd at www.zefox.net> wrote:
> 
>> On Sun, Dec 27, 2020 at 10:10:18PM -0800, Mark Millard wrote:
>>> 
>>> 
>>> On 2020-Dec-27, at 20:48, bob prohaska <fbsd@www.zefox.net> wrote:
>>> 
>>>> . . .
>>> 
>> I didn't know about LDFLAGS, but a re-try with 
>> -j1 and LDFLAGS.lld+= -Wl,--threads=1
>> (apparently the syntax changed) in /etc/make.conf 
>> promptly reproduced the error. 
> 
> Hmm. It been a while since I did a native build instead of a
> cross build. The cross build context has RAM and does not
> use the assignment so I'd not noticed.
> 
> Thanks for the report!

lld for LLVM 10 always had --no-threads as I now understand
and stable/12 still has/uses/needs LLVM 10.0.1 (with
updates).

That means that lld from LLVM 11 was in use (FreeBSD
13's system ld). The build was probably trying to build
some LLVM 10.0.1 final+ materials for bootstrap style
build use in later build stages (older FreeBSD targeting).
It likely had not gotten to the stage of building freebsd
stable/12 material itself.

Attempting to build devel/llvm10 might well have the same
issue without having to involve an extra FreeBSD source
tree or build.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C1E2F87-2FC3-481C-A508-C76B2D7CFF7F>