Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

862 lines
19 KiB

--------------------
./configure
Thu 22 Oct 2020 06:01:55 PM EEST
Checking for gcc...
=== ztest15769.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest15769.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest15769.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest15769.c
Checking for shared library support...
=== ztest15769.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest15769.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest15769.so ztest15769.o
Building shared library libz.so.1.2.11 with gcc.
=== ztest15769.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest15769.c
Checking for size_t... Yes.
=== ztest15769.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest15769.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest15769 ztest15769.c
Checking for strerror... Yes.
=== ztest15769.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking for unistd.h... Yes.
=== ztest15769.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking for stdarg.h... Yes.
=== ztest15769.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest15769.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest15769 ztest15769.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest15769.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking for return value of vsnprintf()... Yes.
=== ztest15769.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15769.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.11
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.11
Z_U4 =
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Sat Oct 31 06:00:10 PM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Sun Nov 1 02:41:44 PM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 01:34:55 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 01:42:14 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:13:23 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:19:58 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:20:29 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:41:03 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:41:24 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:42:30 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:43:06 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 02:43:59 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 03:00:59 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 03:01:42 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 03:02:11 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 03:04:13 AM MSK 2020
unknown option: CFLAGS=-m32 -Wno-narrowing
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --build=i686-pc-linux-gnu CFLAGS=-m32 -Wno-narrowing CXXFLAGS=-m32 -Wno-narrowing -fpermissive LDFLAGS=-m32
Wed Nov 4 03:05:02 AM MSK 2020
unknown option: --build=i686-pc-linux-gnu
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --help
Wed Nov 4 03:05:08 AM MSK 2020
usage:
configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]
[--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]
[--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]
--------------------
./configure -m32 linux-generic32
Wed Nov 4 03:05:38 AM MSK 2020
unknown option: -m32
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure -a=i386
Wed Nov 4 03:05:50 AM MSK 2020
Checking for gcc...
=== ztest22309.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest22309.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest22309.c ===
int foo() { return 0; }
===
gcc -c -O3 i386 ztest22309.c
gcc: error: i386: No such file or directory
(exit code 1)
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
--------------------
--------------------
./configure CFLAGS=-m32 LDFLAGS=-m32
Wed Nov 4 03:06:47 AM MSK 2020
unknown option: CFLAGS=-m32
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure
Wed Nov 4 03:08:25 AM MSK 2020
Checking for gcc...
=== ztest24236.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest24236.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest24236.c ===
int foo() { return 0; }
===
gcc -c -m32 ztest24236.c
Checking for shared library support...
=== ztest24236.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -m32 -fPIC ztest24236.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -m32 -fPIC -o ztest24236.so ztest24236.o
Building shared library libz.so.1.2.11 with gcc.
=== ztest24236.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -m32 ztest24236.c
Checking for size_t... Yes.
=== ztest24236.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest24236.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest24236 ztest24236.c
Checking for strerror... Yes.
=== ztest24236.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking for unistd.h... Yes.
=== ztest24236.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking for stdarg.h... Yes.
=== ztest24236.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest24236.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest24236 ztest24236.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest24236.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking for return value of vsnprintf()... Yes.
=== ztest24236.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest24236.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -m32 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS = -m32
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -m32 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.11
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.11
Z_U4 =
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
4 years ago
--------------------
./configure
Wed Nov 4 05:37:33 PM MSK 2020
Checking for gcc...
=== ztest14911.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest14911.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest14911.c ===
int foo() { return 0; }
===
gcc -c -m32 ztest14911.c
Checking for shared library support...
=== ztest14911.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -m32 -fPIC ztest14911.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -m32 -fPIC -o ztest14911.so ztest14911.o
Building shared library libz.so.1.2.11 with gcc.
=== ztest14911.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -m32 ztest14911.c
Checking for size_t... Yes.
=== ztest14911.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest14911.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest14911 ztest14911.c
Checking for strerror... Yes.
=== ztest14911.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking for unistd.h... Yes.
=== ztest14911.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking for stdarg.h... Yes.
=== ztest14911.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest14911.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest14911 ztest14911.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest14911.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking for return value of vsnprintf()... Yes.
=== ztest14911.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest14911.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -m32 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS = -m32
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -m32 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.11
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.11
Z_U4 =
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure
Fri Nov 13 03:58:34 PM MSK 2020
Checking for gcc...
=== ztest15884.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest15884.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest15884.c ===
int foo() { return 0; }
===
gcc -c -m32 ztest15884.c
Checking for shared library support...
=== ztest15884.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -m32 -fPIC ztest15884.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -m32 -fPIC -o ztest15884.so ztest15884.o
Building shared library libz.so.1.2.11 with gcc.
=== ztest15884.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -m32 ztest15884.c
Checking for size_t... Yes.
=== ztest15884.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest15884.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest15884 ztest15884.c
Checking for strerror... Yes.
=== ztest15884.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking for unistd.h... Yes.
=== ztest15884.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking for stdarg.h... Yes.
=== ztest15884.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest15884.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -m32 -D_LARGEFILE64_SOURCE=1 -o ztest15884 ztest15884.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest15884.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking for return value of vsnprintf()... Yes.
=== ztest15884.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -m32 -D_LARGEFILE64_SOURCE=1 ztest15884.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -m32 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS = -m32
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -m32 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.11
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.11
Z_U4 =
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------