1 |
On Wed, 2007-06-13 at 12:24 +0200, Fabian Groffen wrote: |
2 |
> On 13-06-2007 12:08:49 +0200, Michael Haubenwallner wrote: |
3 |
> > On Tue, 2007-06-12 at 11:20 +0200, Fabian Groffen wrote: |
4 |
> > > 1) the patch was reverted, because there is no CVS header in the patch, |
5 |
> > > so my update script can't do anything but making it the same as the main |
6 |
> > > tree version, in this case overwriting the differences |
7 |
> > > 2) I tried applying the patch, but it failed to apply somehow |
8 |
> > > 3) the patch adds some GNU binutils specific linker stuff AFAICT, so |
9 |
> > > maybe it is better to apply it for the archs we use the GNU linker |
10 |
> > > with instead of not applying it for the archs we don't use it? |
11 |
> > |
12 |
> > Agreed, but |
13 |
> > |
14 |
> > 4) Some native linkers (hpux fex.) do have soname support, but with |
15 |
> > different argument (+h for hpux), not '-soname'. |
16 |
> > And we cannot use GNU ld on hpux. |
17 |
> > |
18 |
> > Maybe ldwrapper should map "-soname=name" to "+h name" for hpux once, |
19 |
> > and for aix/darwin, just drop "-soname=name" ? |
20 |
> |
21 |
> How tricky would it be to do this? |
22 |
|
23 |
"The difficult we do immediately, the impossible takes longer!" :) |
24 |
|
25 |
Substituting "-soname=" with "+h " is simple (for hpux once). |
26 |
And it's easier to ignore "-soname=*" for aix. |
27 |
|
28 |
> Can it go wrong? |
29 |
|
30 |
Unlikely, but who can say ? |
31 |
|
32 |
> With the modular |
33 |
> setup of the ldwrapper it is completely instance specific of course... |
34 |
> How much other things can we "solve" this way? hmmm.... |
35 |
|
36 |
Who knows what things we do have/want/need ? |
37 |
|
38 |
These are done right now: |
39 |
|
40 |
*) have prefix in default library search path |
41 |
*) have prefix in default runpath |
42 |
*) darwin: pass "-search_paths_first" |
43 |
(since brandnew version 0.svn72 ;-) ) |
44 |
*) aix: default to "-brtl" to have real shared-libs by default |
45 |
*) aix: pass runpath as one arg: "-blibpath:path1:path2:pathN" |
46 |
*) interix: pass runpath as two args: "-rpath" "path1:path2:pathN" |
47 |
*) aix/interix: uniq and resort runpath to "others:prefix:system" |
48 |
|
49 |
/haubi/ |
50 |
|
51 |
-- |
52 |
gentoo-alt@g.o mailing list |