Closed sergei-maertens closed 5 years ago
Strange. ldd
here shows:
$ ldd ./src/.libs/libmaxminddb.so.0.0.7
linux-vdso.so.1 => (0x00007ffe14b0d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdcbaafb000)
/lib64/ld-linux-x86-64.so.2 (0x000055a56fa35000)
And I don't see anywhere where we are explicitly linking against libm
. Could you include your config.log
and make
output?
That said, the unused shared library should not hurt anything. The warning can be safely ignored.
My ldd
output from the resulting package:
➜ libmaxminddb pwd
/home/bbt/coding/libmaxminddb/pkg/libmaxminddb
➜ libmaxminddb ldd usr/lib/libmaxminddb.so.0.0.7
linux-vdso.so.1 (0x00007ffcfbd9a000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fbc2200b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fbc21c6a000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000055ee82b65000)
The location where the actual build happened:
➜ libmaxminddb-1.2.0 pwd
/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0
➜ libmaxminddb-1.2.0 ldd ./src/.libs/libmaxminddb.so.0.0.7
linux-vdso.so.1 (0x00007fff4f1fc000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fe6a9a06000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fe6a9665000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000055b004e9e000)
config.log
:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libmaxminddb configure 1.2.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = bbt-arch
uname -m = x86_64
uname -r = 4.4.5-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/bbt/bin
PATH: /usr/local/bin
PATH: /usr/lib/hardening-wrapper/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/lib/jvm/default/bin
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /home/bbt/.composer/vendor/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2394: checking for pkg-config
configure:2412: found /usr/bin/pkg-config
configure:2424: result: /usr/bin/pkg-config
configure:2449: checking pkg-config is at least version 0.9.0
configure:2452: result: yes
configure:2536: checking build system type
configure:2550: result: x86_64-unknown-linux-gnu
configure:2570: checking host system type
configure:2583: result: x86_64-unknown-linux-gnu
configure:2624: checking how to print strings
configure:2651: result: printf
configure:2723: checking for gcc
configure:2739: found /usr/lib/hardening-wrapper/bin/gcc
configure:2750: result: gcc
configure:2979: checking for C compiler version
configure:2988: gcc --version >&5
gcc (GCC) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2999: $? = 0
configure:2988: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-5-20160209/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 5.3.0 (GCC)
configure:2999: $? = 0
configure:2988: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2999: $? = 1
configure:2988: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2999: $? = 1
configure:3019: checking whether the C compiler works
configure:3041: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
configure:3045: $? = 0
configure:3093: result: yes
configure:3096: checking for C compiler default output file name
configure:3098: result: a.out
configure:3104: checking for suffix of executables
configure:3111: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
configure:3115: $? = 0
configure:3137: result:
configure:3159: checking whether we are cross compiling
configure:3167: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
configure:3171: $? = 0
configure:3178: ./conftest
configure:3182: $? = 0
configure:3197: result: no
configure:3202: checking for suffix of object files
configure:3224: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3228: $? = 0
configure:3249: result: o
configure:3253: checking whether we are using the GNU C compiler
configure:3272: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3272: $? = 0
configure:3281: result: yes
configure:3290: checking whether gcc accepts -g
configure:3310: gcc -c -g -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3310: $? = 0
configure:3351: result: yes
configure:3368: checking for gcc option to accept ISO C89
configure:3431: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3431: $? = 0
configure:3444: result: none needed
configure:3469: checking whether gcc understands -c and -o together
configure:3491: gcc -c conftest.c -o conftest2.o
configure:3494: $? = 0
configure:3491: gcc -c conftest.c -o conftest2.o
configure:3494: $? = 0
configure:3506: result: yes
configure:3523: checking for a sed that does not truncate output
configure:3587: result: /usr/bin/sed
configure:3605: checking for grep that handles long lines and -e
configure:3663: result: /usr/bin/grep
configure:3668: checking for egrep
configure:3730: result: /usr/bin/grep -E
configure:3735: checking for fgrep
configure:3797: result: /usr/bin/grep -F
configure:3832: checking for ld used by gcc
configure:3899: result: /usr/lib/hardening-wrapper/bin/ld
configure:3906: checking if the linker (/usr/lib/hardening-wrapper/bin/ld) is GNU ld
configure:3921: result: yes
configure:3933: checking for BSD- or MS-compatible name lister (nm)
configure:3982: result: /usr/bin/nm -B
configure:4112: checking the name lister (/usr/bin/nm -B) interface
configure:4119: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:4122: /usr/bin/nm -B "conftest.o"
configure:4125: output
0000000000000000 B some_variable
configure:4132: result: BSD nm
configure:4135: checking whether ln -s works
configure:4139: result: yes
configure:4147: checking the maximum length of command line arguments
configure:4278: result: 1572864
configure:4295: checking whether the shell understands some XSI constructs
configure:4305: result: yes
configure:4309: checking whether the shell understands "+="
configure:4315: result: yes
configure:4350: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:4390: result: func_convert_file_noop
configure:4397: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:4417: result: func_convert_file_noop
configure:4424: checking for /usr/lib/hardening-wrapper/bin/ld option to reload object files
configure:4431: result: -r
configure:4505: checking for objdump
configure:4521: found /usr/bin/objdump
configure:4532: result: objdump
configure:4564: checking how to recognize dependent libraries
configure:4762: result: pass_all
configure:4847: checking for dlltool
configure:4877: result: no
configure:4907: checking how to associate runtime and link libraries
configure:4934: result: printf %s\n
configure:4995: checking for ar
configure:5011: found /usr/bin/ar
configure:5022: result: ar
configure:5059: checking for archiver @FILE support
configure:5076: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5076: $? = 0
configure:5079: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:5082: $? = 0
configure:5087: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
ar: conftest.o: No such file or directory
configure:5090: $? = 1
configure:5102: result: @
configure:5160: checking for strip
configure:5176: found /usr/bin/strip
configure:5187: result: strip
configure:5259: checking for ranlib
configure:5275: found /usr/bin/ranlib
configure:5286: result: ranlib
configure:5363: checking for gawk
configure:5379: found /usr/bin/gawk
configure:5390: result: gawk
configure:5430: checking command to parse /usr/bin/nm -B output from gcc object
configure:5550: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5553: $? = 0
configure:5557: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5560: $? = 0
configure:5626: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c conftstm.o >&5
configure:5629: $? = 0
configure:5667: result: ok
configure:5704: checking for sysroot
configure:5734: result: no
configure:5811: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5814: $? = 0
configure:6003: checking for mt
configure:6033: result: no
configure:6053: checking if : is a manifest tool
configure:6059: : '-?'
configure:6067: result: no
configure:6709: checking how to run the C preprocessor
configure:6740: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:168,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:34,
from conftest.c:10:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:6740: $? = 0
configure:6754: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6754: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6779: result: gcc -E
configure:6799: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:168,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:34,
from conftest.c:10:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:6799: $? = 0
configure:6813: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6813: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6842: checking for ANSI C header files
configure:6862: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6862: $? = 0
In file included from /usr/include/string.h:25:0,
from conftest.c:9:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
In file included from /usr/include/stdlib.h:24:0,
from conftest.c:9:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:6935: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
configure:6935: $? = 0
configure:6935: ./conftest
configure:6935: $? = 0
configure:6946: result: yes
configure:6959: checking for sys/types.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for sys/stat.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for stdlib.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for string.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for memory.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for strings.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for inttypes.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for stdint.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6959: checking for unistd.h
configure:6959: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6959: $? = 0
configure:6959: result: yes
configure:6973: checking for dlfcn.h
configure:6973: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6973: $? = 0
configure:6973: result: yes
configure:7179: checking for objdir
configure:7194: result: .libs
configure:7461: checking if gcc supports -fno-rtti -fno-exceptions
configure:7479: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:7483: $? = 0
configure:7496: result: no
configure:7823: checking for gcc option to produce PIC
configure:7830: result: -fPIC -DPIC
configure:7838: checking if gcc PIC flag -fPIC -DPIC works
configure:7856: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DPIC conftest.c >&5
configure:7860: $? = 0
configure:7873: result: yes
configure:7902: checking if gcc static flag -static works
configure:7930: result: yes
configure:7945: checking if gcc supports -c -o file.o
configure:7966: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -o out/conftest2.o conftest.c >&5
configure:7970: $? = 0
configure:7992: result: yes
configure:8000: checking if gcc supports -c -o file.o
configure:8047: result: yes
configure:8080: checking whether the gcc linker (/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64) supports shared libraries
configure:9237: result: yes
configure:9274: checking whether -lc should be explicitly linked in
configure:9282: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:9285: $? = 0
configure:9300: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:9303: $? = 0
configure:9317: result: no
configure:9477: checking dynamic linker characteristics
configure:9977: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-rpath -Wl,/foo conftest.c >&5
configure:9977: $? = 0
configure:10211: result: GNU/Linux ld.so
configure:10318: checking how to hardcode library paths into programs
configure:10343: result: immediate
configure:10883: checking whether stripping libraries is possible
configure:10888: result: yes
configure:10923: checking if libtool supports shared libraries
configure:10925: result: yes
configure:10928: checking whether to build shared libraries
configure:10949: result: yes
configure:10952: checking whether to build static libraries
configure:10956: result: yes
configure:11009: checking for a BSD-compatible install
configure:11077: result: /usr/bin/install -c
configure:11088: checking whether build environment is sane
configure:11143: result: yes
configure:11291: checking for a thread-safe mkdir -p
configure:11330: result: /usr/bin/mkdir -p
configure:11333: checking whether make sets $(MAKE)
configure:11355: result: yes
configure:11385: checking for style of include used by make
configure:11413: result: GNU
configure:11447: checking whether make supports nested variables
configure:11464: result: yes
configure:11549: checking dependency style of gcc
configure:11660: result: gcc3
configure:11720: checking for gcc option to accept ISO C99
configure:11869: gcc -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:11869: $? = 0
configure:11882: result: none needed
configure:11907: checking whether compiler accepts "-fms-extensions"
configure:11916: result: yes
configure:11934: checking for C/C++ restrict keyword
configure:11959: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:11959: $? = 0
configure:11967: result: __restrict
configure:11984: checking arpa/inet.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:24:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking arpa/inet.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/arpa/inet.h:21:0,
from conftest.c:24:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for arpa/inet.h
configure:11984: result: yes
configure:11984: checking assert.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:25:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking assert.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/assert.h:35:0,
from conftest.c:25:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for assert.h
configure:11984: result: yes
configure:11984: checking fcntl.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:26:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking fcntl.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/fcntl.h:25:0,
from conftest.c:26:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for fcntl.h
configure:11984: result: yes
configure:11984: checking for inttypes.h
configure:11984: result: yes
configure:11984: checking libgen.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:28:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking libgen.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/libgen.h:21:0,
from conftest.c:28:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for libgen.h
configure:11984: result: yes
configure:11984: checking math.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:29:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking math.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/math.h:26:0,
from conftest.c:29:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for math.h
configure:11984: result: yes
configure:11984: checking netdb.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:30:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking netdb.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/netdb.h:25:0,
from conftest.c:30:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for netdb.h
configure:11984: result: yes
configure:11984: checking netinet/in.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:31:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking netinet/in.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/netinet/in.h:21:0,
from conftest.c:31:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for netinet/in.h
configure:11984: result: yes
configure:11984: checking stdarg.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:32:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking stdarg.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for stdarg.h
configure:11984: result: yes
configure:11984: checking stdbool.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:33:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking stdbool.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for stdbool.h
configure:11984: result: yes
configure:11984: checking for stdint.h
configure:11984: result: yes
configure:11984: checking stdio.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:35:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking stdio.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/stdio.h:27:0,
from conftest.c:35:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for stdio.h
configure:11984: result: yes
configure:11984: checking for stdlib.h
configure:11984: result: yes
configure:11984: checking for string.h
configure:11984: result: yes
configure:11984: checking sys/mman.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:38:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking sys/mman.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/sys/mman.h:22:0,
from conftest.c:38:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for sys/mman.h
configure:11984: result: yes
configure:11984: checking sys/socket.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:39:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking sys/socket.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/sys/socket.h:22:0,
from conftest.c:39:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for sys/socket.h
configure:11984: result: yes
configure:11984: checking for sys/stat.h
configure:11984: result: yes
configure:11984: checking sys/time.h usability
configure:11984: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:41:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking sys/time.h presence
configure:11984: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/sys/time.h:21:0,
from conftest.c:41:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:11984: $? = 0
configure:11984: result: yes
configure:11984: checking for sys/time.h
configure:11984: result: yes
configure:11984: checking for sys/types.h
configure:11984: result: yes
configure:11984: checking for unistd.h
configure:11984: result: yes
configure:12004: checking for off_t
configure:12004: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12004: $? = 0
configure:12004: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
conftest.c: In function 'main':
conftest.c:80:20: error: expected expression before ')' token
if (sizeof ((off_t)))
^
configure:12004: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((off_t)))
| return 0;
| ;
| return 0;
| }
configure:12004: result: yes
configure:12015: checking for size_t
configure:12015: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12015: $? = 0
configure:12015: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
conftest.c: In function 'main':
conftest.c:80:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:12015: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:12015: result: yes
configure:12026: checking for ssize_t
configure:12026: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12026: $? = 0
configure:12026: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
conftest.c: In function 'main':
conftest.c:80:22: error: expected expression before ')' token
if (sizeof ((ssize_t)))
^
configure:12026: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:12026: result: yes
configure:12037: checking for uint8_t
configure:12037: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12037: $? = 0
configure:12037: result: yes
configure:12051: checking for uint32_t
configure:12051: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12051: $? = 0
configure:12051: result: yes
configure:12065: checking for uint64_t
configure:12065: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12065: $? = 0
configure:12065: result: yes
configure:12088: checking for unsigned __int128
configure:12088: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12088: $? = 0
configure:12088: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:44:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
conftest.c: In function 'main':
conftest.c:80:32: error: expected expression before ')' token
if (sizeof ((unsigned __int128)))
^
configure:12088: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((unsigned __int128)))
| return 0;
| ;
| return 0;
| }
configure:12088: result: yes
configure:12112: checking for boolean
configure:12112: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:45:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
conftest.c: In function 'main':
conftest.c:81:13: error: 'boolean' undeclared (first use in this function)
if (sizeof (boolean))
^
conftest.c:81:13: note: each undeclared identifier is reported only once for each function it appears in
configure:12112: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define MMDB_UINT128_IS_BYTE_ARRAY 0
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (boolean))
| return 0;
| ;
| return 0;
| }
configure:12112: result: no
configure:12123: checking for open_memstream
configure:12123: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:168,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:34,
from conftest.c:55:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12123: $? = 0
configure:12123: result: yes
configure:12133: checking for stdlib.h
configure:12133: result: yes
configure:12143: checking for GNU libc compatible malloc
configure:12167: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
In file included from /usr/include/stdlib.h:24:0,
from conftest.c:48:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12167: $? = 0
configure:12167: ./conftest
configure:12167: $? = 0
configure:12177: result: yes
configure:12204: checking for stdlib.h
configure:12204: result: yes
configure:12204: checking for unistd.h
configure:12204: result: yes
configure:12204: checking for sys/param.h
configure:12204: gcc -c -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:50:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12204: $? = 0
configure:12204: result: yes
configure:12224: checking for getpagesize
configure:12224: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:168,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:34,
from conftest.c:61:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12224: $? = 0
configure:12224: result: yes
configure:12233: checking for working mmap
configure:12380: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:52:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
configure:12380: $? = 0
configure:12380: ./conftest
configure:12380: $? = 0
configure:12390: result: yes
configure:12400: checking for library containing fabs
configure:12431: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
conftest.c:60:6: warning: conflicting types for built-in function 'fabs'
char fabs ();
^
/tmp/cc2QxNnM.o: In function `main':
conftest.c:(.text+0x1f): undefined reference to `fabs'
collect2: error: ld returned 1 exit status
configure:12431: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libmaxminddb 1.2.0"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "1.2.0"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define MMDB_UINT128_IS_BYTE_ARRAY 0
| #define HAVE_OPEN_MEMSTREAM 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fabs ();
| int
| main ()
| {
| return fabs ();
| ;
| return 0;
| }
configure:12431: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c -lm >&5
conftest.c:60:6: warning: conflicting types for built-in function 'fabs'
char fabs ();
^
configure:12431: $? = 0
configure:12448: result: -lm
configure:12456: checking for library containing fabsf
configure:12487: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c -lm >&5
conftest.c:60:6: warning: conflicting types for built-in function 'fabsf'
char fabsf ();
^
configure:12487: $? = 0
configure:12504: result: none required
configure:12512: checking for library containing getaddrinfo
configure:12543: gcc -o conftest -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c -lm >&5
configure:12543: $? = 0
configure:12560: result: none required
configure:12700: checking that generated files are newer than configure
configure:12706: result: done
configure:12733: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libmaxminddb config.status 1.2.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on bbt-arch
config.status:1121: creating src/libmaxminddb.pc
config.status:1121: creating Makefile
config.status:1121: creating src/Makefile
config.status:1121: creating bin/Makefile
config.status:1121: creating t/Makefile
config.status:1121: creating config.h
config.status:1302: config.h is unchanged
config.status:1121: creating include/maxminddb_config.h
config.status:1302: include/maxminddb_config.h is unchanged
config.status:1350: executing libtool commands
config.status:1350: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_getpagesize=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_open_memstream=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_assert_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libgen_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_fabs=-lm
ac_cv_search_fabsf='none required'
ac_cv_search_getaddrinfo='none required'
ac_cv_type_boolean=no
ac_cv_type_off_t=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_unsigned___int128=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/lib/hardening-wrapper/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/missing autoconf'
AUTOHEADER='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/missing autoheader'
AUTOMAKE='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fms-extensions'
CPP='gcc -E'
CPPFLAGS='-D_FORTIFY_SOURCE=2'
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE='#'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64'
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro'
LIBOBJS=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libmaxminddb'
PACKAGE_BUGREPORT='support@maxmind.com'
PACKAGE_NAME='libmaxminddb'
PACKAGE_STRING='libmaxminddb 1.2.0'
PACKAGE_TARNAME='libmaxminddb'
PACKAGE_URL=''
PACKAGE_VERSION='1.2.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='1.2.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir='${libdir}/pkgconfig'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libmaxminddb"
#define PACKAGE_TARNAME "libmaxminddb"
#define PACKAGE_VERSION "1.2.0"
#define PACKAGE_STRING "libmaxminddb 1.2.0"
#define PACKAGE_BUGREPORT "support@maxmind.com"
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define PACKAGE "libmaxminddb"
#define VERSION "1.2.0"
#define restrict __restrict
#define HAVE_ARPA_INET_H 1
#define HAVE_ASSERT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_MATH_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define MMDB_UINT128_IS_BYTE_ARRAY 0
#define HAVE_OPEN_MEMSTREAM 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
configure: exit 0
And output from make
:
➜ libmaxminddb-1.2.0 make
make all-recursive
make[1]: Entering directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0'
Making all in src
make[2]: Entering directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/src'
Making all in bin
make[2]: Entering directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/bin'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/bin'
Making all in t
make[2]: Entering directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/t'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0/t'
make[2]: Entering directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0'
if [ ! -f man/man1/mmdblookup.1 ]; then mkdir -p man/man1 && touch man/man1/mmdblookup.1; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
make[2]: Leaving directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0'
make[1]: Leaving directory '/home/bbt/coding/libmaxminddb/src/libmaxminddb-1.2.0'
Let me know if you need any more input, I'll be happy to provide it.
sergei, The maxminddb (AUR) package already contains the libmaxminddb subpackage. (I'm silvermonk - the current maintainer).
Otherwise I second your comment. Is libm required here? It appears to be pulled in implicitly, I don't immediately see it in any MM-maintained makefile.
Still, I made no effort to try and remove or investigate this as per keep-as-upstream-unless-dysfunctional Arch Policy. libmaxminddb is obviously fully functional with the extra dependency. So for me the upstream dependency cleanup (or enlightenment about why it's actually required somehow) is a Nice To Have with very low priority.
@CounterCurse I tried replying to your e-mail, but the message couldn't be delivered, and I didn't retry anymore due to lack of time.
Yes, for me it was a nice to have as well, just tried to follow best practices, but I'm leaving this as is since there is a package already (that I didn't seem to find at the time, but now I do, bad googlefu?)
I am not sure why the AUR package builds are linking against libm
. It certainly isn't required, and our builds on Ubuntu do not result in it being linked. I do see it being used in the unit tests, but not the actual library code. If either of you want to debug this, we would be happy to accept a patch to fix it.
Is this still happening with the AUR package? We haven't been able to reproduce this here.
Closing as we were not able to reproduce it.
Hi, I saw that there was no AUR package for this lib for Arch Linux, so decided to create it myself. In a nutshell, Arch has a packaging system in place that make it easy to install custom-compiled packages with the package manager.
Packaging it up went allright, but when I checked the package with namcap (a tool to diagnose potential issues), I get a warning about unused shared library:
For packaging, nothing more happened than running the typical
make
,make install
, as documented in the README. For full reference, the PKGBUILD:As part of the installation process,
ldconfig
has run as well.When googling for similar warnings, most hits say to inquire at upstream, so that's what I'm doing. Should I be worried, or can this be ignored?