Bug 1926

Summary: consider GNU linker optimization
Product: Sisyphus Reporter: at <at>
Component: binutilsAssignee: Gleb F-Malinovskiy <glebfm>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P4 CC: glebfm
Version: unstable   
Hardware: all   
OS: Linux   

Description at@altlinux.org 2003-01-13 20:04:33 MSK
According to Ulrich Drepper paper, it is worth to pass -O1 command line option to GNU linker to perform final binary optimizations. Currently this relates at least symbol table optimization for shared libraries. The author also states that new linker version will be developed which will use advanced optimizations techniques.

%optflags_linker -Wl,-O1
%optflags_default ... %optflags_linker
?
---

---

Comment 1 Dmitry V. Levin 2003-01-16 12:26:05 MSK
Lets test it first.
Comment 2 Dmitry V. Levin 2003-01-16 12:26:05 MSK
Lets test it first.
Comment 3 Dmitry V. Levin 2005-09-05 00:35:22 MSD
Do you suggest to set default LDFLAGS?
Comment 4 Dmitry V. Levin 2006-01-10 02:07:18 MSK
Or maybe just enable it in ld by default?
Comment 5 Denis Smirnov 2006-01-10 13:50:24 MSK
Если это работает корректно -- лучше установить по-умолчанию в ld.
Comment 6 Dmitry V. Levin 2006-06-07 03:12:34 MSD
Enabled by default in binutils-2.16.91.0.5-alt2 on Mon Jan 09 2006,
nobody complained yet.