ldc icon indicating copy to clipboard operation
ldc copied to clipboard

ldc 1.29.0 and ld.gold sometimes mislinks/miscompiles

Open FeepingCreature opened this issue 2 years ago • 0 comments

I don't have a good repro for this, but I've seen it happen a few times now: a binary that should have a lea to .dynarraystorage instead gets a lea to gcc_except_table*. This then leads to bizarre misbehavior at runtime. I've stopped using ld.gold with ldc2 for this reason.

This is not deterministic! The same command will lead to a correct binary on the next attempt.

This bug report is mostly so that this issue shows up on Google and to have a place to discuss it.

FeepingCreature avatar Jun 23 '22 07:06 FeepingCreature