Bug 1926 - consider GNU linker optimization
Summary: consider GNU linker optimization
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: binutils (show other bugs)
Version: unstable
Hardware: all Linux
: P4 enhancement
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 20:04 MSK by at@altlinux.org
Modified: 2006-06-07 03:12 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.