Re: Migrating from -current to stable/12 on RPI2B (ARMv7)

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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 <[email protected]> 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)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.