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

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Wed, 29 Nov 2006 13:14:41 -0500 (EST)
On Thu, 30 Nov 2006, Norikatsu Shigemura wrote:

> 	I'm testing SYMVER_ENABLED=yes environment by using net/cvsync.
> 	Yes, it is quite simple.  You can only install and use it.  It
> 	doesn't require any setting like following.
>
> 	$ cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs'
>
>
> 	I tested -lthr case and -lpthread case.  Please see attached log.
>
> 	$ ktrace -i -t cnisuw =cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs'
> 	Parsing a URI cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/ncvs...
> 	Connecting to cvsync.allbsd.org port 7777
> 	host 133.31.130.35 port 7777: Operation timed out
> 	service is not available at cvsync.allbsd.org port 7777

I don't understand why kqueue and kevent are not found in cvsync,
but still end up being referenced:

   $ pwd
   /usr/ports/net/cvsync/work/cvsync-0.24.19/cvsync
   $ nm cvsync | grep kqueue
   $ nm cvsync | grep kevent
   $ readelf -s /usr/local/bin/cvsync | grep kqueue
   $ readelf -s /usr/local/bin/cvsync | grep kevent

If you look for read() in the same manner, you get what you expect:

   $ readelf -s /usr/local/bin/cvsync | grep read\_at_
      125: 00000000    84 FUNC    GLOBAL DEFAULT  UND read_at_FBSD_1.0 (3)
      543: 00000000    84 FUNC    GLOBAL DEFAULT  UND read_at__at_FBSD_1.0

-- 
DE
Received on Wed Nov 29 2006 - 17:14:47 UTC

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