https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2021-07-19 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I can't reproduce it with install locations /tmp/install_one and /tmp/install_alternate_two and doing compilation in /tmp with > cat t.c int main() { __builtin_puts ("Hello World\n"); return 0; } > ./install_one/usr/local/bin/gcc t.c -g -flto -o t > cp t t1 > ./install_alternate_two/usr/local/bin/gcc t.c -g -flto -o t > cp t t2 readelf -w and the symbol name are identical. Can you share steps how to reproduce? I only tried with current master for now.