Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The devil finds work for idle circuits to do.


computers / comp.os.linux.misc / Re: rsync compile problem

SubjectAuthor
* rsync compile problemKirk_Rockstein
`* Re: rsync compile problemThe Natural Philosopher
 `* Re: rsync compile problemRichard Kettlewell
  +* Re: rsync compile problemTauno Voipio
  |`- Re: rsync compile problemRichard Kettlewell
  `* Re: rsync compile problemKirk_Rockstein
   `* Re: rsync compile problemRichard Kettlewell
    `* Re: rsync compile problemKirk_Rockstein
     `* Re: rsync compile problemRichard Kettlewell
      `- Re: rsync compile problemKirk_Rockstein

1
rsync compile problem

<jcoq0gFfqmuU2@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7254&group=comp.os.linux.misc#7254

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: rsync compile problem
Date: 25 Apr 2022 23:43:12 GMT
Lines: 466
Message-ID: <jcoq0gFfqmuU2@mid.individual.net>
X-Trace: individual.net EyHzdSHWQZjcD1JBnEE2WgUiLNaFWBpv8+voL6BWhi102ULnqk
Cancel-Lock: sha1:GZGhHMw0Ky7CMB8qPLyEO3/1HEU=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Mon, 25 Apr 2022 23:43 UTC

Can someone clue me in on what the problem is.
note below.

kirk@shuttle:~/jailed/rsync/rsync-3.2.4$ ./configure --with-included-zlib=no --disable-md5-asm --with-rrsync
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking compat.h usability... no
checking compat.h presence... no
checking for compat.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/mode.h usability... no
checking sys/mode.h presence... no
checking for sys/mode.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/attr.h usability... no
checking sys/attr.h presence... no
checking for sys/attr.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for sys/types.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking popt/popt.h usability... no
checking popt/popt.h presence... no
checking for popt/popt.h... no
checking linux/falloc.h usability... yes
checking linux/falloc.h presence... yes
checking for linux/falloc.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking xxhash.h usability... yes
checking xxhash.h presence... yes
checking for xxhash.h... yes
checking openssl/md4.h usability... yes
checking openssl/md4.h presence... yes
checking for openssl/md4.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking zstd.h usability... yes
checking zstd.h presence... yes
checking for zstd.h... yes
checking lz4.h usability... yes
checking lz4.h presence... yes
checking for lz4.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for netinet/ip.h... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
configure.sh: Configuring rsync 3.2.4
checking build system type... x86_64-pc-linux-gnux32
checking host system type... x86_64-pc-linux-gnux32
checking whether to include debugging symbols... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gawk... gawk
checking for egrep... (cached) /bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for perl... /usr/bin/perl
checking for python3... /usr/bin/python3
checking if md2man can create manpages... yes
checking if we require man-page building... optional
checking for remsh... 0
checking for sh... /bin/sh
checking for fakeroot... /usr/bin/fakeroot
checking the group for user "nobody"... nobody
checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)
checking if assembler accepts noexecstack... yes
checking for broken largefile support... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to enable ipv6... no
checking whether to call shutdown on all sockets... no
checking whether to enable use of openssl crypto library... yes
checking for library containing MD5_Init... -lcrypto
checking whether to enable MD5 ASM optimizations... no
checking whether to enable rolling-checksum ASM optimizations... no
checking whether to enable xxhash checksum support... yes
checking for library containing XXH64_createState... -lxxhash
checking whether to enable zstd compression... yes
checking for library containing ZSTD_minCLevel... -lzstd
checking whether to enable LZ4 compression... yes
checking for library containing LZ4_compress_default... -llz4
checking if makedev takes 3 args... no
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of short... 2
checking size of int16_t... 2
checking size of uint16_t... 2
checking size of int32_t... 4
checking size of uint32_t... 4
checking size of int64_t... 8
checking size of off_t... 8
checking size of off64_t... 8
checking size of time_t... 4
checking size of char*... 4
checking for inline... inline
checking for long double with more range or precision than double... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for id_t... yes
checking type of array argument to getgroups... gid_t
checking for struct stat.st_rdev... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for socklen_t... yes
checking for errno in errno.h... yes
checking for connect... yes
checking for library containing inet_ntop... none required
checking for library containing iconv_open... none required
checking for library containing libiconv_open... no
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for inet_ntop... yes
checking for inet_pton... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct stat64... yes
checking for strcasecmp... yes
checking for aclsort... no
checking for aclsort in -lsec... no
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for size_t... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for waitpid... yes
checking for wait4... yes
checking for getcwd... yes
checking for chown... yes
checking for chmod... yes
checking for lchmod... no
checking for mknod... yes
checking for mkfifo... yes
checking for fchmod... yes
checking for fstat... yes
checking for ftruncate... yes
checking for strchr... yes
checking for readlink... yes
checking for link... yes
checking for utime... yes
checking for utimes... yes
checking for lutimes... yes
checking for strftime... yes
checking for chflags... no
checking for getattrlist... no
checking for mktime... yes
checking for innetgr... yes
checking for linkat... yes
checking for memmove... yes
checking for lchown... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for setsid... yes
checking for strpbrk... yes
checking for strlcat... no
checking for strlcpy... no
checking for strtol... yes
checking for mallinfo... yes
checking for mallinfo2... no
checking for getgroups... yes
checking for setgroups... yes
checking for geteuid... yes
checking for getegid... yes
checking for setlocale... yes
checking for setmode... no
checking for open64... yes
checking for lseek64... yes
checking for mkstemp64... yes
checking for mtrace... yes
checking for va_copy... no
checking for __va_copy... no
checking for seteuid... yes
checking for strerror... yes
checking for putenv... yes
checking for iconv_open... yes
checking for locale_charset... no
checking for nl_langinfo... yes
checking for getxattr... yes
checking for extattr_get_link... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for setattrlist... no
checking for getgrouplist... yes
checking for initgroups... yes
checking for utimensat... yes
checking for posix_fallocate... yes
checking for attropen... no
checking for setvbuf... yes
checking for nanosleep... yes
checking for usleep... yes
checking for setenv... yes
checking for unsetenv... yes
checking for useable fallocate... yes
checking for FALLOC_FL_PUNCH_HOLE... yes
checking for FALLOC_FL_ZERO_RANGE... yes
checking for SYS_fallocate... yes
checking whether posix_fallocate is efficient... no
checking for getpgrp... yes
checking for tcgetpgrp... yes
checking whether getpgrp requires zero arguments... yes
checking whether chown() modifies symlinks... no
checking whether link() can hard-link symlinks... yes
checking whether link() can hard-link special files... yes
checking for working socketpair... yes
checking for getpass... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included libpopt... no
checking for deflateParams in -lz... yes
checking whether to use included zlib... no
checking for unsigned char... no
checking for broken readdir... no
checking for utimbuf... yes
checking if gettimeofday takes tz argument... yes
checking for C99 vsnprintf... yes
checking for secure mkstemp... yes
checking if mknod creates FIFOs... yes
checking if mknod creates sockets... yes
checking whether -c -o works... yes
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking whether to support ACLs... running tests:
checking for acl_get_file in -lacl... yes
checking for ACL support... yes
checking ACL test results... Using posix ACLs
checking for acl_get_perm_np... no
checking whether to support extended attributes... Using Linux xattrs
checking for getxattr in -lattr... yes
configure.sh: creating ./config.status
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
config.status: config.h is unchanged


