public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] DDD + libiberty binutils
@ 2002-07-06 18:17 Marko Mikulicic
  2002-07-06 22:01 ` Martin Schlemmer
  0 siblings, 1 reply; 2+ messages in thread
From: Marko Mikulicic @ 2002-07-06 18:17 UTC (permalink / raw
  To: gentoo-dev

Hello,

DDD 3.3.1 fails to merge because it needs to install its own version of 
libiberty which defines the function "xstrerror".
  binutils-2.11.92.0.12.3-r2 doesn't define this function and ddd's 
configure script enables the build of its own.
  There are two problems:

1) bug 4614: sandbox problem. DDD installs direclty in /usr/lib/libiberty.a

2) since /usr/lib/libiberty.a is owned by binutils, I don't think it's	
  a good idea to overwrite it. Also since it's a static lib, I don't
see any reason to install it

  question: does the build system of DDD need to be tweaked ?
  Should the DDD team be informed of this ?

3) perhaps the masked binutils-2.12.xx package has this function.
  in this case the ddd.ebuild should have the correct dependecy.


Marko




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

* Re: [gentoo-dev] DDD + libiberty binutils
  2002-07-06 18:17 [gentoo-dev] DDD + libiberty binutils Marko Mikulicic
@ 2002-07-06 22:01 ` Martin Schlemmer
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Schlemmer @ 2002-07-06 22:01 UTC (permalink / raw
  To: Gentoo-Dev

On Sat, 2002-07-06 at 20:17, Marko Mikulicic wrote:
> Hello,
> 
> DDD 3.3.1 fails to merge because it needs to install its own version of 
> libiberty which defines the function "xstrerror".
>   binutils-2.11.92.0.12.3-r2 doesn't define this function and ddd's 
> configure script enables the build of its own.
>   There are two problems:
> 
> 1) bug 4614: sandbox problem. DDD installs direclty in /usr/lib/libiberty.a
> 
> 2) since /usr/lib/libiberty.a is owned by binutils, I don't think it's	
>   a good idea to overwrite it. Also since it's a static lib, I don't
> see any reason to install it
> 

Nop.

>   question: does the build system of DDD need to be tweaked ?
>   Should the DDD team be informed of this ?
> 

Maybe ad a "LDPATH=${S}/path_to_own_libiberty" in the call to make ?

> 3) perhaps the masked binutils-2.12.xx package has this function.
>   in this case the ddd.ebuild should have the correct dependecy.
> 
> 

nosferatu root # epm -q binutils
binutils-2.12.90.0.7
nosferatu root # 

nosferatu root # grep xstrerror /usr/lib/libiberty.a 
Binary file /usr/lib/libiberty.a matches
nosferatu root # 



-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa




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

end of thread, other threads:[~2002-07-06 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-06 18:17 [gentoo-dev] DDD + libiberty binutils Marko Mikulicic
2002-07-06 22:01 ` Martin Schlemmer

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