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

Stefan Eßer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|New                         |Closed
         Resolution|---                         |Not Accepted

--- Comment #2 from Stefan Eßer <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to