Repository navigation
link: a host that is also a cross tag carries its runtime twice; it joins and registers once - #2507
Merged
Merged
Conversation
…oins and registers once Since #2500 every compiler embeds `rt@<tag>` for the cross tags beside its native `rt` slot. On a Linux host both are this target's (the native slot's "" and linux_x86_64 both resolve to it), so the stage3 link took the same extracted wo_rt.o twice — 20 duplicate symbols at the Linux fixpoint, the same at the linux-aarch64 compiler link; the Mac has no darwin tag and never saw it. The runtime joins once (the first slot for the target) and its interface registers once.
Contributor
Author
|
Battery GREEN on f1c94bf (325 s, this Mac); gate 164 s. On eric-5090 at the same commit: build rc=0, fixpoint rc=0 (the step that failed with 20 duplicate symbols). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linux fixpoint and the linux-aarch64 compiler link failed with 20 duplicate symbols: the native
rtslot andrt@linux_x86_64are both the target's on a Linux host and the same wo_rt.o joined twice. One join, one registration. Verified on eric-5090 (fixpoint) and the Mac battery; posted below.