Subject: 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/25/2005 22:43:06
On Tue, Jan 25 2005 - 22:14, Quentin Garnier wrote:
> On Tue, Jan 25, 2005 at 08:31:29PM +0100, Joel CARNAT wrote:
> > On Tue, Jan 25 2005 - 19:13, Michael-John Turner wrote:
> > > On Tue, Jan 25, 2005 at 05:16:30PM +0100, Joel CARNAT wrote:
> > > > I synced my cvs (netbsd-2-0) and switched from 2.0 to 2.0.1.
> > > > I started to recompile all my packages but they seem to be malformed...
> > > > For eg, bash now says :
> > > > bash: /usr/pkg/bin/bash: cannot execute binary file
> > >
> > > Just a thought, but did you include COMPAT_20 in your kernel
> >
> > no - because 2.0_STABLE or 2.0.1 shouls be 2.0 native, no ?
> > I've tried to add COMPAT_20 on my home (2.0_STABLE) laptop (I'll do the
>
> There's no COMPAT_20 in -netbsd-2-0.
>
sounds good to me :)
> > same of my working station tomorrow) and there are still errors :
> > $ which bash
> > /usr/pkg/bin/bash
> > $ file /usr/pkg/bin/bash
> > /usr/pkg/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 2.0, dynamically linked (uses shared libs), stripped
> > $ ldd /usr/pkg/bin/bash
> > /usr/pkg/bin/bash:
> > -lintl.0 => /usr/lib/libintl.so.0
> > $ /usr/pkg/bin/bash
> > /usr/pkg/bin/bash: 1: Syntax error: "(" unexpected
>
> I think your dynamic linker is busted (/libexec/ld.elf_so). Does it
> even exist?
>
hum, it exists :
$ file /libexec/ld.elf_so
/libexec/ld.elf_so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
$ ls -alh /libexec/ld.elf_so
-r-xr-xr-x 1 root wheel 55K Jan 23 17:41 /libexec/ld.elf_so
$
how to check if it's all right, then ?
I started a whole build.sh process again to be sure the whole userland uses correct kernel, ...
my usual process is :
# cd /usr/src
# make clean
# rm -rf /usr/obj/*
# ./build.sh -U -x tools
# ./build.sh -U -u -x kernel=MYCONF
install kernel && reboot
# cd /usr/src
# ./build.sh -U -u -x build
# sudo ./build.sh -U -u -x install=/
anything bad in this process maybe ?
what's really weird is that it afects bash&pkgfind but not xmms, imapfilter, mutt, firefox-gtk2 and
a lot of other things I rebuild after the 2.0 -> 2.0_BETA|2.0.1 update...
--
,- This mail runs ------.
`--------- NetBSD/i386 -'