search for: careful_alignment

Displaying 4 results from an estimated 4 matches for "careful_alignment".

2024 Oct 08
0
Question: Is CAREFUL_ALIGNMENT=1 needed for rsync on RISC-V
...to assume that only x86 CPUs can handle memory misalignments: ```c /* We know that the x86 can handle misalignment and has the same ?* byte order (LSB-first) as the 32-bit numbers we transmit. */ #if defined __i386__ || defined __i486__ || defined __i586__ || defined __i686__ || __amd64 #define CAREFUL_ALIGNMENT 0 #endif #ifndef CAREFUL_ALIGNMENT #define CAREFUL_ALIGNMENT 1 #endif ``` Thus, when copying 4-bit integers (just an example), rsync uses direct copies on x86: ```c static inline uint32 IVALu(const uchar *buf, int pos) { ?? ?union { ?? ???? const uchar *b; ?? ???? const uint32 *num; ?? ?}...
2008 Mar 07
2
rsync3 universal binary for Mac OS X?
Did anyone ever get rsync3 to compile as a universal binary and work correctly on both tiger and leopard on ppc and intel? David.
2006 Jun 24
1
Rsync dies with "Invalid file index:" error message
Hi all, i'm having a rather strange problem with rsync (v2.6.8). Rsync is run to synchronize two identical, rather old Solaris 2.6 servers. All filesystems rsync fine except for one. Rsync bails out on this particular FS with the following messages: # /var/tmp/bin/rsync -avz -e "ssh -i $keyfile" --exclude-from=/tmp/rsync_data.excl server:/data/ /data receiving file list ... done ./
2006 Oct 11
4
"Invalid file index" failures, suspicious index numbers
...ly dies. In a previous post to the list (http://lists.samba.org/archive/rsync/ 2006-June/015828.html) Wayne wrote this: > This number is exactly 0x60000000, so another possibility that > comes to mind is that the byte-order messed up somehow. Look in > byteorder.h and make sure that CAREFUL_ALIGNMENT is being defined > on any system that uses most-significant-byte-first ordering. I'm getting the same number (1610612736), and I also note that 524288 is a suspicious-looking number as well (0x80000). I don't think there is a byte-ordering issue at play here. The configure script...