Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] AIX: libperl fails
Date: Wed, 13 Jun 2007 10:05:38
Message-Id: 1181729329.10783.61.camel@localhost
In Reply to: Re: [gentoo-alt] AIX: libperl fails by Fabian Groffen
1 On Tue, 2007-06-12 at 11:20 +0200, Fabian Groffen wrote:
2 > 1) the patch was reverted, because there is no CVS header in the patch,
3 > so my update script can't do anything but making it the same as the main
4 > tree version, in this case overwriting the differences
5 > 2) I tried applying the patch, but it failed to apply somehow
6 > 3) the patch adds some GNU binutils specific linker stuff AFAICT, so
7 > maybe it is better to apply it for the archs we use the GNU linker
8 > with instead of not applying it for the archs we don't use it?
9
10 Agreed, but
11
12 4) Some native linkers (hpux fex.) do have soname support, but with
13 different argument (+h for hpux), not '-soname'.
14 And we cannot use GNU ld on hpux.
15
16 Maybe ldwrapper should map "-soname=name" to "+h name" for hpux once,
17 and for aix/darwin, just drop "-soname=name" ?
18
19 >
20 >
21 > On 12-06-2007 11:09:08 +0200, Michael Haubenwallner wrote:
22 > > On Fri, 2007-06-08 at 22:44 +0200, Michael Haubenwallner wrote:
23 > > > On Fri, 2007-06-08 at 15:05 -0500, Marshall McMullen wrote:
24 > > > > Hrm, well I must be doing something wrong. I did the svn update, got
25 > > > > the latest soname.patch, and tried emerging it again, but it still
26 > > > > fails with the same error. Am I doing something wrong ?
27 > > >
28 > > > The latest soname patch is broken, but the previous (< r5932) works.
29 > > > Thus the explicit downgrade to r5931.
30 > >
31 > > Or try this patch instead...
32 > >
33 > > /haubi/
34 >
35 > > Index: libperl-5.8.8-r1.ebuild
36 > > ===================================================================
37 > > --- libperl-5.8.8-r1.ebuild (revision 6683)
38 > > +++ libperl-5.8.8-r1.ebuild (working copy)
39 > > @@ -122,7 +122,11 @@
40 > > # LIBPERL=libperl.so.${SLOT}.`echo ${PV} | cut -d. -f1,2`
41 > > #
42 > > cd ${S};
43 > > - use userland_Darwin || epatch ${FILESDIR}/${PN}-create-libperl-soname.patch
44 > > + case "${CHOST}" in
45 > > + *-darwin*) ;;
46 > > + *-aix*) ;;
47 > > + *) epatch ${FILESDIR}/${PN}-create-libperl-soname.patch ;;
48 > > + esac
49 > >
50 > > # Configure makes an unwarranted assumption that /bin/ksh is a
51 > > # good shell. This patch makes it revert to using /bin/sh unless
52 >
53 >
54 > --
55 > Fabian Groffen
56 > Gentoo on a different level
57
58 --
59 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] AIX: libperl fails Fabian Groffen <grobian@g.o>