[Bug 3159] New: VA_COPY() brokenness

samba-bugs at samba.org samba-bugs at samba.org
Tue Oct 11 17:26:44 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=3159

           Summary: VA_COPY() brokenness
           Product: rsync
           Version: 2.6.6
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: skunk at iskunk.org
         QAContact: rsync-qa at samba.org


Building rsync on a Solaris 10 / AMD64 system: 
 
----(begin snip)---- 
cc -I. -I. -Xa -v -xtarget=opteron -xarch=amd64 -xbuiltin -xstrconst -xO4 
-xcrossfile -DHAVE_CONFIG_H  -c lib/compat.c -o lib/compat.o 
cc -I. -I. -Xa -v -xtarget=opteron -xarch=amd64 -xbuiltin -xstrconst -xO4 
-xcrossfile -DHAVE_CONFIG_H  -c lib/snprintf.c -o lib/snprintf.o 
"lib/snprintf.c", line 853: left operand must be modifiable lvalue: op "=" 
"lib/snprintf.c", line 861: left operand must be modifiable lvalue: op "=" 
cc: acomp failed for lib/snprintf.c 
*** Error code 2 
make: Fatal error: Command failed for target `lib/snprintf.o' 
----(end snip)---- 
 
The system is using the fallback definition of VA_COPY(), i.e. "(dest) = 
(src)", instead of the va_copy() function. Neither HAVE_VA_COPY nor 
HAVE___VA_COPY is defined. Why not? Because they are defined as macros in the 
system headers, and rsync's configure script looks for them via AC_CHECK_FUNCS.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list