[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16934] gc-sections fails to remove unused C++ member functions
From: |
curaga at operamail dot com |
Subject: |
[Bug ld/16934] gc-sections fails to remove unused C++ member functions |
Date: |
Thu, 19 Jun 2014 09:44:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #7 from curaga at operamail dot com ---
That's why this is an enhancement request :)
I'd like to see that sophistication added to the linker. This is needed
separately from LTO for various reasons:
- use with older compilers that do not support LTO
- use with projects so big that LTO cannot be used (Firefox, Webkit) because of
prohibiting RAM requirements
- use with projects that need fast compilation, but small binaries. LTO comes
with a severe compile time hit
- use with projects that are buggy with LTO
It's completely feasible without LTO and would benefit many cases. LTO is
problematic in some cases, slow, and RAM-hungry, whereas gc-sections has not
failed me once, and is quite fast and light on RAM in comparison.
--
You are receiving this mail because:
You are on the CC list for the bug.