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/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252842

Stefan Eßer <se@FreeBSD.org> changed:

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

--- Comment #2 from Stefan Eßer <se@FreeBSD.org> ---
I consider this a false positive:

Upgrading between major versions (12 -> 13) with explicit skipping of required
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 compiler
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 to 14
will not require a LLD bootstrap and thus such an override would be superfluous
for major version upgrades after 12->13.

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

home | help

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