Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2021 23:04:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252842] WITHOUT_LLD_BOOTSTRAP build option fails in /usr/src/usr.bin/gh-bc
Message-ID:  <bug-252842-227-2mMD9oLpTN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252842-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252842-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252842

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se@FreeBSD.org
             Status|New                         |Closed
         Resolution|---                         |Not Accepted

--- Comment #2 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
I consider this a false positive:

Upgrading between major versions (12 -> 13) with explicit skipping of requi=
red
bootstrap tools is just insane.

The error is reported due to building gh-bc with -flto and then attempting =
to
link with an old linker that does not support the "object files" produced by
the upgraded CLANG (upgraded as a bootstrap tool) with -flto.

I have tried to reproduce this issue on -CURRENT which has for a long time =
(at
least 1 year) provided a LLD version that works in this case.

I'm going to close the PR for the reason that it is a user error to suppress
the building of (part of the) bootstrap tools leading to incompatible compi=
ler
and linked when performing an upgrade to a new FreeBSD major version.

There is no practical fix for this issue: Overriding WITHOUT_LLD_BOOTSTRAP =
for
major version upgrades would prevent this "user error", but going from 13 t=
o 14
will not require a LLD bootstrap and thus such an override would be superfl=
uous
for major version upgrades after 12->13.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252842-227-2mMD9oLpTN>