cvsync doesn't work simply on 7-current with SYMVER_ENABLED=yes

Norikatsu Shigemura nork at FreeBSD.org
Mon Dec 4 08:26:36 PST 2006


On Sun, 3 Dec 2006 12:03:01 -0500 (EST)
Daniel Eischen <deischen at freebsd.org> wrote:
> > 	Yes, I'm using cached.  I did change all kevent and kqueue
> > 	to _kevent and _kqueue in net/nscachedcli.c, and test cvsync.
> > 	Please see following patch.  But I don't feel improvement:-(.
> It must be something specific to your environment because it works
> here and that is without _any_ patches to libc.  I am not using
> cached.

	I have no idea about different from your environment.
	And I disabled cached by /etc/nsswitch.conf, but it wasn't
	improved.

>    $ cat /etc/make.conf
>    BATCH=yes
>    SYMVER_ENABLED=yes
>    $ uname -v
>    FreeBSD 7.0-CURRENT #4: Sat Nov 18 11:30:59 EST 2006 ...
>    $ readelf -sW /usr/local/bin/cvsync | grep FBSD_1.0
>         1: 00000000    39 FUNC    GLOBAL DEFAULT  UND fprintf at FBSD_1.0 (2)
>         3: 00000000    64 FUNC    GLOBAL DEFAULT  UND time at FBSD_1.0 (2)
>         4: 00000000    84 FUNC    GLOBAL DEFAULT  UND write at FBSD_1.0 (3)
>       ...
>       557: 00000000    90 FUNC    GLOBAL DEFAULT  UND fnmatch@@FBSD_1.0
>       561: 00000000     0 FUNC    GLOBAL DEFAULT  UND readlink@@FBSD_1.0
>       571: 00000000     0 FUNC    GLOBAL DEFAULT  UND fstat@@FBSD_1.0

	Yes, me too.

$ readelf -sW /usr/local/bin/cvsync | grep FBSD_1.0
     2: 00000000    49 FUNC    GLOBAL DEFAULT  UND fprintf at FBSD_1.0 (3)
     4: 00000000    71 FUNC    GLOBAL DEFAULT  UND time at FBSD_1.0 (3)
     6: 00000000  2266 FUNC    GLOBAL DEFAULT  UND qsort at FBSD_1.0 (3)
     8: 00000000     0 FUNC    GLOBAL DEFAULT  UND lstat at FBSD_1.0 (3)
     9: 00000000     0 FUNC    GLOBAL DEFAULT  UND sched_yield at FBSD_1.0 (3)
    13: 00000000   136 FUNC    GLOBAL DEFAULT  UND openlog at FBSD_1.0 (3)
    15: 00000000     0 FUNC    GLOBAL DEFAULT  UND link at FBSD_1.0 (3)
    16: 00000000   119 FUNC    GLOBAL DEFAULT  UND feof at FBSD_1.0 (3)
    17: 00000000   183 FUNC    GLOBAL DEFAULT  UND ungetc at FBSD_1.0 (3)
    19: 00000000   131 FUNC    GLOBAL DEFAULT  UND ___runetype at FBSD_1.0 (3)
    22: 00000000     0 FUNC    GLOBAL DEFAULT  UND rename at FBSD_1.0 (3)
    23: 00000000     0 FUNC    GLOBAL DEFAULT  UND shutdown at FBSD_1.0 (3)
	:
   548: 00000000  5135 FUNC    GLOBAL DEFAULT  UND getaddrinfo@@FBSD_1.0
   556: 00000000   123 FUNC    GLOBAL DEFAULT  UND fnmatch@@FBSD_1.0
   561: 00000000     0 FUNC    GLOBAL DEFAULT  UND readlink@@FBSD_1.0
   572: 00000000     0 FUNC    GLOBAL DEFAULT  UND fstat@@FBSD_1.0


More information about the freebsd-current mailing list