ldc
ldc copied to clipboard
ldc 1.29.0 and ld.gold sometimes mislinks/miscompiles
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.