Subject: Re: Re: Re: Re: -2.0.1 makes bad binaries ?
To: Joel CARNAT <joel@carnat.net>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 01/26/2005 00:32:09
--XaepPZQT0uxAV0NY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 25, 2005 at 11:53:44PM +0100, Quentin Garnier wrote:
> On Tue, Jan 25, 2005 at 11:10:48PM +0100, Joel CARNAT wrote:
> [...]
> > Program Headers:
> [...]
> >   INTERP         0x0000f4 0x080480f4 0x080480f4 0x00013 0x00013 R   0x1
> >       [Requesting program interpreter: /usr/lib/libc.so.1]
>=20
> Now *that*'s one broken *static* binary :-)
>=20
> What happens is that bash Makefile does more or less this:
>=20
> cc -static -o bash my_objs.o /usr/lib/intl.so -lmylibs
>=20
> which is nonsense, but the main bug is that pkgsrc should automatically
> correct this from the wrappers.

Please update pkgsrc/mk/wrapper/arg-pp-main.  It should solve the
issue (it does solve it on my system, and the change in the .work.log
file is clear).

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"Commala-come-five! / Even when the shadows rise!
To see the world and walk the world / Makes ya glad to be alive."
Susannah's Song, The Dark Tower VI, Stephen King, 2004.

--XaepPZQT0uxAV0NY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQfbW+dgoQloHrPnoAQIGZAgAvE/HO3cyRxQx+KbciH7NK4eFYctuH5oM
B8zxg6zi4eSZK/Kb4m4H2fOAqSH+sVzOYr2k8byD2aY/Z6UbRWQM3WYC0NR7zaea
h1uyrWph/MJriHB3eRNartT4DCEhJJ453e3hvqdlA+zue9hoSMCiZ3/lWAIUKcYQ
GNu2uEDFs8aKkY51IDRF+ycrkRBRImcZ50m9exq62QZlfDXCN71wTnDq1AuUQUnB
n/2Le8IJdMgxfe7Bx1qE2xj4jDpq+onZBJpUHd41MexayMqYP2fAdWJpuUJINn67
Qr7fJZMBvGLreTZYi5M/AhgL7dyAtTfwbQCD62TzUkSZ5tQvAlH8lg==
=V0Lc
-----END PGP SIGNATURE-----

--XaepPZQT0uxAV0NY--