Click here to read the complete article
Re: rsync compile problem

<t48e3q$mrh$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7255&group=comp.os.linux.misc#7255

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 10:30:33 +0100
Organization: A little, after lunch
Lines: 495
Message-ID: <t48e3q$mrh$1@dont-email.me>
References: <jcoq0gFfqmuU2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Apr 2022 09:30:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4127f043bebbe25372fa267419e598c6";
logging-data="23409"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JEd5sO5vEkpBPSr1TDb2/L4s0n2n/1oY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:IP+9fthNVHO8551bnZU/egTGEac=
In-Reply-To: <jcoq0gFfqmuU2@mid.individual.net>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 26 Apr 2022 09:30 UTC

On 26/04/2022 00:43, Kirk_Rockstein wrote:
> Can someone clue me in on what the problem is.
> note below.
>
>
> kirk@shuttle:~/jailed/rsync/rsync-3.2.4$ ./configure --with-included-zlib=no --disable-md5-asm --with-rrsync
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... no
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking sys/fcntl.h usability... yes
> checking sys/fcntl.h presence... yes
> checking for sys/fcntl.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/unistd.h usability... yes
> checking sys/unistd.h presence... yes
> checking for sys/unistd.h... yes
> checking for unistd.h... (cached) yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking compat.h usability... no
> checking compat.h presence... no
> checking for compat.h... no
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking for sys/wait.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> checking for string.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/mode.h usability... no
> checking sys/mode.h presence... no
> checking for sys/mode.h... no
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking sys/attr.h usability... no
> checking sys/attr.h presence... no
> checking for sys/attr.h... no
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking arpa/nameser.h usability... yes
> checking arpa/nameser.h presence... yes
> checking for arpa/nameser.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking for sys/types.h... (cached) yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking libcharset.h usability... no
> checking libcharset.h presence... no
> checking for libcharset.h... no
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking mcheck.h usability... yes
> checking mcheck.h presence... yes
> checking for mcheck.h... yes
> checking sys/acl.h usability... yes
> checking sys/acl.h presence... yes
> checking for sys/acl.h... yes
> checking acl/libacl.h usability... yes
> checking acl/libacl.h presence... yes
> checking for acl/libacl.h... yes
> checking attr/xattr.h usability... yes
> checking attr/xattr.h presence... yes
> checking for attr/xattr.h... yes
> checking sys/xattr.h usability... yes
> checking sys/xattr.h presence... yes
> checking for sys/xattr.h... yes
> checking sys/extattr.h usability... no
> checking sys/extattr.h presence... no
> checking for sys/extattr.h... no
> checking dl.h usability... no
> checking dl.h presence... no
> checking for dl.h... no
> checking popt.h usability... yes
> checking popt.h presence... yes
> checking for popt.h... yes
> checking popt/popt.h usability... no
> checking popt/popt.h presence... no
> checking for popt/popt.h... no
> checking linux/falloc.h usability... yes
> checking linux/falloc.h presence... yes
> checking for linux/falloc.h... yes
> checking netinet/in_systm.h usability... yes
> checking netinet/in_systm.h presence... yes
> checking for netinet/in_systm.h... yes
> checking netgroup.h usability... no
> checking netgroup.h presence... no
> checking for netgroup.h... no
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking xxhash.h usability... yes
> checking xxhash.h presence... yes
> checking for xxhash.h... yes
> checking openssl/md4.h usability... yes
> checking openssl/md4.h presence... yes
> checking for openssl/md4.h... yes
> checking openssl/md5.h usability... yes
> checking openssl/md5.h presence... yes
> checking for openssl/md5.h... yes
> checking zstd.h usability... yes
> checking zstd.h presence... yes
> checking for zstd.h... yes
> checking lz4.h usability... yes
> checking lz4.h presence... yes
> checking for lz4.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking for netinet/ip.h... yes
> checking whether sys/types.h defines makedev... no
> checking sys/mkdev.h usability... no
> checking sys/mkdev.h presence... no
> checking for sys/mkdev.h... no
> checking sys/sysmacros.h usability... yes
> checking sys/sysmacros.h presence... yes
> checking for sys/sysmacros.h... yes
> configure.sh: Configuring rsync 3.2.4
> checking build system type... x86_64-pc-linux-gnux32
> checking host system type... x86_64-pc-linux-gnux32
> checking whether to include debugging symbols... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for gawk... gawk
> checking for egrep... (cached) /bin/grep -E
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gcc option to accept ISO C99... none needed
> checking for gcc option to accept ISO Standard C... (cached) none needed
> checking for perl... /usr/bin/perl
> checking for python3... /usr/bin/python3
> checking if md2man can create manpages... yes
> checking if we require man-page building... optional
> checking for remsh... 0
> checking for sh... /bin/sh
> checking for fakeroot... /usr/bin/fakeroot
> checking the group for user "nobody"... nobody
> checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)
> checking if assembler accepts noexecstack... yes
> checking for broken largefile support... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking whether to enable ipv6... no
> checking whether to call shutdown on all sockets... no
> checking whether to enable use of openssl crypto library... yes
> checking for library containing MD5_Init... -lcrypto
> checking whether to enable MD5 ASM optimizations... no
> checking whether to enable rolling-checksum ASM optimizations... no
> checking whether to enable xxhash checksum support... yes
> checking for library containing XXH64_createState... -lxxhash
> checking whether to enable zstd compression... yes
> checking for library containing ZSTD_minCLevel... -lzstd
> checking whether to enable LZ4 compression... yes
> checking for library containing LZ4_compress_default... -llz4
> checking if makedev takes 3 args... no
> checking size of int... 4
> checking size of long... 4
> checking size of long long... 8
> checking size of short... 2
> checking size of int16_t... 2
> checking size of uint16_t... 2
> checking size of int32_t... 4
> checking size of uint32_t... 4
> checking size of int64_t... 8
> checking size of off_t... 8
> checking size of off64_t... 8
> checking size of time_t... 4
> checking size of char*... 4
> checking for inline... inline
> checking for long double with more range or precision than double... yes
> checking for uid_t in sys/types.h... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking for pid_t... yes
> checking for id_t... yes
> checking type of array argument to getgroups... gid_t
> checking for struct stat.st_rdev... yes
> checking for struct stat.st_mtimensec... no
> checking for struct stat.st_mtimespec.tv_nsec... no
> checking for struct stat.st_mtim.tv_nsec... yes
> checking for socklen_t... yes
> checking for errno in errno.h... yes
> checking for connect... yes
> checking for library containing inet_ntop... none required
> checking for library containing iconv_open... none required
> checking for library containing libiconv_open... no
> checking for iconv declaration...
> extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for inet_ntop... yes
> checking for inet_pton... yes
> checking for struct addrinfo... yes
> checking for struct sockaddr_storage... yes
> checking whether defines needed by getaddrinfo exist... yes
> checking for getaddrinfo... yes
> checking for struct sockaddr.sa_len... no
> checking for struct sockaddr_in.sin_len... no
> checking for struct sockaddr_un.sun_len... no
> checking for struct sockaddr_in6.sin6_scope_id... yes
> checking for struct stat64... yes
> checking for strcasecmp... yes
> checking for aclsort... no
> checking for aclsort in -lsec... no
> checking for utime.h... (cached) yes
> checking whether utime accepts a null argument... yes
> checking for size_t... (cached) yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for waitpid... yes
> checking for wait4... yes
> checking for getcwd... yes
> checking for chown... yes
> checking for chmod... yes
> checking for lchmod... no
> checking for mknod... yes
> checking for mkfifo... yes
> checking for fchmod... yes
> checking for fstat... yes
> checking for ftruncate... yes
> checking for strchr... yes
> checking for readlink... yes
> checking for link... yes
> checking for utime... yes
> checking for utimes... yes
> checking for lutimes... yes
> checking for strftime... yes
> checking for chflags... no
> checking for getattrlist... no
> checking for mktime... yes
> checking for innetgr... yes
> checking for linkat... yes
> checking for memmove... yes
> checking for lchown... yes
> checking for vsnprintf... yes
> checking for snprintf... yes
> checking for vasprintf... yes
> checking for asprintf... yes
> checking for setsid... yes
> checking for strpbrk... yes
> checking for strlcat... no
> checking for strlcpy... no
> checking for strtol... yes
> checking for mallinfo... yes
> checking for mallinfo2... no
> checking for getgroups... yes
> checking for setgroups... yes
> checking for geteuid... yes
> checking for getegid... yes
> checking for setlocale... yes
> checking for setmode... no
> checking for open64... yes
> checking for lseek64... yes
> checking for mkstemp64... yes
> checking for mtrace... yes
> checking for va_copy... no
> checking for __va_copy... no
> checking for seteuid... yes
> checking for strerror... yes
> checking for putenv... yes
> checking for iconv_open... yes
> checking for locale_charset... no
> checking for nl_langinfo... yes
> checking for getxattr... yes
> checking for extattr_get_link... no
> checking for sigaction... yes
> checking for sigprocmask... yes
> checking for setattrlist... no
> checking for getgrouplist... yes
> checking for initgroups... yes
> checking for utimensat... yes
> checking for posix_fallocate... yes
> checking for attropen... no
> checking for setvbuf... yes
> checking for nanosleep... yes
> checking for usleep... yes
> checking for setenv... yes
> checking for unsetenv... yes
> checking for useable fallocate... yes
> checking for FALLOC_FL_PUNCH_HOLE... yes
> checking for FALLOC_FL_ZERO_RANGE... yes
> checking for SYS_fallocate... yes
> checking whether posix_fallocate is efficient... no
> checking for getpgrp... yes
> checking for tcgetpgrp... yes
> checking whether getpgrp requires zero arguments... yes
> checking whether chown() modifies symlinks... no
> checking whether link() can hard-link symlinks... yes
> checking whether link() can hard-link special files... yes
> checking for working socketpair... yes
> checking for getpass... yes
> checking for poptGetContext in -lpopt... yes
> checking whether to use included libpopt... no
> checking for deflateParams in -lz... yes
> checking whether to use included zlib... no
> checking for unsigned char... no
> checking for broken readdir... no
> checking for utimbuf... yes
> checking if gettimeofday takes tz argument... yes
> checking for C99 vsnprintf... yes
> checking for secure mkstemp... yes
> checking if mknod creates FIFOs... yes
> checking if mknod creates sockets... yes
> checking whether -c -o works... yes
> checking for _acl... no
> checking for __acl... no
> checking for _facl... no
> checking for __facl... no
> checking whether to support ACLs... running tests:
> checking for acl_get_file in -lacl... yes
> checking for ACL support... yes
> checking ACL test results... Using posix ACLs
> checking for acl_get_perm_np... no
> checking whether to support extended attributes... Using Linux xattrs
> checking for getxattr in -lattr... yes
> configure.sh: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/dummy
> config.status: creating zlib/dummy
> config.status: creating popt/dummy
> config.status: creating shconfig
> config.status: creating config.h
> config.status: config.h is unchanged
>
> rsync 3.2.4 configuration successful
>
> kirk@shuttle:~/jailed/rsync/rsync-3.2.4$ make
> gawk -f ./daemon-parm.awk ./daemon-parm.txt
> gawk -f ./mkproto.awk ./*.c ./lib/compat.c daemon-parm.h
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c flist.c -o flist.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c rsync.c -o rsync.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c generator.c -o generator.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c receiver.c -o receiver.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c cleanup.c -o cleanup.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c sender.c -o sender.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c exclude.c -o exclude.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c util1.c -o util1.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c util2.c -o util2.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c main.c -o main.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c checksum.c -o checksum.o


Click here to read the complete article
Re: rsync compile problem

<87levsnmig.fsf@LkoBDZeT.terraraq.uk>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7256&group=comp.os.linux.misc#7256

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 11:53:59 +0100
Organization: terraraq NNTP server
Message-ID: <87levsnmig.fsf@LkoBDZeT.terraraq.uk>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="31925"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:4vhJAF5dKIAfMgAgYxa4Nh1VR98=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Tue, 26 Apr 2022 10:53 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 26/04/2022 00:43, Kirk_Rockstein wrote:
>> Can someone clue me in on what the problem is.
>> note below.
>>
>> kirk@shuttle:~/jailed/rsync/rsync-3.2.4$ ./configure --with-included-zlib=no --disable-md5-asm --with-rrsync
[...]
>> checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)

It will be using the implementation from simd-checksum-x86_64.cpp.

[...]
>> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c checksum.c -o checksum.o
>
> ***** You have compiled checksum.c to checksum .o ***********************

Yes, but not relevant here.

[...]
>> g++ -I. -O2 -fno-exceptions -fno-rtti -c -o simd-checksum-x86_64.o
>> ./simd-checksum-x86_64.cpp

simd-checksum-x86_64.cpp compiled as expected.

[...]
>> gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -o rsync
>> flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o
>> util1.o util2.o main.o
>
>
> *** checksum.o***
> And tried to link it too.
>
> match.o syscall.o log.o backup.o delete.o options.o io.o compat.o
> hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o
> batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o
> simd-checksum-x86_64.o params.o loadparm.o clientserver.o access.o
^^^^^^^^^^^^^^^^^^^^^^

This is the relevant one in this case. But it’s there too...

> connection.o authenticate.o lib/wildmatch.o lib/compat.o
> lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o
> lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lattr -lacl -lz
> -lpopt -llz4 -lzstd -lxxhash -lcrypto
>> /usr/bin/ld: generator.o: in function `generate_and_send_sums':
>> /home/kirkus/jailed/rsync/rsync-3.2.4/generator.c:798: undefined
>> reference to `get_checksum1'
>> /usr/bin/ld: match.o: in function `hash_search':
>> /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:161: undefined
>> reference to `get_checksum1'
>> /usr/bin/ld: /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:302:
>> undefined reference to `get_checksum1'
>> /usr/bin/ld: /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:268:
>> undefined reference to `get_checksum1'
>> collect2: error: ld returned 1 exit status
>> make: *** [Makefile:104: rsync] Error 1

The only oddity is that the SIMD implementation is compiled as C++. All
other things being equal the implementation of get_checksum1 would
undergo C++ name mangling and not be available to the C callers, but
it’s surrounded by ‘extern "C" {}’ so should be exposing the unmangled
version of the name, and indeed that’s what I see when I build it
(i.e. I cannot repro the build failure).

Kirk, what does
nm simd-checksum-x86_64.o
display?

--
https://www.greenend.org.uk/rjk/

Re: rsync compile problem

<t48mbr$j07$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7257&group=comp.os.linux.misc#7257

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tauno.vo...@notused.fi.invalid (Tauno Voipio)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 14:51:21 +0300
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <t48mbr$j07$1@dont-email.me>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Apr 2022 11:51:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6b411d37b0c624fa73476579a3af3788";
logging-data="19463"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3YX6GrZMQODiRq1HACwKBXZvqXS6ZgwI="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.0
Cancel-Lock: sha1:t94gC+FIiVeTR/TbxSzZXbUby2w=
In-Reply-To: <87levsnmig.fsf@LkoBDZeT.terraraq.uk>
 by: Tauno Voipio - Tue, 26 Apr 2022 11:51 UTC

On 26.4.22 13.53, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> On 26/04/2022 00:43, Kirk_Rockstein wrote:
>>> Can someone clue me in on what the problem is.
>>> note below.
>>>
>>> kirk@shuttle:~/jailed/rsync/rsync-3.2.4$ ./configure --with-included-zlib=no --disable-md5-asm --with-rrsync
> [...]
>>> checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)
>
> It will be using the implementation from simd-checksum-x86_64.cpp.
>
> [...]
>>> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -c checksum.c -o checksum.o
>>
>> ***** You have compiled checksum.c to checksum .o ***********************
>
> Yes, but not relevant here.
>
> [...]
>>> g++ -I. -O2 -fno-exceptions -fno-rtti -c -o simd-checksum-x86_64.o
>>> ./simd-checksum-x86_64.cpp
>
> simd-checksum-x86_64.cpp compiled as expected.
>
> [...]
>>> gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -pedantic-errors -o rsync
>>> flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o
>>> util1.o util2.o main.o
>>
>>
>> *** checksum.o***
>> And tried to link it too.
>>
>> match.o syscall.o log.o backup.o delete.o options.o io.o compat.o
>> hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o
>> batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o
>> simd-checksum-x86_64.o params.o loadparm.o clientserver.o access.o
> ^^^^^^^^^^^^^^^^^^^^^^
>
> This is the relevant one in this case. But it’s there too...
>
>> connection.o authenticate.o lib/wildmatch.o lib/compat.o
>> lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o
>> lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o -lattr -lacl -lz
>> -lpopt -llz4 -lzstd -lxxhash -lcrypto
>>> /usr/bin/ld: generator.o: in function `generate_and_send_sums':
>>> /home/kirkus/jailed/rsync/rsync-3.2.4/generator.c:798: undefined
>>> reference to `get_checksum1'
>>> /usr/bin/ld: match.o: in function `hash_search':
>>> /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:161: undefined
>>> reference to `get_checksum1'
>>> /usr/bin/ld: /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:302:
>>> undefined reference to `get_checksum1'
>>> /usr/bin/ld: /home/kirkus/jailed/rsync/rsync-3.2.4/match.c:268:
>>> undefined reference to `get_checksum1'
>>> collect2: error: ld returned 1 exit status
>>> make: *** [Makefile:104: rsync] Error 1
>
> The only oddity is that the SIMD implementation is compiled as C++. All
> other things being equal the implementation of get_checksum1 would
> undergo C++ name mangling and not be available to the C callers, but
> it’s surrounded by ‘extern "C" {}’ so should be exposing the unmangled
> version of the name, and indeed that’s what I see when I build it
> (i.e. I cannot repro the build failure).
>
> Kirk, what does
> nm simd-checksum-x86_64.o
> display?
>

C++ in the middle of C code is always suspect. Please check that
the relevant function is declared as external "C", or the name
mangling will produce result like you had.

--

-TV

Re: rsync compile problem

<87a6c8ni4k.fsf@LkoBDZeT.terraraq.uk>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7259&group=comp.os.linux.misc#7259

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.freedyn.de!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 13:28:43 +0100
Organization: terraraq NNTP server
Message-ID: <87a6c8ni4k.fsf@LkoBDZeT.terraraq.uk>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk> <t48mbr$j07$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="33639"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:vlc/ZZ12vJqh+jLcHSKIzdoxHeM=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Tue, 26 Apr 2022 12:28 UTC

Tauno Voipio <tauno.voipio@notused.fi.invalid> writes:
> On 26.4.22 13.53, Richard Kettlewell wrote:
>> The only oddity is that the SIMD implementation is compiled as
>> C++. All
>> other things being equal the implementation of get_checksum1 would
>> undergo C++ name mangling and not be available to the C callers, but
>> it’s surrounded by ‘extern "C" {}’ so should be exposing the unmangled
>> version of the name, and indeed that’s what I see when I build it
>> (i.e. I cannot repro the build failure).
>> Kirk, what does
>> nm simd-checksum-x86_64.o
>> display?
>
> C++ in the middle of C code is always suspect. Please check that
> the relevant function is declared as external "C", or the name
> mangling will produce result like you had.

That’s already answered in the text you quote, for the version of rsync
Kirk is building.

(I’m going to assume Kirk hasn’t modified the source and kept quiet
about it.)

--
https://www.greenend.org.uk/rjk/

Re: rsync compile problem

<jcqb19Foht9U1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7261&group=comp.os.linux.misc#7261

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: 26 Apr 2022 13:39:53 GMT
Lines: 15
Message-ID: <jcqb19Foht9U1@mid.individual.net>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk>
X-Trace: individual.net baKftlwJMuxoeMEbAMhdyAVtekKFXWSwEwfuW+y+B/j9LmhOTc
Cancel-Lock: sha1:jIIvSAV5nQrK4R8NJ/XBmqafPRk=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Tue, 26 Apr 2022 13:39 UTC

On 2022-04-26, Richard Kettlewell <invalid@invalid.invalid> wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> On 26/04/2022 00:43, Kirk_Rockstein wrote:
<snip>
> Kirk, what does
> nm simd-checksum-x86_64.o
> display?
>

just returns to prompt, no output.
I have done nothing to the source.

--

Re: rsync compile problem

<87y1zslyv4.fsf@LkoBDZeT.terraraq.uk>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7262&group=comp.os.linux.misc#7262

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 15:10:07 +0100
Organization: terraraq NNTP server
Message-ID: <87y1zslyv4.fsf@LkoBDZeT.terraraq.uk>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk>
<jcqb19Foht9U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="34641"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:uJCR+NZ0g5KHkPw7L8ohjCVpZ2M=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Tue, 26 Apr 2022 14:10 UTC

Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> writes:
> On 2022-04-26, Richard Kettlewell <invalid@invalid.invalid> wrote:
>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>> On 26/04/2022 00:43, Kirk_Rockstein wrote:
> <snip>
>> Kirk, what does
>> nm simd-checksum-x86_64.o
>> display?
>>
>
> just returns to prompt, no output.
> I have done nothing to the source.

It sounds like neither the simple or SIMD versions of the function are
being built. What platform (e.g. Debian version) are you building this
on and what compiler versions are in use?

cat /etc/debian_version
type gcc g++
dpkg -l gcc g++

--
https://www.greenend.org.uk/rjk/

Re: rsync compile problem

<jcqjolFqi31U1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7263&group=comp.os.linux.misc#7263

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: 26 Apr 2022 16:08:53 GMT
Lines: 52
Message-ID: <jcqjolFqi31U1@mid.individual.net>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk> <jcqb19Foht9U1@mid.individual.net>
<87y1zslyv4.fsf@LkoBDZeT.terraraq.uk>
X-Trace: individual.net 17tXXqzxNy1YZBXZMlp00wsaTG33zmD9EJbrSw1oN0FUctYWhP
Cancel-Lock: sha1:254WyekY8N5obCAUlY3wCgMnnro=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Tue, 26 Apr 2022 16:08 UTC

On 2022-04-26, Richard Kettlewell <invalid@invalid.invalid> wrote:
> Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> writes:
>> On 2022-04-26, Richard Kettlewell <invalid@invalid.invalid> wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>>> On 26/04/2022 00:43, Kirk_Rockstein wrote:
>> <snip>
>>> Kirk, what does
>>> nm simd-checksum-x86_64.o
>>> display?
>>>
>>
>> just returns to prompt, no output.
>> I have done nothing to the source.
>
> It sounds like neither the simple or SIMD versions of the function are
> being built. What platform (e.g. Debian version) are you building this
> on and what compiler versions are in use?
>
> cat /etc/debian_version
> type gcc g++
> dpkg -l gcc g++
>

4.19.236 #1 SMP PREEMPT x86_64 GNU/Linux
stretch/sid
/usr/bin/gcc is linked to i686-linux-gnu-gcc-9
/usr/bin/g++ is linked to /usr/bin/g++-9 linked to /usr/bin/i686-linux-gnu-g++-9

Output of dpkg -l gcc g++
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii g++ 4:9.2.1-3.1 i386 GNU C++ compiler
ii gcc 4:9.2.1-3.1 i386 GNU C compiler

ii g++-9 9.4.0-1 i386 GNU C++ compiler
ii g++-9-multilib 9.4.0-1 i386 GNU C++ compiler (multilib support)
ii libconfig++9:i386 1.4.9-2 i386

ii gcc-9 9.4.0-1 i386 GNU C compiler
ii gcc-9-base:i386 9.4.0-1 i386
ii gcc-9-doc 9.3.0-1
ii gcc-9-locales 9.4.0-1 all
ii gcc-9-multilib 9.4.0-1 i386

ii lib64gcc-9-dev 9.4.0-1 i386
ii libgcc-9-dev:i386 9.4.0-1 i386
ii libx32gcc-9-dev 9.4.0-1 i386
ii linux-compiler-gcc-9-x86 5.7.17-1 i386

Re: rsync compile problem

<87pml3n6t1.fsf@LkoBDZeT.terraraq.uk>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7264&group=comp.os.linux.misc#7264

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: Tue, 26 Apr 2022 17:33:14 +0100
Organization: terraraq NNTP server
Message-ID: <87pml3n6t1.fsf@LkoBDZeT.terraraq.uk>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk>
<jcqb19Foht9U1@mid.individual.net>
<87y1zslyv4.fsf@LkoBDZeT.terraraq.uk>
<jcqjolFqi31U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="36927"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:G1il9ykhJ79wAwD9jfXwl/1V/iU=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Tue, 26 Apr 2022 16:33 UTC

Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> writes:
> 4.19.236 #1 SMP PREEMPT x86_64 GNU/Linux
> stretch/sid
> /usr/bin/gcc is linked to i686-linux-gnu-gcc-9
> /usr/bin/g++ is linked to /usr/bin/g++-9 linked to /usr/bin/i686-linux-gnu-g++-9
>
> Output of dpkg -l gcc g++
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-==============-============-============-=================================
> ii g++ 4:9.2.1-3.1 i386 GNU C++ compiler
> ii gcc 4:9.2.1-3.1 i386 GNU C compiler
>
> ii g++-9 9.4.0-1 i386 GNU C++ compiler
> ii g++-9-multilib 9.4.0-1 i386 GNU C++ compiler (multilib support)
> ii libconfig++9:i386 1.4.9-2 i386
>
> ii gcc-9 9.4.0-1 i386 GNU C compiler
> ii gcc-9-base:i386 9.4.0-1 i386
> ii gcc-9-doc 9.3.0-1
> ii gcc-9-locales 9.4.0-1 all
> ii gcc-9-multilib 9.4.0-1 i386
>
> ii lib64gcc-9-dev 9.4.0-1 i386
> ii libgcc-9-dev:i386 9.4.0-1 i386
> ii libx32gcc-9-dev 9.4.0-1 i386
> ii linux-compiler-gcc-9-x86 5.7.17-1 i386

You have a 64-bit kernel and a rather ancient 32-bit userland.

configure has misdetected it as x32 (i.e. x86-64 ISA but with 32-bit
pointers), although I don’t think this is directly relevant:

checking build system type... x86_64-pc-linux-gnux32
checking host system type... x86_64-pc-linux-gnux32

More importantly configure has found that the SIMD code works, and
therefore enabled it:

checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)

This disables the portable implementation of get_checksum1 (“#ifndef
USE_ROLL_SIMD” in checksum.c) and is intended to enable the SIMD
implementation (“#ifdef USE_ROLL_SIMD” in simd-checksum-x86_64.cpp).

However, the SIMD implementation only builds anything when targetting an
x86-64 userland (“#ifdef __x86_64__” at the top). So neither
implementation of get_checksum1 are compiled.

At least arguably, this is a bug in rsync’s configure script (and
another one in config.guess), and you may be able to persuade rsync
upstream to fix it. However, I think you would do better to migrate to a
more sensible configuration, i.e. an up-to-date 64-bit userland.

--
https://www.greenend.org.uk/rjk/

Re: rsync compile problem

<jct4ouFas02U1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7265&group=comp.os.linux.misc#7265

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: Re: rsync compile problem
Date: 27 Apr 2022 15:11:26 GMT
Lines: 66
Message-ID: <jct4ouFas02U1@mid.individual.net>
References: <jcoq0gFfqmuU2@mid.individual.net> <t48e3q$mrh$1@dont-email.me>
<87levsnmig.fsf@LkoBDZeT.terraraq.uk> <jcqb19Foht9U1@mid.individual.net>
<87y1zslyv4.fsf@LkoBDZeT.terraraq.uk> <jcqjolFqi31U1@mid.individual.net>
<87pml3n6t1.fsf@LkoBDZeT.terraraq.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 37VQzzH7WUoN8g/AL4f5Tw6xXlDuQDzuwDO1yxPFGlVTtpr6uu
Cancel-Lock: sha1:o8XNuv0odBCEpdexWJn3YSLpC60=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Wed, 27 Apr 2022 15:11 UTC

On 2022-04-26, Richard Kettlewell <invalid@invalid.invalid> wrote:
> Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> writes:
>> 4.19.236 #1 SMP PREEMPT x86_64 GNU/Linux
>> stretch/sid
>> /usr/bin/gcc is linked to i686-linux-gnu-gcc-9
>> /usr/bin/g++ is linked to /usr/bin/g++-9 linked to /usr/bin/i686-linux-gnu-g++-9
>>
>> Output of dpkg -l gcc g++
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name Version Architecture Description
>> +++-==============-============-============-=================================
>> ii g++ 4:9.2.1-3.1 i386 GNU C++ compiler
>> ii gcc 4:9.2.1-3.1 i386 GNU C compiler
>>
>> ii g++-9 9.4.0-1 i386 GNU C++ compiler
>> ii g++-9-multilib 9.4.0-1 i386 GNU C++ compiler (multilib support)
>> ii libconfig++9:i386 1.4.9-2 i386
>>
>> ii gcc-9 9.4.0-1 i386 GNU C compiler
>> ii gcc-9-base:i386 9.4.0-1 i386
>> ii gcc-9-doc 9.3.0-1
>> ii gcc-9-locales 9.4.0-1 all
>> ii gcc-9-multilib 9.4.0-1 i386
>>
>> ii lib64gcc-9-dev 9.4.0-1 i386
>> ii libgcc-9-dev:i386 9.4.0-1 i386
>> ii libx32gcc-9-dev 9.4.0-1 i386
>> ii linux-compiler-gcc-9-x86 5.7.17-1 i386
>
> You have a 64-bit kernel and a rather ancient 32-bit userland.
>
> configure has misdetected it as x32 (i.e. x86-64 ISA but with 32-bit
> pointers), although I don’t think this is directly relevant:
>
> checking build system type... x86_64-pc-linux-gnux32
> checking host system type... x86_64-pc-linux-gnux32
>
> More importantly configure has found that the SIMD code works, and
> therefore enabled it:
>
> checking whether to enable rolling-checksum SIMD optimizations... yes (x86_64)
>
> This disables the portable implementation of get_checksum1 (“#ifndef
> USE_ROLL_SIMD” in checksum.c) and is intended to enable the SIMD
> implementation (“#ifdef USE_ROLL_SIMD” in simd-checksum-x86_64.cpp).
>
> However, the SIMD implementation only builds anything when targetting an
> x86-64 userland (“#ifdef __x86_64__” at the top). So neither
> implementation of get_checksum1 are compiled.
>
> At least arguably, this is a bug in rsync’s configure script (and
> another one in config.guess), and you may be able to persuade rsync
> upstream to fix it. However, I think you would do better to migrate to a
> more sensible configuration, i.e. an up-to-date 64-bit userland.
>

Thanks Richard.
I booted with a i686 kernel and it compiled.
I do have newer systems that I have setup on other partitions
but this file system goes back years, to the P3 era and has been
cloned to many machines over time.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor