Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] DDD + libiberty binutils
Date: Sat, 06 Jul 2002 17:03:58
Message-Id: 1025992871.16128.6.camel@nosferatu.lan
In Reply to: [gentoo-dev] DDD + libiberty binutils by Marko Mikulicic
1 On Sat, 2002-07-06 at 20:17, Marko Mikulicic wrote:
2 > Hello,
3 >
4 > DDD 3.3.1 fails to merge because it needs to install its own version of
5 > libiberty which defines the function "xstrerror".
6 > binutils-2.11.92.0.12.3-r2 doesn't define this function and ddd's
7 > configure script enables the build of its own.
8 > There are two problems:
9 >
10 > 1) bug 4614: sandbox problem. DDD installs direclty in /usr/lib/libiberty.a
11 >
12 > 2) since /usr/lib/libiberty.a is owned by binutils, I don't think it's
13 > a good idea to overwrite it. Also since it's a static lib, I don't
14 > see any reason to install it
15 >
16
17 Nop.
18
19 > question: does the build system of DDD need to be tweaked ?
20 > Should the DDD team be informed of this ?
21 >
22
23 Maybe ad a "LDPATH=${S}/path_to_own_libiberty" in the call to make ?
24
25 > 3) perhaps the masked binutils-2.12.xx package has this function.
26 > in this case the ddd.ebuild should have the correct dependecy.
27 >
28 >
29
30 nosferatu root # epm -q binutils
31 binutils-2.12.90.0.7
32 nosferatu root #
33
34 nosferatu root # grep xstrerror /usr/lib/libiberty.a
35 Binary file /usr/lib/libiberty.a matches
36 nosferatu root #
37
38
39
40 --
41
42 Martin Schlemmer
43 Gentoo Linux Developer, Desktop Team Developer
44 Cape Town, South Africa