Subject: -2.0.1 makes bad binaries ?
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 01/25/2005 17:16:30
Hi,

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
ktrace/kdump says :
...
  7534 sh       RET   read 1016/0x3f8
  7534 sh       CALL  break(0x8068000)
  7534 sh       RET   break 0
  7534 sh       CALL  write(2,0x8067000,0x16)
  7534 sh       GIO   fd 2 wrote 22 bytes
       "/usr/pkg/bin/bash: 1: "
  7534 sh       RET   write 22/0x16
  7534 sh       CALL  write(2,0x8067000,0x1d)
  7534 sh       GIO   fd 2 wrote 29 bytes
       "Syntax error: \"(\" unexpected
       "
  7534 sh       RET   write 29/0x1d
  7534 sh       CALL  exit(2)

Same issue with pkgfind.
gcc is :
Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf --host=i386--netbsdelf
--target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

pkgsrc was cvs just after /usr/src and /usr/xsrc for the -current branch

any ideas ?

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