search for: va_copy

Displaying 20 results from an estimated 219 matches for "va_copy".

2014 Aug 27
1
Call for testing: OpenSSH 6.7
...S VMs up to take a closer look later. > > > *AIX 5300-12-02 powerpc-ibm-aix5.3.0.0 xlc 8.0.0.16 > > 0.9.8k FAILxlc_r -g -I. -I. -I/var/tmp/ssh/include > ... > > roaming_client.o"/usr/include/stdarg.h", line 89.9: 1506-236 (W) Macro > name > > va_copy has been redefined."/usr/include/stdarg.h", line 89.9: 1506-358 > (I) > > "va_copy" is defined on line 829 of defines.h. xlc_r -o ssh ssh.o > > It looks like configure has failed to detect va_copy and is trying to > supply a surrogate. There might be some clues...
2014 Aug 28
2
Call for testing: OpenSSH 6.7
...ote: > On Tue, 26 Aug 2014, Kevin Brott wrote: > > > > 0.9.8k FAILxlc_r -g -I. -I. -I/var/tmp/ssh/include > > ... > > > roaming_client.o"/usr/include/stdarg.h", line 89.9: 1506-236 > > (W) Macro name > > > va_copy has been redefined."/usr/include/stdarg.h", line 89.9: > > 1506-358 (I) > > > "va_copy" is defined on line 829 of defines.h. xlc_r -o ssh > > ssh.o > > > > It looks like configure has failed to detect va_copy and is > &...
2014 Nov 14
10
[Bug 2315] New: OpenSSH 6.7p1 on AIX 7.1 compile issue
...o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o -L. -Lopenbsd-compat/ -L/usr/local/openssl/lib -L/usr/local/zlib/lib -blibpath:/usr/lib:/lib -lssh -lopenbsd-compat -lcrypto -lz ld: 0711-317 ERROR: Undefined symbol: .va_copy ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. Same error on AIX 5.3 TL12 SP9 with IBM XL C/C++ 11.1.0.19 and AIX 6.1 TL8 SP3 with IBM XL C/C++ 10.1.0.20 I was able to compile OpenSSH 6.6p1 with OpenSSL 1.0.1...
2005 Oct 11
0
[Bug 3159] New: VA_COPY() brokenness
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@samba.org ReportedBy: skunk@iskunk.org...
2006 Jul 02
1
snprintf.c:(.text+0x14): undefined reference to `VA_COPY'
...r/bin/passwd" -DSMB_PASSWD_FILE="/etc/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/etc/samba/private/smbpasswd.tdb" Using LIBS = -lsec -lgen -lsocket -lnsl -lpopt Linking bin/smbd lib/snprintf.o: In function `vasprintf': snprintf.c:(.text+0x14): undefined reference to `VA_COPY' snprintf.c:(.text+0x5c): undefined reference to `VA_COPY' collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: gcc -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -DLOGFILEBASE=\"/var/adm\" -DCONFIGFILE=\"/etc/samba/smb.conf\&quot...
2006 Jun 10
0
SAMBA ERROR: Undefined symbol: .VA_COPY
...sr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb" Using LIBS = -lpam Linking bin/smbd ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-317 ERROR: Undefined symbol: .SAFE_FREE ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. I've already googled the web with no luck, please help me!
2014 Aug 26
2
Call for testing: OpenSSH 6.7
On Tue, Aug 26, 2014 at 11:02 AM, Damien Miller <djm at mindrot.org> wrote: > The other good news is that it has made it to unittests :) > > Indeed ... patch applied - and everything builds (yay!) - waiting on test suite to complete. Will go test on the RHEL 5 VM's and see how the 1.0.0-fipsmsystems fare. full report later today.
2014 Aug 26
2
[LLVMdev] [BUG] Varargs example in LangRef segfaults
...the following on x86_64: -- 8< -- define i32 @test(i32 %X, ...) { ; Initialize variable argument processing %ap = alloca i8* %ap2 = bitcast i8** %ap to i8* call void @llvm.va_start(i8* %ap2) ; Read a single integer argument %tmp = va_arg i8** %ap, i32 ; Demonstrate usage of llvm.va_copy and llvm.va_end %aq = alloca i8* %aq2 = bitcast i8** %aq to i8* call void @llvm.va_copy(i8* %aq2, i8* %ap2) call void @llvm.va_end(i8* %aq2) ; Stop processing of arguments. call void @llvm.va_end(i8* %ap2) ret i32 %tmp } define i32 @main() { %call = call i32 (i32, ...)* @test(i32...
2014 Aug 28
0
Call for testing: OpenSSH 6.7
...g 2014, Kevin Brott wrote: >> >> > > 0.9.8k FAILxlc_r -g -I. -I. -I/var/tmp/ssh/include >> > ... >> > > roaming_client.o"/usr/include/stdarg.h", line 89.9: 1506-236 >> > (W) Macro name >> > > va_copy has been redefined."/usr/include/stdarg.h", line 89.9: >> > 1506-358 (I) >> > > "va_copy" is defined on line 829 of defines.h. xlc_r -o ssh >> > ssh.o >> > >> > It looks like configure has failed to detect v...
2016 Jun 20
0
[Bug 2589] errors show when build openssh 6.7p1 on AIX 5.3
...at zip.com.au> --- (In reply to Darren Tucker from comment #27) > I don't understand why it doesn't work. There might be a hint here: https://lists.gnu.org/archive/html/bug-gnulib/2008-02/msg00139.html """ Turns out that even though config.h correctly has '#define va_copy gl_va_copy', xlc's stddef.h #undefs va_copy and does not define it to the builtin. xlc's stdarg.h also does not have any include guards, so you can not #include <stdarg.h> then #define va_copy, as the next time stdarg.h gets included it will get undefined all over again. "&q...
2017 Oct 12
1
Re: [PATCH miniexpect 2/2] Add debugging capability at runtime.
...; > - va_start (args, fs); > len = vasprintf (&msg, fs, args); > - va_end (args); Due to the nature of va_list (whose implementation greatly differs per architecture -- from a pointer, to a list of pointers, to structs, etc), I think that here you need to copy the va_list using va_copy(), and pass the copy to vasprintf. I cannot find a better reference, but https://stackoverflow.com/questions/3369588/pass-va-list-or-pointer-to-va-list has a piece of advice on that. -- Pino Toscano
2003 Apr 15
1
Compile on BSDi
...ying to compile samba-2.2.8a on BSDi... Here is the output from uname: 4.1 BSDI BSD/OS 4.1 Kernel #0 Upon compilation using both make and gmake I get the following: Using LIBS = -ldl Linking bin/smbd lib/snprintf.o: In function `vasprintf': lib/snprintf.o(.text+0x14): undefined reference to `VA_COPY' lib/snprintf.o(.text+0x45): undefined reference to `VA_COPY' *** Error code 1 Stop. Any Ideas. cheers in advance. Regards Matthew Hattersley Unix Systems Administrator Business Serve plc Victoria Building, Quays Loop Road, Salford Quays, Manchester M50 3SP
2006 Nov 21
1
Installing 2.4.0
...n a SunOS 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200 machine. The machine has gcc version 3.3.2 and gcc version 2.95.3 20010315 (release). When I try to compile using 3.3.2 I get an error with signal.h included from dcigettext.c. When I compile using gcc 2.95.3 I get an error with va_copy. "Undefined symbol va_copy first referenced in file connections.o ld: fatal: Symbol referencing errors. No output written to R.bin collect2: ld returned 1 exit status" A friend suggested this was an error with stdarg.h and so I searched through the gcc2.95.3 directories and found a...
2003 Jun 25
2
snprintf, vsnprintf
...re unless it's under another name, but it seems to me based on the description given by "mbp" in the code that it may need to look like this: #if !defined(HAVE_SNPRINTF) || !defined(HAVE_SNPRINTF_DECL) anyway the bug i'm tracking is a failure to expand the macros SAFE_FREE and VA_COPY. is compiles fine in AIX 5.1. as soon as i figure that one out, i'll forward it. Bill
2014 Aug 26
0
Call for testing: OpenSSH 6.7
...t; -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c roaming_client.c -o roaming_client.o"/usr/include/stdarg.h", line 89.9: 1506-236 (W) Macro name va_copy has been redefined."/usr/include/stdarg.h", line 89.9: 1506-358 (I) "va_copy" is defined on line 829 of defines.h. xlc_r -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o -L. -Lopenbsd-compat/ -L/var/...
2006 Jun 13
1
R-2.3.1 does not install on FreeBSD 4.11-RELEASE (PR#8971)
...- va_start(arg, format); + /* va_start(arg, format); */ /* not for FREEBSD_4 */ (con->vfprintf)(con, format, arg); - va_end(arg); + /* va_end(arg); */ + /* not for FREEBSD_4 */ #endif con->fflush(con); con_num = getActiveSink(i++); #ifndef HAVE_VA_COPY - if (con_num>0) error("Internal error: this platform does not support split output") + if (con_num>0) {error("Internal error: this platform does not support split output");} #endif } while(con_num>0); Also, I needed to fix the permission after doing m...
2005 Nov 27
1
segfault on write.dcf with gzfile connection
...================================== --- connections.c (revision 36434) +++ connections.c (working copy) @@ -186,8 +186,11 @@ { char buf[BUFSIZE], *b = buf, *vmax = vmaxget(); int res, usedRalloc = FALSE; + va_list aq; - res = vsnprintf(buf, BUFSIZE, format, ap); + va_copy(aq, ap); + res = vsnprintf(buf, BUFSIZE, format, aq); + va_end(aq); if(res >= BUFSIZE) { /* res is the desired output length */ usedRalloc = TRUE; b = R_alloc(res + 1, sizeof(char)); And here is an example BAD file, but I'm pretty sure any DCF field with...
2020 Feb 19
2
OpenSSH ver.8.2p1 compilation error on AIX
On Wed, 19 Feb 2020 at 06:38, Val Baranov <val.baranov at duke.edu> wrote: > AIX 7.1 TL5, OpenSSL ver. 1.1.1d. "vac.C" version 11.0.1.23 > Compilation error " The indirection operator cannot be applied to a pointer to an incomplete struct or union " (see full log below) produced for " libressl-api-compat.c ". > No such error if compiled with OpenSSL
2008 May 10
0
[ANNOUNCE] fonttosfnt 1.0.4
...Fix handling for non-square pixels. James Cloos (2): Add *~ to .gitignore to skip patch/emacs droppings I?m not sure the PCLT table is needed by the fonts generated here, but Julien Cristau (3): Use autoconf test instead of #ifdef GLIBC for vasprintf. Add autoconf test for va_copy. Bump to 1.0.4 Juliusz Chroboczek (4): Use asprintf on GNU platforms. Update copyright date. Rename *_reliable to *_alloc. Use va_copy in vsprintf_alloc. git tag: fonttosfnt-1.0.4 http://xorg.freedesktop.org/archive/individual/app/fonttosfnt-1.0.4.tar.bz2 MD5: 07607...
2004 Oct 22
1
[PATCH] off-by-one in asprintf/vasprintf
...e terminating '\0'. diff -u klibc-0.188/klibc/asprintf.c udev/klibc-0.188/klibc/asprintf.c --- klibc-0.188/klibc/asprintf.c 2004-10-22 12:07:22.678906352 -0600 +++ udev/klibc-0.188/klibc/asprintf.c 2004-10-22 12:08:03.859645928 -0600 @@ -16,10 +16,10 @@ va_start(ap, format); va_copy(ap1, ap); - bytes = vsnprintf(NULL, 0, format, ap1); + bytes = vsnprintf(NULL, 0, format, ap1) + 1; va_end(ap1); - *bufp = p = malloc(bytes+1); + *bufp = p = malloc(bytes); if ( !p ) return -1; diff -u klibc-0.188/klibc/vasprintf.c udev/klibc-0.188/klibc/vasprintf.c --- klibc-0.18...