Subject: security/cfs fails, probably due to gcc 4
To: None <pkgsrc-users@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: pkgsrc-users
Date: 08/14/2006 08:57:12
--=-=-=
Content-Transfer-Encoding: quoted-printable


I just rebuilt it on current/i386 with

Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-=
long-long --disable-multilib --enable-threads --disable-symvers --build=3Di=
386-unknown-netbsdelf3.99.17 --host=3Di386--netbsdelf --target=3Di386--netb=
sdelf
Thread model: posix
gcc version 4.1.2 20060628 prerelease (NetBSD nb2 20060711)

And I can cfs_attach and ls -l /crypt/foo, but every file has the same
mode/date/size.  Listing any file gets the same dir view.  I
conjecture that this is a misoptimization bug of some kind (perhaps
the source is incorrect).

Binaries compiled under netbsd-3 (and thus with

Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/co=
nfigure --enable-long-long --disable-multilib --enable-threads --disable-sy=
mvers --build=3Di386-unknown-netbsdelf2.0. --host=3Di386--netbsdelf --targe=
t=3Di386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
)

work fine on the same system.


I saw something similar on sparc long ago.  Has anyone else seen this?

=2D-=20
    Greg Troxel <gdt@ir.bbn.com>

--=-=-=
Content-Type: application/pgp-signature

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

iD8DBQFE4HMp+vesoDJhHiURAj3vAJ9vrRyC4Zf+JqI2oiGO0SnLa4SdKQCgh1dT
YTX9k4MRZAZftLrye0U/p90=
=ciRW
-----END PGP SIGNATURE-----
--=-=-=--