Subject: Re: modload vs. ld/libbfd
To: <>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-install
Date: 03/30/2005 17:27:57
--3Gf/FFewwPeBMqCJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Mar 24, 2005 at 10:52:32PM +0100, Ignatios Souvatzis wrote:
>=20
> I think we should either move /usr/bin/ld and /usr/lib/libbfd.so.6 (as of=
2.0)
>=20
My proposed patch is really below.
-is
--- base/gcc.shl.orig 2004-08-13 01:02:24.000000000 +0000
+++ base/gcc.shl 2005-03-30 14:55:29.000000000 +0000
@@ -1,4 +1,6 @@
# $NetBSD: gcc.shl,v 1.4 2004/08/13 01:02:24 lukem Exp $
+./usr/lib/libbfd.so.7 comp-c-shlib =
bfd
+./usr/lib/libbfd.so.7.0 comp-c-shlib =
bfd
./usr/lib/libg2c.so base-sys-shlib
./usr/lib/libg2c.so.2 base-sys-shlib
./usr/lib/libg2c.so.2.0 base-sys-shlib
--- comp/gcc.shl.orig 2004-12-08 19:37:34.000000000 +0000
+++ comp/gcc.shl 2005-03-30 14:56:51.000000000 +0000
@@ -1,7 +1,5 @@
# $NetBSD: gcc.shl,v 1.11 2004/12/08 19:37:34 jmc Exp $
./usr/lib/crtbeginT.o comp-c-lib
-./usr/lib/libbfd.so.7 comp-c-shlib bfd
-./usr/lib/libbfd.so.7.0 comp-c-shlib bfd
./usr/lib/libg2c_pic.a comp-fortran-lib
./usr/lib/libgcc_eh.a comp-c-lib
./usr/lib/libgcc_eh_p.a comp-c-proflib profile
--- base/mi.orig 2005-03-29 10:16:52.000000000 +0000
+++ base/mi 2005-03-30 14:59:29.000000000 +0000
@@ -477,6 +477,8 @@
./usr/bin/lam base-util-bin
./usr/bin/last base-util-bin
./usr/bin/lastcomm base-util-bin
+# needed by modload for now
+./usr/bin/ld base-util-bin bfd
# This is also used by pkgsrc, and should stay in base-util-bin
./usr/bin/ldd base-util-bin
./usr/bin/leave base-util-bin
--- comp/mi.orig 2005-03-29 10:16:53.000000000 +0000
+++ comp/mi 2005-03-30 15:00:18.000000000 +0000
@@ -28,7 +28,6 @@
./usr/bin/gettext comp-c-bin
./usr/bin/gettextize comp-obsolete obsolete
./usr/bin/gprof comp-debug-bin bfd
-./usr/bin/ld comp-util-bin bfd
./usr/bin/lex comp-c-bin
./usr/bin/lint comp-c-bin
./usr/bin/lorder comp-util-bin
--3Gf/FFewwPeBMqCJ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFCSsV8N4tiz3B8hB0RApfMAKDkco7fzeAbgfq2K+KBPvkgMSSWHACeLZYD
mWFYpFhop2IKGS8Y0Bkuzqs=
=4unU
-----END PGP SIGNATURE-----
--3Gf/FFewwPeBMqCJ--