Subject: Re: netbsd-current vs. new graphics/MesaLib
To: matthew green <firstname.lastname@example.org>
From: Johnny C. Lam <jlam@NetBSD.org>
Date: 01/22/2004 10:17:34
On Thu, Jan 22, 2004 at 03:52:13PM +1100, matthew green wrote:
> the new graphics/MesaLib breaks on anyone running netbsd-current
> with binutils 2.14. this is my fault i guess as our binutils 2.14
> doesn't support "-Bforcearchive". i've added this flag back to
> -current ld 2.14, but this won't help users of -current since 2.14
> integration & pkgsrc-current.
> a patch to make it (MesaLib's "mklib" script) use "--whole-archive"
> on 1.6 & above should work fine, but i'm not able to easily test
> this... someone probably should. and ideally, if --whole-archive
> works on 1.5 as well i'd say such a patch should be pushed upstream..
What's the right flag to use instead of -Bforcearchive? Should we
always convert to "--whole-archive"? Perhaps we can make the
buildlink3 wrapper scripts take care of this situation for us?
-- Johnny Lam <jlam@NetBSD.org>