This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/51255] Using -fwhole-program breaks code which puts values in .ctors or .init_array


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255

--- Comment #8 from Krisztian Kocsis <krisztian.kocsis at optimaster dot eu> ---
Hi!

In the meanwhile I'v successfully compiled uClibc 0.9.33.2 with LTO.
It required to patch only a few (2-3) lines to mark these sections as used.

We are running this in an embedded ARM926EJ-S based product since february
2013.

The system boot time is decreased by aprox. 10% only by recompiling libc with
LTO so it seems that it worth the job.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]