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

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Sun, 3 Dec 2006 12:03:01 -0500 (EST)
On Mon, 4 Dec 2006, Norikatsu Shigemura wrote:

> On Sat, 2 Dec 2006 14:47:24 -0500 (EST)
> Daniel Eischen <deischen_at_freebsd.org> wrote:
>>> 	ume_at_ said that I don't know it is right.  Old resolver codes
>>> 	and RPC didn't use _kqueue.  In fact, there are some kqueue
>>> 	in some libc codes.
>> Yes, I saw them (see my previous email from a few days ago)...
>> Are you using cached?  You have to change all kevent()'s in
>> net/nscachedcli.c to _kevent().
>
> 	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.

   $ 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_at__at_FBSD_1.0
      561: 00000000     0 FUNC    GLOBAL DEFAULT  UND readlink_at__at_FBSD_1.0
      571: 00000000     0 FUNC    GLOBAL DEFAULT  UND fstat_at__at_FBSD_1.0

   $ cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/deischen/ncvs'
   Connecting to cvsync.allbsd.org port 7777
   Connected to 133.31.130.35 port 7777
   Protocol: 0.24
   Hash: MD5
   Exchanging collection list...
    collection name "freebsd-src" release "rcs" umask 022
   Compression: none
   Trying to establish the multiplexed channel...
   Running...
   Updating (collection freebsd-src/rcs)
    Mkdir src
    Create src/COPYRIGHT,v
    Create src/CVS-INFO,v -> Attic
    Create src/HW.TROUBLE,v -> Attic
    Create src/LOCKS,v
    Create src/MAINTAINERS,v
    Create src/Makefile,v
    Create src/Makefile.alpha,v -> Attic
    Create src/Makefile.inc0,v -> Attic
    Create src/Makefile.inc1,v
    Create src/Makefile.upgrade,v -> Attic
    Create src/ObsoleteFiles.inc,v
    Create src/README,v
    Create src/TODO,v -> Attic
   ...

I didn't let it finish, but figured it was OK if it got that far.

-- 
DE
Received on Sun Dec 03 2006 - 16:03:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC