All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Enable --hash-style=both for all recent gcc4 targets
@ 2008-10-15  8:22 Holger Freyther
  2008-10-15  8:51 ` Koen Kooi
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Holger Freyther @ 2008-10-15  8:22 UTC (permalink / raw)
  To: openembedded-devel

Hey guys,

I would start linking everything with -Wl,--hash-style=both as this is said to 
speed up the loading of shared libraries by about 50% (google is your 
friend). This is an option for binutils and was introduced with binutils 
2.17. Now there are two ways to achieve this:

Change TARGET_LDFLAGS in e.g. the distro config (as this knows if binutils has 
this option available) or to change the "specs" of gcc to enable this by 
default. There is a patch from debian for gcc4.3 but it is leaving 
arm/armeabi out. What do you guys prefer?

I'm pretty sure that we will want to use the GNU hash style at Openmoko and 
this is creating an interesting problem in regard to a full system upgrade 
(which is supposed to work). Again there are two ways. Use force and bump PE 
on each package but we should avoid this. I propose to rename PR to FILE_PR 
and change PR  to "${FILE_PR}${DISTRO_PR}" so everytime a distro is changing 
something that effects every package we can bump (e.g. Setting DISTRO_PR 
to .1 for Openmoko).

comments?
	z.



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

end of thread, other threads:[~2008-10-16 14:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-15  8:22 [RFC] Enable --hash-style=both for all recent gcc4 targets Holger Freyther
2008-10-15  8:51 ` Koen Kooi
2008-10-15 21:17   ` Holger Freyther
2008-10-16  7:05     ` Koen Kooi
2008-10-16 11:52       ` Marcin Juszkiewicz
2008-10-16 14:52         ` -Wl,as-needed, was; " Koen Kooi
2008-10-15  8:54 ` Phil Blundell
2008-10-15 18:18   ` Holger Freyther
2008-10-15 18:36     ` Phil Blundell
2008-10-15  9:04 ` Holger Freyther
2008-10-15  9:19   ` Koen Kooi
2008-10-15 16:39     ` Holger Freyther
2008-10-15 18:16     ` Holger Freyther
2008-10-15 18:24       ` Koen Kooi
2008-10-15 19:53         ` Holger Freyther
2008-10-15 19:58           ` Koen Kooi
2008-10-15 22:43             ` Holger Freyther
2008-10-15 23:01               ` Henning Heinold
2008-10-16  3:17               ` Tom Talpey
2008-10-16  7:46               ` Phil Blundell
2008-10-15 10:43 ` Leon Woestenberg
2008-10-15 11:08   ` Phil Blundell
2008-10-15 11:09   ` Koen Kooi
2008-10-15 11:31     ` Richard Purdie
2008-10-15 11:58       ` Phil Blundell
2008-10-16  7:13 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.