Matthias Klose dixit:
The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures. The goal
is to get this package to build with link time optimizations, or to >explicitly disable link time optimizations for this package build.
This is daring, especially from the GCC maintainer.
GCC (both in Debian and upstream) have been ignoring many known
bugs related to LTO (both in the -fwhole-program --combine and
These bugs are subtile miscompilations. In mksh, only one test
by accident fails due to the GCC LTO bug. It’s definitely *not*
(As for dietlibc, it’s inappropriate there anyway, so it opts out.)
These bugs are subtile miscompilations. In mksh, only one test
by accident fails due to the GCC LTO bug. It’s definitely *not*
What was the last version of gcc that you have tested?
(As for dietlibc, it’s inappropriate there anyway, so it opts out.)
That's a shame, as it's specifically a library that could use reduced size >due to the compiler being able to notice and excise unnecessary bits.
A glance at the failure log shows that first we have an obvious bug that
has been uncovered now:
extern int main(int argc,char* argv[],char* envp[]);
vs
int main(int argc,char *argv[])
then some linker games.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 339 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:17:51 |
Calls: | 7,466 |
Calls today: | 2 |
Files: | 12,691 |
Messages: | 5,627,864 |