public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common"
@ 2008-06-24 12:15 Arfrever Frehtes Taifersar Arahesis
  2008-06-24 12:17 ` Fabian Groffen
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2008-06-24 12:15 UTC (permalink / raw
  To: gentoo-dev

I would like to suggest that default LDFLAGS in Gentoo contain the following
flags: "-Wl,-O1,--hash-style=gnu,--sort-common".

-O1 enables some basic optimizations.
--hash-style=gnu causes that ld creates only new GNU-style hash tables.
--sort-common causes that ld sorts the common symbols by size when it places
them in the appropriate output sections.

These options don't cause any problems, so they should be less controversial
than --as-needed.
(These options don't conflict with --as-needed, so --as-needed can be still
added to default LDFLAGS, but this thread isn't about --as-needed.)

--
Arfrever Frehtes Taifersar Arahesis
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2008-07-12  8:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 12:15 [gentoo-dev] Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" Arfrever Frehtes Taifersar Arahesis
2008-06-24 12:17 ` Fabian Groffen
2008-06-24 13:31   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-06-29 11:31     ` Mike Frysinger
2008-06-25  4:16   ` Ryan Hill
2008-06-25  7:49     ` Arfrever Frehtes Taifersar Arahesis
2008-06-28  8:26 ` [gentoo-dev] " Petteri Räty
2008-06-29 11:29   ` Mike Frysinger
2008-06-29 21:15     ` Fabian Groffen
2008-06-30  3:28       ` Donnie Berkholz
2008-06-30  8:57         ` Fabian Groffen
2008-06-30 15:35           ` Arfrever Frehtes Taifersar Arahesis
2008-06-30 17:24             ` Fabian Groffen
2008-07-04  5:01               ` Luca Barbato
2008-07-09 13:45                 ` Doug Goldstein
2008-07-09 19:15                   ` Arfrever Frehtes Taifersar Arahesis
2008-07-10  3:47                     ` [gentoo-dev] " Ryan Hill
2008-07-10 22:14                       ` Arfrever Frehtes Taifersar Arahesis
2008-07-12  8:10                     ` [gentoo-dev] " Javier Villavicencio
2008-06-30 18:42     ` Petteri Räty
2008-06-30 20:10       ` [gentoo-dev] " Ryan Hill
2008-07-01  8:32         ` Michael Haubenwallner
2008-07-01 14:28 ` Arfrever Frehtes Taifersar Arahesis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox