[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-co
From: |
niveditas98 at gmail dot com |
Subject: |
[Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common |
Date: |
Thu, 06 Feb 2020 20:32:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25355
Arvind Sankar <niveditas98 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |niveditas98 at gmail dot com
--- Comment #11 from Arvind Sankar <niveditas98 at gmail dot com> ---
While checking what happens during gcc-10 bootstrap with libtool configuration,
I noticed that the current test code doesn't work with C++.
lt__PROGRAM__LTX_preloaded_symbols gets declared as a const struct [], which
has static linkage in C++, and at any non-zero optimization level that test
file gets completely eliminated.
So the pipe is assumed to always work if configure is running with a C++
compiler.
--
You are receiving this mail because:
You are on the CC list for the bug.