[Bug lto/101473] LTO makes debug info depend on toolchain path
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 19 07:53:16 GMT 2021
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.
More information about the Gcc-bugs
mailing list