Subject: Re: Re: Re: Re: Re: -2.0.1 makes bad binaries ?
To: Quentin Garnier <cube@cubidou.net>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 01/26/2005 09:32:54
On Wed, Jan 26 2005 - 00:32, Quentin Garnier wrote:
> 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]
> > 
> > Now *that*'s one broken *static* binary :-)
> > 
> > What happens is that bash Makefile does more or less this:
> > 
> > cc -static -o bash my_objs.o /usr/lib/intl.so -lmylibs
> > 
> > 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).
> 

 mk/wrapper/arg-pp-main updated to 1.3
 "make update" on shells/bash still leads to :
bash: /usr/pkg/bin/bash: cannot execute binary file.

 should I send a PR for bash then ?

-- 
,-- This mail runs ---------.
`------------ NetBSD/i386 --'