Build of nspr with musl toolchain

The build took 00h 01m 18s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
112,403 ansic
3,674 sh
2,802 cpp
2,327 makefile
826 asm
405 perl
24 python
122,461 total

The process tree of the build process is here.

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: nspr 4.12-1 (Wed Apr 5 01:42:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# checking for whoami... /usr/sbin/whoami
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# configure: WARNING: using cross tools not prefixed with host triplet
# checking for as... /sysroot/bin/as
# checking for ar... /sysroot/bin/ar
# checking for ld... /sysroot/bin/ld
# checking for strip... /sysroot/bin/strip
# checking for windres... no
# checking how to run the C preprocessor... clang -E
# checking for gcc -pipe support... no
# checking whether C compiler supports -fprofile-generate... yes
# checking for visibility(hidden) attribute... yes
# checking for visibility pragma support... yes
# checking for perl5... no
# checking for perl... /usr/sbin/perl
# checking for dlopen in -ldl... yes
# checking dlfcn.h usability... yes
# checking dlfcn.h presence... yes
# checking for dlfcn.h... yes
# checking whether clang needs -traditional... no
# checking for dladdr... yes
# checking for gettid... no
# checking for lchown... yes
# checking for setpriority... yes
# checking for strerror... yes
# checking for syscall... yes
# checking for secure_getenv... no
# checking for __secure_getenv... no
# checking for pthread_create in -lpthreads... no
# checking for pthread_create in -lpthread... yes
# checking whether clang accepts -pthread... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating config/Makefile
# config.status: creating config/autoconf.mk
# config.status: creating config/nsprincl.mk
# config.status: creating config/nsprincl.sh
# config.status: creating config/nspr-config
# config.status: creating config/nspr.pc
# config.status: creating lib/Makefile
# config.status: creating lib/ds/Makefile
# config.status: creating lib/libc/Makefile
# config.status: creating lib/libc/include/Makefile
# config.status: creating lib/libc/src/Makefile
# config.status: creating lib/tests/Makefile
# config.status: creating pkg/Makefile
# config.status: creating pr/Makefile
# config.status: creating pr/include/Makefile
# config.status: creating pr/include/md/Makefile
# config.status: creating pr/include/obsolete/Makefile
# config.status: creating pr/include/private/Makefile
# config.status: creating pr/src/Makefile
# config.status: creating pr/src/io/Makefile
# config.status: creating pr/src/linking/Makefile
# config.status: creating pr/src/malloc/Makefile
# config.status: creating pr/src/md/Makefile
# config.status: creating pr/src/md/unix/Makefile
# config.status: creating pr/src/memory/Makefile
# config.status: creating pr/src/misc/Makefile
# config.status: creating pr/src/threads/Makefile
# config.status: creating pr/tests/Makefile
# config.status: creating pr/tests/dll/Makefile
# config.status: creating pkg/linux/Makefile
# config.status: creating pr/src/pthreads/Makefile
# config.status: executing default commands
# make -C config export
# make[1]: Entering directory '/tmp/nspr/src/nspr-4.12/config'
# clang -o now.o -c -DXP_UNIX .././nspr/config/now.c
# clang now.o -o now
# clang -o nsinstall.o -c -DXP_UNIX .././nspr/config/nsinstall.c
# clang nsinstall.o -o nsinstall
# rm -f nfspwd; cp .././nspr/config/nfspwd.pl nfspwd; chmod +x nfspwd
# rm -f ../dist/bin/nspr-config
# make[1]: Leaving directory '/tmp/nspr/src/nspr-4.12/config'
# make -C pr export
# make[1]: Entering directory '/tmp/nspr/src/nspr-4.12/pr'
# make -C include export
# make[2]: Entering directory '/tmp/nspr/src/nspr-4.12/pr/include'
# make -C md export
# make[3]: Entering directory '/tmp/nspr/src/nspr-4.12/pr/include/md'
# ../../../config/./nsinstall -R -m 444 ../../.././nspr/pr/include/md/_openbsd.cfg ../../.././nspr/pr/include/md/_winnt.cfg ../../.././nspr/pr/include/md/_osf1.cfg ../../.././nspr/pr/include/md/_nto.cfg ../../.././nspr/pr/include/md/_riscos.cfg ../../.././nspr/pr/include/md/_dgux.cfg ../../.././nspr/pr/include/md/_aix32.cfg ../../.././nspr/pr/include/md/_hpux64.cfg ../../.././nspr/pr/include/md/_os2.cfg ../../.././nspr/pr/include/md/_linux.cfg ../../.././nspr/pr/include/md/_qnx.cfg ../../.././nspr/pr/include/md/_darwin.cfg ../../.././nspr/pr/include/md/_beos.cfg ../../.././nspr/pr/include/md/_irix32.cfg ../../.././nspr/pr/include/md/_win95.cfg ../../.././nspr/pr/include/md/_aix64.cfg ../../.././nspr/pr/include/md/_solaris.cfg ../../.././nspr/pr/include/md/_unixware.cfg ../../.././nspr/pr/include/md/_freebsd.cfg ../../.././nspr/pr/include/md/_scoos.cfg ../../.././nspr/pr/include/md/_irix64.cfg ../../.././nspr/pr/include/md/_unixware7.cfg ../../.././nspr/pr/include/md/_symbian.cfg ../../.././nspr/pr/include/md/_netbsd.cfg ../../.././nspr/pr/include/md/_hpux32.cfg ../../.././nspr/pr/include/md/_bsdi.cfg ../../../dist/include/nspr/md
# ../../../config/./nsinstall: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make[3]: *** [Makefile:22: export] Error 127
# make[3]: Leaving directory '/tmp/nspr/src/nspr-4.12/pr/include/md'
# make[2]: *** [../.././nspr/config/rules.mk:163: export] Error 2
# make[2]: Leaving directory '/tmp/nspr/src/nspr-4.12/pr/include'
# make[1]: *** [.././nspr/config/rules.mk:163: export] Error 2
# make[1]: Leaving directory '/tmp/nspr/src/nspr-4.12/pr'
# make: *** [nspr/config/rules.mk:163: export] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/nspr/src/nspr-4.12/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 configure, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./nspr/configure --host=x86_64-unknown-linux --prefix=/usr --libdir=/usr/lib --includedir=/usr/include/nspr --enable-optimize --disable-debug --enable-64bit
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 8839f99a1f54
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /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: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2383: checking build system type
# configure:2397: result: x86_64-unknown-linux-gnu
# configure:2417: checking host system type
# configure:2430: result: x86_64-unknown-linux-gnu
# configure:2450: checking target system type
# configure:2463: result: x86_64-unknown-linux-gnu
# configure:3054: checking for whoami
# configure:3072: found /usr/sbin/whoami
# configure:3085: result: /usr/sbin/whoami
# configure:3185: checking for x86_64-unknown-linux-gcc
# configure:3212: result: clang
# configure:3481: checking for C compiler version
# configure:3490: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3501: $? = 0
# configure:3490: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3501: $? = 0
# configure:3490: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3501: $? = 1
# configure:3490: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3501: $? = 1
# configure:3521: checking whether the C compiler works
# configure:3543: clang conftest.c >&5
# configure:3547: $? = 0
# configure:3595: result: yes
# configure:3598: checking for C compiler default output file name
# configure:3600: result: a.out
# configure:3606: checking for suffix of executables
# configure:3613: clang -o conftest conftest.c >&5
# configure:3617: $? = 0
# configure:3639: result:
# configure:3661: checking whether we are cross compiling
# configure:3669: clang -o conftest conftest.c >&5
# configure:3673: $? = 0
# configure:3680: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3684: $? = 127
# configure:3699: result: yes
# configure:3704: checking for suffix of object files
# configure:3726: clang -c conftest.c >&5
# configure:3730: $? = 0
# configure:3751: result: o
# configure:3755: checking whether we are using the GNU C compiler
# configure:3774: clang -c conftest.c >&5
# configure:3774: $? = 0
# configure:3783: result: yes
# configure:3792: checking whether clang accepts -g
# configure:3812: clang -c -g conftest.c >&5
# configure:3812: $? = 0
# configure:3853: result: yes
# configure:3870: checking for clang option to accept ISO C89
# configure:3933: clang -c conftest.c >&5
# configure:3933: $? = 0
# configure:3946: result: none needed
# configure:4889: checking for x86_64-unknown-linux-ranlib
# configure:4919: result: no
# configure:4929: checking for ranlib
# configure:4945: found /sysroot/bin/ranlib
# configure:4956: result: ranlib
# configure:4968: WARNING: using cross tools not prefixed with host triplet
# configure:4982: checking for as
# configure:5000: found /sysroot/bin/as
# configure:5012: result: /sysroot/bin/as
# configure:5028: checking for ar
# configure:5046: found /sysroot/bin/ar
# configure:5058: result: /sysroot/bin/ar
# configure:5074: checking for ld
# configure:5092: found /sysroot/bin/ld
# configure:5104: result: /sysroot/bin/ld
# configure:5120: checking for strip
# configure:5138: found /sysroot/bin/strip
# configure:5150: result: /sysroot/bin/strip
# configure:5166: checking for windres
# configure:5199: result: no
# configure:5221: checking how to run the C preprocessor
# configure:5252: clang -E conftest.c
# configure:5252: $? = 0
# configure:5266: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5266: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | /* end confdefs.h. */
# | #include
# configure:5291: result: clang -E
# configure:5311: clang -E conftest.c
# configure:5311: $? = 0
# configure:5325: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5325: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | /* end confdefs.h. */
# | #include
# configure:5377: checking for gcc -pipe support
# configure:5422: result: no
# configure:5430: checking whether C compiler supports -fprofile-generate
# configure:5443: clang -c -fprofile-generate -fprofile-correction conftest.c >&5
# clang-3.8: warning: optimization flag '-fprofile-correction' is not supported
# configure:5443: $? = 0
# configure:5450: result: yes
# configure:5462: checking for visibility(hidden) attribute
# configure:5479: result: yes
# configure:5484: checking for visibility pragma support
# configure:5506: result: yes
# configure:5535: checking for perl5
# configure:5568: result: no
# configure:5535: checking for perl
# configure:5553: found /usr/sbin/perl
# configure:5565: result: /usr/sbin/perl
# configure:5864: clang -c conftest.c >&5
# conftest.c:16:15: error: use of undeclared identifier '__thumb2__'
# return sizeof(__thumb2__);
# ^
# 1 error generated.
# configure:5864: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# | #define HAVE_VISIBILITY_PRAGMA 1
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# | return sizeof(__thumb2__);
# | ;
# | return 0;
# | }
# configure:7798: checking for dlopen in -ldl
# configure:7823: clang -o conftest -Wall conftest.c -ldl >&5
# configure:7823: $? = 0
# configure:7832: result: yes
# configure:7835: checking dlfcn.h usability
# configure:7835: clang -c -Wall conftest.c >&5
# configure:7835: $? = 0
# configure:7835: result: yes
# configure:7835: checking dlfcn.h presence
# configure:7835: clang -E conftest.c
# configure:7835: $? = 0
# configure:7835: result: yes
# configure:7835: checking for dlfcn.h
# configure:7835: result: yes
# configure:7850: checking whether clang needs -traditional
# conftest.c:16:10: fatal error: 'sgtty.h' file not found
# #include
# ^
# clang-3.8: error: unable to execute command: Broken pipe
# clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
# clang-3.8: note: diagnostic msg: Error generating preprocessed source(s).
# conftest.c:16:10: fatal error: 'termio.h' file not found
# #include
# ^
# clang-3.8: error: unable to execute command: Broken pipe
# clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
# clang-3.8: note: diagnostic msg: Error generating preprocessed source(s).
# configure:7884: result: no
# configure:7896: checking for dladdr
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# configure:7896: $? = 0
# configure:7896: result: yes
# configure:7896: checking for gettid
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# /tmp/conftest-d7e681.o:conftest.c:function main: error: undefined reference to 'gettid'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7896: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# | #define HAVE_VISIBILITY_PRAGMA 1
# | #define XP_UNIX 1
# | #define _GNU_SOURCE 1
# | #define HAVE_FCNTL_FILE_LOCKING 1
# | #define LINUX 1
# | #define HAVE_DLADDR 1
# | /* end confdefs.h. */
# | /* Define gettid to an innocuous variant, in case declares gettid.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define gettid innocuous_gettid
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char gettid (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef gettid
# |
# | /* 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 gettid ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_gettid || defined __stub___gettid
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return gettid ();
# | ;
# | return 0;
# | }
# configure:7896: result: no
# configure:7896: checking for lchown
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# configure:7896: $? = 0
# configure:7896: result: yes
# configure:7896: checking for setpriority
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# configure:7896: $? = 0
# configure:7896: result: yes
# configure:7896: checking for strerror
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# conftest.c:42:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:42:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:7896: $? = 0
# configure:7896: result: yes
# configure:7896: checking for syscall
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# configure:7896: $? = 0
# configure:7896: result: yes
# configure:7896: checking for secure_getenv
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# /tmp/conftest-896bc9.o:conftest.c:function main: error: undefined reference to 'secure_getenv'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7896: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# | #define HAVE_VISIBILITY_PRAGMA 1
# | #define XP_UNIX 1
# | #define _GNU_SOURCE 1
# | #define HAVE_FCNTL_FILE_LOCKING 1
# | #define LINUX 1
# | #define HAVE_DLADDR 1
# | #define HAVE_LCHOWN 1
# | #define HAVE_SETPRIORITY 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYSCALL 1
# | /* end confdefs.h. */
# | /* Define secure_getenv to an innocuous variant, in case declares secure_getenv.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define secure_getenv innocuous_secure_getenv
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char secure_getenv (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef secure_getenv
# |
# | /* 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 secure_getenv ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_secure_getenv || defined __stub___secure_getenv
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return secure_getenv ();
# | ;
# | return 0;
# | }
# configure:7896: result: no
# configure:7896: checking for __secure_getenv
# configure:7896: clang -o conftest -Wall conftest.c -ldl >&5
# /tmp/conftest-dd1f4b.o:conftest.c:function main: error: undefined reference to '__secure_getenv'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7896: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# | #define HAVE_VISIBILITY_PRAGMA 1
# | #define XP_UNIX 1
# | #define _GNU_SOURCE 1
# | #define HAVE_FCNTL_FILE_LOCKING 1
# | #define LINUX 1
# | #define HAVE_DLADDR 1
# | #define HAVE_LCHOWN 1
# | #define HAVE_SETPRIORITY 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYSCALL 1
# | /* end confdefs.h. */
# | /* Define __secure_getenv to an innocuous variant, in case declares __secure_getenv.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define __secure_getenv innocuous___secure_getenv
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char __secure_getenv (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef __secure_getenv
# |
# | /* 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 __secure_getenv ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub___secure_getenv || defined __stub_____secure_getenv
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return __secure_getenv ();
# | ;
# | return 0;
# | }
# configure:7896: result: no
# configure:8030: checking for pthread_create in -lpthreads
# configure:8055: clang -o conftest -Wall conftest.c -lpthreads >&5
# /sysroot/bin/ld: error: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:8055: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define NDEBUG 1
# | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# | #define HAVE_VISIBILITY_PRAGMA 1
# | #define XP_UNIX 1
# | #define _GNU_SOURCE 1
# | #define HAVE_FCNTL_FILE_LOCKING 1
# | #define LINUX 1
# | #define HAVE_DLADDR 1
# | #define HAVE_LCHOWN 1
# | #define HAVE_SETPRIORITY 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYSCALL 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 pthread_create ();
# | int
# | main ()
# | {
# | return pthread_create ();
# | ;
# | return 0;
# | }
# configure:8064: result: no
# configure:8069: checking for pthread_create in -lpthread
# configure:8094: clang -o conftest -Wall conftest.c -lpthread >&5
# configure:8094: $? = 0
# configure:8103: result: yes
# configure:8278: checking whether clang accepts -pthread
# configure:8297: result: yes
# configure:8914: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 8839f99a1f54
#
# config.status:836: creating Makefile
# config.status:836: creating config/Makefile
# config.status:836: creating config/autoconf.mk
# config.status:836: creating config/nsprincl.mk
# config.status:836: creating config/nsprincl.sh
# config.status:836: creating config/nspr-config
# config.status:836: creating config/nspr.pc
# config.status:836: creating lib/Makefile
# config.status:836: creating lib/ds/Makefile
# config.status:836: creating lib/libc/Makefile
# config.status:836: creating lib/libc/include/Makefile
# config.status:836: creating lib/libc/src/Makefile
# config.status:836: creating lib/tests/Makefile
# config.status:836: creating pkg/Makefile
# config.status:836: creating pr/Makefile
# config.status:836: creating pr/include/Makefile
# config.status:836: creating pr/include/md/Makefile
# config.status:836: creating pr/include/obsolete/Makefile
# config.status:836: creating pr/include/private/Makefile
# config.status:836: creating pr/src/Makefile
# config.status:836: creating pr/src/io/Makefile
# config.status:836: creating pr/src/linking/Makefile
# config.status:836: creating pr/src/malloc/Makefile
# config.status:836: creating pr/src/md/Makefile
# config.status:836: creating pr/src/md/unix/Makefile
# config.status:836: creating pr/src/memory/Makefile
# config.status:836: creating pr/src/misc/Makefile
# config.status:836: creating pr/src/threads/Makefile
# config.status:836: creating pr/tests/Makefile
# config.status:836: creating pr/tests/dll/Makefile
# config.status:836: creating pkg/linux/Makefile
# config.status:836: creating pr/src/pthreads/Makefile
# config.status:982: executing default commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=clang++
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func___secure_getenv=no
# ac_cv_func_dladdr=yes
# ac_cv_func_gettid=no
# ac_cv_func_lchown=yes
# ac_cv_func_secure_getenv=no
# ac_cv_func_setpriority=yes
# ac_cv_func_strerror=yes
# ac_cv_func_syscall=yes
# ac_cv_have_dash_pthread=yes
# ac_cv_have_dash_pthreads=no
# ac_cv_header_dlfcn_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_dl_dlopen=yes
# ac_cv_lib_pthread_pthread_create=yes
# ac_cv_lib_pthreads_pthread_create=no
# ac_cv_objext=o
# ac_cv_path_AR=/sysroot/bin/ar
# ac_cv_path_AS=/sysroot/bin/as
# ac_cv_path_LD=/sysroot/bin/ld
# ac_cv_path_PERL=/usr/sbin/perl
# ac_cv_path_STRIP=/sysroot/bin/strip
# ac_cv_path_WHOAMI=/usr/sbin/whoami
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_gcc_traditional=no
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_visibility_hidden=yes
# ac_cv_visibility_pragma=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AIX_LINK_OPTS=''
# AR='/sysroot/bin/ar'
# AR_FLAGS='cr $@'
# AS='$(CC)'
# ASFLAGS='$(CFLAGS)'
# ASM_SUFFIX='s'
# CC='clang'
# CCACHE='no'
# CFLAGS=' -Wall -pthread -O2'
# CPP='clang -E'
# CPPFLAGS=''
# CPU_ARCH='x86'
# CROSS_COMPILE='1'
# CXX='clang++'
# CXXFLAGS=' -Wall -pthread -O2'
# CYGWIN_WRAPPER=''
# DEFINES=' -UDEBUG'
# DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -DHAVE_DLADDR=1 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1 -D_REENTRANT=1'
# DLLFLAGS=''
# DLL_SUFFIX='so'
# DSO_CFLAGS='-fPIC'
# DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# ENABLE_STRIP=''
# EXEEXT=''
# EXEFLAGS=''
# FILTER=''
# GCC_USE_GNU_LD=''
# GNU_CC='1'
# GREP=''
# HOST_CC='clang'
# HOST_CFLAGS=' -DXP_UNIX'
# HOST_LDFLAGS=''
# IMPLIB=''
# LD='/sysroot/bin/ld'
# LDFLAGS=''
# LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)'
# LIBOBJS=''
# LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)'
# LIBS=''
# LIB_SUFFIX='a'
# LTLIBOBJS=''
# MACOSX_DEPLOYMENT_TARGET=''
# MACOS_SDK_DIR=''
# MDCPUCFG_H='_linux.cfg'
# MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
# MOD_MAJOR_VERSION='4'
# MOD_MINOR_VERSION='12'
# MOD_PATCH_VERSION='0'
# MOZILLA_CLIENT=''
# MOZ_DEBUG=''
# MOZ_DEBUG_SYMBOLS=''
# MOZ_OBJFORMAT=''
# MOZ_OPTIMIZE='1'
# MSC_VER=''
# MT=''
# NEXT_ROOT=''
# NOSUCHFILE='/no-such-file'
# NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall'
# NSPR_MODNAME='nspr20'
# OBJDIR='$(OBJDIR_NAME)'
# OBJDIR_NAME='.'
# OBJECT_MODE=''
# OBJEXT='o'
# OBJ_SUFFIX='o'
# OPTIMIZER=''
# OS_ARCH='Linux'
# OS_DLLFLAGS=''
# OS_LIBS='-lpthread -ldl '
# OS_RELEASE='.'
# OS_TARGET='Linux'
# OS_TEST='x86_64'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PERL='/usr/sbin/perl'
# PROFILE_GEN_CFLAGS='-fprofile-generate'
# PROFILE_GEN_LDFLAGS='-fprofile-generate'
# PROFILE_USE_CFLAGS='-fprofile-use -fprofile-correction -Wcoverage-mismatch'
# PROFILE_USE_LDFLAGS='-fprofile-use'
# PR_MD_ARCH_DIR='unix'
# PR_MD_ASFILES='os_Linux_x86_64.s'
# PR_MD_CSRCS='linux.c'
# RANLIB='ranlib'
# RC=''
# RCFLAGS=''
# RELEASE_OBJDIR_NAME='Linux._x86_64_PTH_OPT.OBJ'
# RESOLVE_LINK_SYMBOLS=''
# SHELL='/bin/sh'
# SHELL_OVERRIDE=''
# STRIP='/sysroot/bin/strip'
# SYMBIAN_SDK_DIR=''
# ULTRASPARC_LIBRARY=''
# USE_64='1'
# USE_BTHREADS=''
# USE_CPLUS=''
# USE_IPV6=''
# USE_N32=''
# USE_NSPR_THREADS=''
# USE_PTHREADS='1'
# USE_USER_PTHREADS=''
# USE_X32=''
# VISIBILITY_FLAGS='-fvisibility=hidden'
# WHOAMI='/usr/sbin/whoami'
# WINDRES='echo not_windres'
# WRAP_LDFLAGS=''
# WRAP_SYSTEM_INCLUDES=''
# ac_ct_CC=''
# ac_ct_CXX=''
# 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'
# dist_bindir='${dist_prefix}/bin'
# dist_includedir='${dist_prefix}/include/nspr'
# dist_libdir='${dist_prefix}/lib'
# dist_prefix='${MOD_DEPTH}/dist'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='/usr/include/nspr'
# infodir='${datarootdir}/info'
# libdir='/usr/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define NDEBUG 1
# #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# #define HAVE_VISIBILITY_PRAGMA 1
# #define XP_UNIX 1
# #define _GNU_SOURCE 1
# #define HAVE_FCNTL_FILE_LOCKING 1
# #define LINUX 1
# #define HAVE_DLADDR 1
# #define HAVE_LCHOWN 1
# #define HAVE_SETPRIORITY 1
# #define HAVE_STRERROR 1
# #define HAVE_SYSCALL 1
# #define _REENTRANT 1
#
# configure: exit 0