Build of js185 with clang_glibc toolchain

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

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

SLOCLanguage
210,545 cpp
38,918 ansic
14,939 sh
9,684 asm
3,770 perl
2,873 python
1,003 makefile
449 exp
39 sed
282,220 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: js185 1.0.0-3 (Thu Apr 13 19:31:19 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# checking build system type... x86_64-unknown-linux-gnu
# checking for mawk... no
# checking for gawk... gawk
# checking for perl5... no
# checking for perl... /usr/bin/perl
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking for c++... clang++
# checking whether the C++ compiler (clang++ ) works... yes
# checking whether the C++ compiler (clang++ ) is a cross-compiler... no
# checking whether we are using GNU C++... yes
# checking whether clang++ accepts -g... yes
# checking for ranlib... ranlib
# checking for as... /usr/bin/as
# checking for ar... ar
# checking for ld... ld
# checking for strip... strip
# checking for windres... no
# checking whether clang and cc understand -c and -o together... yes
# checking how to run the C preprocessor... clang -E
# checking how to run the C++ preprocessor... clang++ -E
# checking for sb-conf... no
# checking for ve... no
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking for minimum required perl version >= 5.006... 5.024000
# checking for full perl installation... yes
# checking for python2.7... /usr/bin/python2.7
# checking for doxygen... /usr/bin/doxygen
# checking for autoconf... /usr/bin/autoconf
# checking for unzip... /usr/bin/unzip
# checking for zip... /usr/bin/zip
# checking for makedepend... no
# checking for xargs... /usr/bin/xargs
# checking for gmake... no
# checking for make... /usr/bin/make
# checking for X... libraries , headers
# checking for dnet_ntoa in -ldnet... no
# checking for dnet_ntoa in -ldnet_stub... no
# checking for gethostbyname... yes
# checking for connect... yes
# checking for remove... yes
# checking for shmat... yes
# checking for IceConnectionNumber in -lICE... yes
# checking whether the compiler supports -Wno-invalid-offsetof... yes
# checking whether the compiler supports -Wno-variadic-macros... yes
# checking whether the compiler supports -Werror=return-type... yes
# checking whether ld has archive extraction flags... yes
# checking that static assertion macros used in autoconf tests work... yes
# checking for 64-bit OS... yes
# checking for Python version >= 2.5 but not 3.x... yes
# checking for ANSI C header files... yes
# checking for working const... yes
# checking for mode_t... yes
# checking for off_t... yes
# checking for pid_t... yes
# checking for size_t... yes
# checking for __stdcall... no
# checking for ssize_t... yes
# checking for st_blksize in struct stat... yes
# checking for siginfo_t... yes
# checking for stdint.h... yes
# checking for the size of void*... 8
# checking for the alignment of void*... 8
# checking for the size of double... 8
# checking for int16_t... yes
# checking for int32_t... yes
# checking for int64_t... yes
# checking for int64... no
# checking for uint... yes
# checking for uint_t... no
# checking for uint16_t... no
# checking for uname.domainname... yes
# checking for uname.__domainname... no
# checking for visibility(hidden) attribute... yes
# checking for visibility(default) attribute... yes
# checking for visibility pragma support... yes
# checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no
# checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
# checking for __force_align_arg_pointer__ attribute... no
# checking for dirent.h that defines DIR... yes
# checking for opendir in -ldir... no
# checking for sys/byteorder.h... no
# checking for compat.h... no
# checking for getopt.h... yes
# checking for sys/bitypes.h... yes
# checking for memory.h... yes
# checking for unistd.h... yes
# checking for gnu/libc-version.h... yes
# checking for nl_types.h... yes
# checking for malloc.h... yes
# checking for X11/XKBlib.h... yes
# checking for io.h... no
# checking for sys/statvfs.h... yes
# checking for sys/statfs.h... yes
# checking for sys/vfs.h... yes
# checking for sys/mount.h... yes
# checking for sys/quota.h... yes
# checking for linux/quota.h... yes
# checking for mmintrin.h... yes
# checking for new... yes
# checking for sys/cdefs.h... yes
# checking for linux/perf_event.h... yes
# checking for gethostbyname_r in -lc_r... no
# checking for library containing dlopen... -ldl
# checking for dlfcn.h... yes
# checking for dladdr... yes
# checking for socket in -lsocket... no
# checking for ARM SIMD support in compiler... no
# checking for ARM NEON support in compiler... no
# checking for pthread_create in -lpthreads... no
# checking for pthread_create in -lpthread... yes
# checking whether clang accepts -pthread... yes
# checking whether mmap() sees write()s... yes
# checking whether clang needs -traditional... no
# checking for 8-bit clean memcmp... yes
# checking for fchmod... yes
# checking for flockfile... yes
# checking for getc_unlocked... yes
# checking for _getc_nolock... no
# checking for getpagesize... yes
# checking for lchown... yes
# checking for localtime_r... yes
# checking for lstat64... yes
# checking for memmove... yes
# checking for random... yes
# checking for rint... no
# checking for sbrk... yes
# checking for snprintf... yes
# checking for stat64... yes
# checking for statvfs... yes
# checking for statvfs64... yes
# checking for strerror... yes
# checking for strtok_r... yes
# checking for truncate64... yes
# checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes
# checking for wcrtomb... yes
# checking for mbrtowc... yes
# checking for res_ninit()... yes
# checking for gnu_get_libc_version()... yes
# checking for iconv in -lc... yes
# checking for iconv()... yes
# checking for iconv() with const input... no
# checking for an implementation of va_copy()... yes
# checking for an implementation of __va_copy()... yes
# checking whether va_lists can be copied by value... no
# checking for gcc 3.0 ABI... yes
# checking for C++ "explicit" keyword... yes
# checking for C++ "typename" keyword... yes
# checking for modern C++ template specialization syntax support... yes
# checking whether partial template specialization works... yes
# checking whether operators must be re-defined for templates derived from templates... no
# checking whether we need to cast a derived template to pass as its base class... no
# checking whether the compiler can resolve const ambiguities for templates... yes
# checking whether the C++ "using" keyword can change access... yes
# checking whether the C++ "using" keyword resolves ambiguity... yes
# checking for "std::" namespace... yes
# checking whether standard template operator!=() is ambiguous... unambiguous
# checking for C++ reinterpret_cast... yes
# checking for C++ dynamic_cast to void*... yes
# checking whether C++ requires implementation of unused virtual methods... yes
# checking for trouble comparing to zero near std::operator!=()... no
# checking for __thread keyword for TLS variables... yes
# checking for malloc.h... (cached) yes
# checking for strndup... yes
# checking for posix_memalign... yes
# checking for memalign... yes
# checking for valloc... yes
# checking for __attribute__((always_inline))... no
# checking for __attribute__((malloc))... yes
# checking for __attribute__((warn_unused_result))... yes
# checking for __attribute__((noreturn))... yes
# checking for LC_MESSAGES... yes
# checking for localeconv... yes
# checking for nspr-config... /usr/bin/nspr-config
# checking for NSPR - version >= 4.7.0... yes
# checking for valid optimization flags... yes
# checking for __cxa_demangle... yes
# checking for unwind.h... yes
# checking for _Unwind_Backtrace... yes
# checking for gcc -pipe support... yes
# checking whether C compiler supports -fprofile-generate... yes
# checking whether C++ compiler has -pedantic long long bug... no
# checking for correct temporary object destruction order... yes
# checking for correct overload resolution with const and templates... no
# checking for tm_zone tm_gmtoff in struct tm... yes
# checking for posix_fallocate... yes
# checking for setlocale... yes
# checking for localeconv... (cached) yes
# creating js-confdefs.h
# ==== js-confdefs.h =================================
# /* List of defines generated by configure. Included with preprocessor flag,
# * -include, to avoid long list of -D defines on the compile command-line.
# * Do not edit.
# */
#
# #ifndef _JS_CONFDEFS_H_
# #define _JS_CONFDEFS_H_
#
# #define AVMPLUS_64BIT 1
# #define AVMPLUS_AMD64 1
# #define AVMPLUS_LINUX 1
# #define AVMPLUS_UNIX 1
# #define CPP_THROW_NEW throw()
# #define D_INO d_ino
# #define EDITLINE 1
# #define FEATURE_NANOJIT 1
# #define HAVE_64BIT_OS 1
# #define HAVE_CLOCK_MONOTONIC 1
# #define HAVE_CPP_ACCESS_CHANGING_USING 1
# #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1
# #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1
# #define HAVE_CPP_EXPLICIT 1
# #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1
# #define HAVE_CPP_NAMESPACE_STD 1
# #define HAVE_CPP_NEW_CASTS 1
# #define HAVE_CPP_PARTIAL_SPECIALIZATION 1
# #define HAVE_CPP_TYPENAME 1
# #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1
# #define HAVE_DIRENT_H 1
# #define HAVE_DLADDR 1
# #define HAVE_DLOPEN 1
# #define HAVE_FCHMOD 1
# #define HAVE_FLOCKFILE 1
# #define HAVE_GETC_UNLOCKED 1
# #define HAVE_GETOPT_H 1
# #define HAVE_GETPAGESIZE 1
# #define HAVE_GNU_GET_LIBC_VERSION 1
# #define HAVE_GNU_LIBC_VERSION_H 1
# #define HAVE_I18N_LC_MESSAGES 1
# #define HAVE_ICONV 1
# #define HAVE_INT16_T 1
# #define HAVE_INT32_T 1
# #define HAVE_INT64_T 1
# #define HAVE_LCHOWN 1
# #define HAVE_LINUX_QUOTA_H 1
# #define HAVE_LOCALECONV 1
# #define HAVE_LOCALECONV 1
# #define HAVE_LOCALTIME_R 1
# #define HAVE_LSTAT64 1
# #define HAVE_MALLOC_H 1
# #define HAVE_MBRTOWC 1
# #define HAVE_MEMALIGN 1
# #define HAVE_MEMMOVE 1
# #define HAVE_MEMORY_H 1
# #define HAVE_MMINTRIN_H 1
# #define HAVE_NL_TYPES_H 1
# #define HAVE_POSIX_FALLOCATE 1
# #define HAVE_POSIX_MEMALIGN 1
# #define HAVE_RANDOM 1
# #define HAVE_RES_NINIT 1
# #define HAVE_SBRK 1
# #define HAVE_SETLOCALE 1
# #define HAVE_SIGINFO_T 1
# #define HAVE_SNPRINTF 1
# #define HAVE_SSIZE_T 1
# #define HAVE_STAT64 1
# #define HAVE_STATVFS 1
# #define HAVE_STATVFS64 1
# #define HAVE_STRERROR 1
# #define HAVE_STRNDUP 1
# #define HAVE_STRTOK_R 1
# #define HAVE_ST_BLKSIZE 1
# #define HAVE_SYS_BITYPES_H 1
# #define HAVE_SYS_CDEFS_H 1
# #define HAVE_SYS_MOUNT_H 1
# #define HAVE_SYS_QUOTA_H 1
# #define HAVE_SYS_STATFS_H 1
# #define HAVE_SYS_STATVFS_H 1
# #define HAVE_SYS_VFS_H 1
# #define HAVE_THREAD_TLS_KEYWORD 1
# #define HAVE_TM_ZONE_TM_GMTOFF 1
# #define HAVE_TRUNCATE64 1
# #define HAVE_UINT 1
# #define HAVE_UNAME_DOMAINNAME_FIELD 1
# #define HAVE_UNISTD_H 1
# #define HAVE_VALLOC 1
# #define HAVE_VA_COPY 1
# #define HAVE_VA_LIST_AS_ARRAY 1
# #define HAVE_VISIBILITY_ATTRIBUTE 1
# #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
# #define HAVE_WCRTOMB 1
# #define HAVE_X11_XKBLIB_H 1
# #define HAVE__UNWIND_BACKTRACE 1
# #define HAVE___CXA_DEMANGLE 1
# #define JS_ALIGN_OF_POINTER 8
# #define JS_BITS_PER_WORD_LOG2 6
# #define JS_BYTES_PER_DOUBLE 8
# #define JS_BYTES_PER_WORD 8
# #define JS_CPU_X64 1
# #define JS_HAVE_STDINT_H 1
# #define JS_METHODJIT 1
# #define JS_MONOIC 1
# #define JS_POLYIC 1
# #define JS_POLYIC_TYPED_ARRAY 1
# #define JS_PUNBOX64 1
# #define JS_THREADSAFE 1
# #define JS_TRACER 1
# #define MALLOC_H
# #define MOZ_DLL_SUFFIX ".so"
# #define NEED_CPP_UNUSED_IMPLEMENTATIONS 1
# #define NEW_H
# #define NS_ALWAYS_INLINE
# #define NS_ATTR_MALLOC __attribute__((malloc))
# #define NS_NORETURN __attribute__((noreturn))
# #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
# #define STDC_HEADERS 1
# #define UNIX_ASYNC_DNS 1
# #define VA_COPY va_copy
# #define XP_UNIX 1
# #define _REENTRANT 1
#
# #endif /* _JS_CONFDEFS_H_ */
#
# creating Makefile
# creating shell/Makefile
# creating lirasm/Makefile
# creating jsapi-tests/Makefile
# creating tests/Makefile
# creating config/Makefile
# creating config/mkdepend/Makefile
# creating editline/Makefile
# updating cache ./config.cache
# creating ./config.status
# creating config/autoconf.mk
# creating js-config.h
# invoking make to create js-config script
# rm -f js-config.tmp
# sed < js-config.in > js-config.tmp \
# -e 's|@prefix@|/usr|' \
# -e 's|@exec_prefix@|/usr|' \
# -e 's|@includedir@|/usr/include|' \
# -e 's|@libdir@|/usr/lib|' \
# -e 's|@MOZILLA_VERSION@||' \
# -e 's|@LIBRARY_NAME@|mozjs185|' \
# -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr|' \
# -e 's|@JS_CONFIG_LIBS@|-L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl |' \
# -e 's|@MOZ_JS_LIBS@|-L/usr/lib -lmozjs185|' \
# && mv js-config.tmp js-config && chmod +x js-config
# make export
# make[1]: Entering directory '/tmp/js185/src/js-1.8.5/js/src'
# make -C config/ nsinstall
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/config'
# nsinstall.c
# clang -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nspr nsinstall.c
# pathsub.c
# clang -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nspr pathsub.c
# pathsub.c:131:27: warning: unused parameter 'dir' [-Wunused-parameter]
# ino2name(ino_t ino, char *dir)
# ^
# 1 warning generated.
# clang -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/config'
# Creating /tmp/js185/src/js-1.8.5/js/src/.deps
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/config'
# rm -f nfspwd
# cp nfspwd.pl nfspwd
# chmod +x nfspwd
# /tmp/js185/src/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin
# if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi
# /usr/bin/perl ./preprocessor.pl -DOSTYPE=\"Linux4.10\" -DOSARCH=Linux -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_METHODJIT=1 -DJS_MONOIC=1 -DJS_POLYIC=1 -DJS_POLYIC_TYPED_ARRAY=1 -DFEATURE_NANOJIT=1 -DJS_TRACER=1 -DAVMPLUS_AMD64=1 -DAVMPLUS_64BIT=1 -DAVMPLUS_UNIX=1 -DAVMPLUS_LINUX=1 -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_HAVE_STDINT_H=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\ -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_ICONV=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\ -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE= -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \
# -DBUILD_STATIC_LIBS= \
# ./system-headers | /usr/bin/perl ./make-system-wrappers.pl system_wrappers_js
# /tmp/js185/src/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/config'
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/editline'
# Creating /tmp/js185/src/js-1.8.5/js/src/editline/.deps
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/editline'
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/shell'
# Creating /tmp/js185/src/js-1.8.5/js/src/shell/.deps
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/shell'
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/jsapi-tests'
# Creating /tmp/js185/src/js-1.8.5/js/src/jsapi-tests/.deps
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/jsapi-tests'
# make[2]: Entering directory '/tmp/js185/src/js-1.8.5/js/src/tests'
# make[2]: Nothing to be done for 'export'.
# make[2]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src/tests'
# clang++ -DMDCPUCFG=\"md/_linux.cfg\" -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux4.10\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/include/nspr -o jscpucfg jscpucfg.cpp
# ./jscpucfg > jsautocfg.tmp
# mv jsautocfg.tmp jsautocfg.h
# jskwgen.cpp
# clang++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jskwgen.cpp
# clang++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o
# ./host_jskwgen /tmp/js185/src/js-1.8.5/js/src/jsautokw.h
# /tmp/js185/src/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /tmp/js185/src/js-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h jsbuiltins.h ./nanojit/Assembler.h ./nanojit/Allocator.h ./nanojit/CodeAlloc.h ./nanojit/Containers.h ./nanojit/LIR.h ./nanojit/LIRopcode.tbl ./nanojit/avmplus.h ./nanojit/Fragmento.h ./nanojit/Native.h ./nanojit/NativeCommon.h ./nanojit/NativeX64.h ./nanojit/njconfig.h ./nanojit/njcpudetect.h ./nanojit/RegAlloc.h ./nanojit/nanojit.h ./nanojit/VMPI.h ./tracejit/Writer.h ./perf/jsperf.h ./dist/include
# mkdir -p nanojit
# make[1]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src'
# make libs
# make[1]: Entering directory '/tmp/js185/src/js-1.8.5/js/src'
# jsoplengen.cpp
# clang++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jsoplengen.cpp
# clang++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o
# ./host_jsoplengen /tmp/js185/src/js-1.8.5/js/src/jsautooplen.h
# jsanalyze.cpp
# clang++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.10\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# In file included from ./jsstr.h:56:
# In file included from ./jsobj.h:64:
# ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof]
# JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0);
# ^ ~~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT'
# typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
# ^~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
# struct {
# ^
# ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof]
# return offsetof(JSString, u.chars);
# ^ ~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:62:
# In file included from ./jsfun.h:49:
# ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSConstArray *) ((uint8 *) (this + 1) + constOffset);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:62:
# ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof]
# JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
# ^ ~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT'
# typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
# ^~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:62:
# ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof]
# JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
# ^ ~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT'
# typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
# ^~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:62:
# ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof]
# JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
# ^ ~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT'
# typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
# ^~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:62:
# ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof]
# return offsetof(JSFunction, u.nativeOrScript);
# ^ ~~~~~~~~~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^ ~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align]
# ? COMMON_ATOMS_START(&cx->runtime->atomState)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START'
# ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align]
# return (JSContext *) ((uint8 *) link - offsetof(JSContext, link));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from jsanalyze.cpp:42:
# ./jscompartment.h:372:8: error: visibility does not match previous declaration
# struct JS_FRIEND_API(JSCompartment) {
# ^
# ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API'
# #define JS_FRIEND_API(t) JS_PUBLIC_API(t)
# ^
# ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API'
# # define JS_PUBLIC_API(t) JS_EXPORT_API(t)
# ^
# ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API'
# # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type
# ^
# ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS'
# # define JS_EXTERNAL_VIS __attribute__((visibility ("default")))
# ^
# ././config/gcc_hidden.h:2:13: note: previous attribute is here
# #pragma GCC visibility push(hidden)
# ^
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# In file included from ./jsstr.h:56:
# In file included from ./jsobj.h:65:
# ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized]
# : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0),
# ^
# ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here
# GCHelperThread()
# ^
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# In file included from ./jsstr.h:56:
# In file included from ./jsobj.h:65:
# ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized]
# : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0),
# ^
# ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here
# : AutoGCRooter(cx, tag), vector(cx)
# ^
# ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here
# : AutoVectorRooter(cx, VALVECTOR)
# ^
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# In file included from ./jsstr.h:56:
# In file included from ./jsobj.h:65:
# ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized]
# : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0),
# ^
# ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here
# : AutoGCRooter(cx, tag), vector(cx)
# ^
# ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here
# : AutoVectorRooter(cx, IDVECTOR)
# ^
# In file included from jsanalyze.cpp:40:
# In file included from ./jsanalyze.h:45:
# In file included from ./jscntxt.h:59:
# In file included from ./jsatom.h:52:
# In file included from ./jsstr.h:56:
# In file included from ./jsobj.h:65:
# ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized]
# : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0),
# ^
# ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here
# : AutoGCRooter(cx, tag), vector(cx)
# ^
# ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here
# : AutoVectorRooter(cx, SHAPEVECTOR)
# ^
# 19 warnings and 1 error generated.
# make[1]: *** [config/rules.mk:1477: jsanalyze.o] Error 1
# make[1]: Leaving directory '/tmp/js185/src/js-1.8.5/js/src'
# make: *** [config/rules.mk:754: default] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/js185/src/js-1.8.5/js/src/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:759: checking host system type
# configure:780: checking target system type
# configure:798: checking build system type
# configure:859: checking for mawk
# configure:859: checking for gawk
# configure:983: checking for perl5
# configure:983: checking for perl
# configure:2139: checking for gcc
# configure:2252: checking whether the C compiler (clang ) works
# configure:2268: clang -o conftest conftest.c 1>&5
# configure:2265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:2294: checking whether the C compiler (clang ) is a cross-compiler
# configure:2299: checking whether we are using GNU C
# configure:2308: clang -E conftest.c
# configure:2327: checking whether clang accepts -g
# configure:2363: checking for c++
# configure:2395: checking whether the C++ compiler (clang++ ) works
# configure:2411: clang++ -o conftest conftest.C 1>&5
# configure:2437: checking whether the C++ compiler (clang++ ) is a cross-compiler
# configure:2442: checking whether we are using GNU C++
# configure:2451: clang++ -E conftest.C
# configure:2470: checking whether clang++ accepts -g
# configure:2504: checking for ranlib
# configure:2536: checking for as
# configure:2590: checking for ar
# configure:2625: checking for ld
# configure:2660: checking for strip
# configure:2695: checking for windres
# configure:3465: checking whether clang and cc understand -c and -o together
# configure:3480: clang -c conftest.c -o conftest.o 1>&5
# conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# foo(){}
# ^
# conftest.c:1:7: warning: control reaches end of non-void function [-Wreturn-type]
# foo(){}
# ^
# 2 warnings generated.
# configure:3481: clang -c conftest.c -o conftest.o 1>&5
# conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# foo(){}
# ^
# conftest.c:1:7: warning: control reaches end of non-void function [-Wreturn-type]
# foo(){}
# ^
# 2 warnings generated.
# configure:3486: cc -c conftest.c 1>&5
# conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# foo(){}
# ^
# conftest.c:1:7: warning: control reaches end of non-void function [-Wreturn-type]
# foo(){}
# ^
# 2 warnings generated.
# configure:3488: cc -c conftest.c -o conftest.o 1>&5
# conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# foo(){}
# ^
# conftest.c:1:7: warning: control reaches end of non-void function [-Wreturn-type]
# foo(){}
# ^
# 2 warnings generated.
# configure:3489: cc -c conftest.c -o conftest.o 1>&5
# conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# foo(){}
# ^
# conftest.c:1:7: warning: control reaches end of non-void function [-Wreturn-type]
# foo(){}
# ^
# 2 warnings generated.
# configure:3525: checking how to run the C preprocessor
# configure:3546: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3605: checking how to run the C++ preprocessor
# configure:3623: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:3713: checking for sb-conf
# configure:3713: checking for ve
# configure:3780: checking for a BSD compatible install
# configure:3833: checking whether ln -s works
# configure:3856: checking for minimum required perl version >= 5.006
# configure:3867: checking for full perl installation
# configure:3882: checking for python2.7
# configure:3942: checking for doxygen
# configure:3991: checking for autoconf
# configure:4040: checking for unzip
# configure:4091: checking for zip
# configure:4145: checking for makedepend
# configure:4193: checking for xargs
# configure:4566: checking for gmake
# configure:4566: checking for make
# configure:4629: checking for X
# configure:4696: clang -E conftest.c >/dev/null 2>conftest.out
# configure:4772: clang -o conftest conftest.c -lXt 1>&5
# configure:4768:1: warning: implicit declaration of function 'XtMalloc' is invalid in C99 [-Wimplicit-function-declaration]
# XtMalloc()
# ^
# 1 warning generated.
# configure:4943: checking for dnet_ntoa in -ldnet
# configure:4962: clang -o conftest conftest.c -ldnet 1>&5
# /usr/bin/ld: cannot find -ldnet
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 4951 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char dnet_ntoa();
#
# int main() {
# dnet_ntoa()
# ; return 0; }
# configure:4984: checking for dnet_ntoa in -ldnet_stub
# configure:5003: clang -o conftest conftest.c -ldnet_stub 1>&5
# /usr/bin/ld: cannot find -ldnet_stub
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 4992 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char dnet_ntoa();
#
# int main() {
# dnet_ntoa()
# ; return 0; }
# configure:5032: checking for gethostbyname
# configure:5060: clang -o conftest conftest.c 1>&5
# configure:5130: checking for connect
# configure:5158: clang -o conftest conftest.c 1>&5
# configure:5222: checking for remove
# configure:5250: clang -o conftest conftest.c 1>&5
# configure:5314: checking for shmat
# configure:5342: clang -o conftest conftest.c 1>&5
# configure:5415: checking for IceConnectionNumber in -lICE
# configure:5434: clang -o conftest conftest.c -lICE 1>&5
# configure:5917: checking whether the compiler supports -Wno-invalid-offsetof
# configure:5940: clang++ -c -fno-strict-aliasing -Wno-invalid-offsetof conftest.C 1>&5
# configure:5967: checking whether the compiler supports -Wno-variadic-macros
# configure:5990: clang++ -c -fno-strict-aliasing -Wno-variadic-macros conftest.C 1>&5
# configure:6017: checking whether the compiler supports -Werror=return-type
# configure:6040: clang++ -c -fno-strict-aliasing -Werror=return-type conftest.C 1>&5
# configure:6076: checking whether ld has archive extraction flags
# configure:6100: clang -o conftest -fno-strict-aliasing -Wl,--whole-archive conftest.c -Wl,--no-whole-archive 1>&5
# configure:6133: checking that static assertion macros used in autoconf tests work
# configure:6154: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:6171: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:6171:1: error: 'static_assert_line_6171' declared as an array with a negative size
# CONFIGURE_STATIC_ASSERT(0)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6166:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6167:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6168:94: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
# #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 6164 "configure"
# #include "confdefs.h"
#
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
#
# int main() {
# CONFIGURE_STATIC_ASSERT(0)
# ; return 0; }
# configure:6194: clang++ -c -fno-strict-aliasing conftest.C 1>&5
# configure:6211: clang++ -c -fno-strict-aliasing conftest.C 1>&5
# configure:6211:1: error: 'static_assert_line_6211' declared as an array with a negative size
# CONFIGURE_STATIC_ASSERT(0)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6206:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6207:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6208:94: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
# #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 6204 "configure"
# #include "confdefs.h"
#
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
#
# int main() {
# CONFIGURE_STATIC_ASSERT(0)
# ; return 0; }
# configure:6245: checking for 64-bit OS
# configure:6254: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:6393: checking for Python version >= 2.5 but not 3.x
# configure:8126: checking for ANSI C header files
# configure:8139: clang -E conftest.c >/dev/null 2>conftest.out
# configure:8206: clang -o conftest -fno-strict-aliasing conftest.c 1>&5
# configure:8201:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^
# configure:8201:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:8230: checking for working const
# configure:8284: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8305: checking for mode_t
# configure:8338: checking for off_t
# configure:8371: checking for pid_t
# configure:8404: checking for size_t
# configure:8444: checking for __stdcall
# configure:8458: clang++ -c -fno-strict-aliasing conftest.C 1>&5
# configure:8452:48: warning: calling convention '__stdcall' ignored for this target [-Wignored-attributes]
# template <> struct foo {};
# ^
# configure:8452:38: error: redefinition of 'foo'
# template <> struct foo {};
# ^~~~~~~~~~~~~~~~~~~~~~~~
# configure:8451:38: note: previous definition is here
# template <> struct foo {};
# ^
# 1 warning and 1 error generated.
# configure: failed program was:
# #line 8449 "configure"
# #include "confdefs.h"
# template struct foo;
# template <> struct foo {};
# template <> struct foo {};
# int main() {
#
# ; return 0; }
# configure:8487: checking for ssize_t
# configure:8500: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8522: checking for st_blksize in struct stat
# configure:8535: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8531:18: warning: expression result unused [-Wunused-value]
# struct stat s; s.st_blksize;
# ~ ^~~~~~~~~~
# 1 warning generated.
# configure:8556: checking for siginfo_t
# configure:8569: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8594: checking for stdint.h
# configure:8604: clang -E conftest.c >/dev/null 2>conftest.out
# configure:8840: checking for the size of void*
# configure:8858: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8852:28: error: 'a' declared as an array with a negative size
# int a[sizeof (void*) == 4 ? 1 : -1];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 8848 "configure"
# #include "confdefs.h"
#
# int main() {
#
# int a[sizeof (void*) == 4 ? 1 : -1];
# return 0;
#
# ; return 0; }
# configure:8858: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8895: checking for the alignment of void*
# configure:8916: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8910:28: error: 'a' declared as an array with a negative size
# int a[offsetof(struct aligner, a) == 2 ? 1 : -1];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^
# 1 error generated.
# configure: failed program was:
# #line 8903 "configure"
# #include "confdefs.h"
#
# #include
# struct aligner { char c; void* a; };
#
# int main() {
#
# int a[offsetof(struct aligner, a) == 2 ? 1 : -1];
# return 0;
#
# ; return 0; }
# configure:8916: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8910:28: error: 'a' declared as an array with a negative size
# int a[offsetof(struct aligner, a) == 4 ? 1 : -1];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/bin/../lib/clang/3.8.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
# #define offsetof(t, d) __builtin_offsetof(t, d)
# ^
# 1 error generated.
# configure: failed program was:
# #line 8903 "configure"
# #include "confdefs.h"
#
# #include
# struct aligner { char c; void* a; };
#
# int main() {
#
# int a[offsetof(struct aligner, a) == 4 ? 1 : -1];
# return 0;
#
# ; return 0; }
# configure:8916: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8939: checking for the size of double
# configure:8957: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8951:28: error: 'a' declared as an array with a negative size
# int a[sizeof (double) == 6 ? 1 : -1];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 8947 "configure"
# #include "confdefs.h"
#
# int main() {
#
# int a[sizeof (double) == 6 ? 1 : -1];
# return 0;
#
# ; return 0; }
# configure:8957: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:8980: checking for int16_t
# configure:8993: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9015: checking for int32_t
# configure:9028: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9050: checking for int64_t
# configure:9063: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9085: checking for int64
# configure:9098: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9094:1: error: use of undeclared identifier 'int64'
# int64 foo = 0;
# ^
# 1 error generated.
# configure: failed program was:
# #line 9090 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
# int64 foo = 0;
# ; return 0; }
# configure:9120: checking for uint
# configure:9133: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9155: checking for uint_t
# configure:9168: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9164:7: error: expected ';' after expression
# uint_t foo = 0;
# ^
# ;
# configure:9164:1: error: use of undeclared identifier 'uint_t'
# uint_t foo = 0;
# ^
# configure:9164:8: error: use of undeclared identifier 'foo'
# uint_t foo = 0;
# ^
# 3 errors generated.
# configure: failed program was:
# #line 9160 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
# uint_t foo = 0;
# ; return 0; }
# configure:9190: checking for uint16_t
# configure:9203: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9199:9: error: expected ';' after expression
# uint16_t foo = 0;
# ^
# ;
# configure:9199:1: error: use of undeclared identifier 'uint16_t'
# uint16_t foo = 0;
# ^
# configure:9199:10: error: use of undeclared identifier 'foo'
# uint16_t foo = 0;
# ^
# 3 errors generated.
# configure: failed program was:
# #line 9195 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
# uint16_t foo = 0;
# ; return 0; }
# configure:9234: checking for uname.domainname
# configure:9247: clang++ -c -fno-strict-aliasing conftest.C 1>&5
# configure:9271: checking for uname.__domainname
# configure:9284: clang++ -c -fno-strict-aliasing conftest.C 1>&5
# configure:9280:62: error: no member named '__domainname' in 'utsname'; did you mean 'domainname'?
# (void)uname(res); if (res != 0) { domain = res->__domainname; }
# ^~~~~~~~~~~~
# domainname
# /usr/include/sys/utsname.h:67:10: note: 'domainname' declared here
# char domainname[_UTSNAME_DOMAIN_LENGTH];
# ^
# 1 error generated.
# configure: failed program was:
# #line 9276 "configure"
# #include "confdefs.h"
# #include
# int main() {
# struct utsname *res; char *domain;
# (void)uname(res); if (res != 0) { domain = res->__domainname; }
# ; return 0; }
# configure:9317: checking for visibility(hidden) attribute
# configure:9342: checking for visibility(default) attribute
# configure:9367: checking for visibility pragma support
# configure:9392: checking For gcc visibility bug with class-level attributes (GCC bug 26905)
# configure:9420: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)
# configure:9474: checking for __force_align_arg_pointer__ attribute
# configure:9486: clang -c -fno-strict-aliasing -Werror conftest.c 1>&5
# configure:9480:17: error: unknown attribute '__force_align_arg_pointer__' ignored [-Werror,-Wunknown-attributes]
# __attribute__ ((__force_align_arg_pointer__)) void test() {}
# ^
# 1 error generated.
# configure: failed program was:
# #line 9479 "configure"
# #include "confdefs.h"
# __attribute__ ((__force_align_arg_pointer__)) void test() {}
# int main() {
#
# ; return 0; }
# configure:9513: checking for dirent.h that defines DIR
# configure:9526: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:9551: checking for opendir in -ldir
# configure:9570: clang -o conftest -fno-strict-aliasing conftest.c -ldir 1>&5
# /usr/bin/ld: cannot find -ldir
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 9559 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char opendir();
#
# int main() {
# opendir()
# ; return 0; }
# configure:9643: checking for sys/byteorder.h
# configure:9653: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9649:10: fatal error: 'sys/byteorder.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 9648 "configure"
# #include "confdefs.h"
# #include
# configure:9643: checking for compat.h
# configure:9653: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9649:10: fatal error: 'compat.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 9648 "configure"
# #include "confdefs.h"
# #include
# configure:9643: checking for getopt.h
# configure:9653: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9683: checking for sys/bitypes.h
# configure:9693: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9683: checking for memory.h
# configure:9693: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9683: checking for unistd.h
# configure:9693: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9723: checking for gnu/libc-version.h
# configure:9733: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9723: checking for nl_types.h
# configure:9733: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9763: checking for malloc.h
# configure:9773: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9803: checking for X11/XKBlib.h
# configure:9813: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9843: checking for io.h
# configure:9853: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9849:10: fatal error: 'io.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 9848 "configure"
# #include "confdefs.h"
# #include
# configure:9884: checking for sys/statvfs.h
# configure:9894: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9884: checking for sys/statfs.h
# configure:9894: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9884: checking for sys/vfs.h
# configure:9894: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9884: checking for sys/mount.h
# configure:9894: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9925: checking for sys/quota.h
# configure:9935: clang -E conftest.c >/dev/null 2>conftest.out
# configure:9965: checking for linux/quota.h
# configure:9975: clang -E conftest.c >/dev/null 2>conftest.out
# configure:10006: checking for mmintrin.h
# configure:10016: clang -E conftest.c >/dev/null 2>conftest.out
# configure:10053: checking for new
# configure:10063: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:10155: checking for sys/cdefs.h
# configure:10165: clang -E conftest.c >/dev/null 2>conftest.out
# configure:10196: checking for linux/perf_event.h
# configure:10206: clang -E conftest.c >/dev/null 2>conftest.out
# configure:10234: checking for gethostbyname_r in -lc_r
# configure:10253: clang -o conftest -fno-strict-aliasing conftest.c -lc_r 1>&5
# /usr/bin/ld: cannot find -lc_r
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 10242 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char gethostbyname_r();
#
# int main() {
# gethostbyname_r()
# ; return 0; }
# configure:10293: checking for library containing dlopen
# configure:10311: clang -o conftest -fno-strict-aliasing conftest.c 1>&5
# /tmp/conftest-712115.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `dlopen'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 10300 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char dlopen();
#
# int main() {
# dlopen()
# ; return 0; }
# configure:10333: clang -o conftest -fno-strict-aliasing conftest.c -ldl 1>&5
# configure:10351: checking for dlfcn.h
# configure:10361: clang -E conftest.c >/dev/null 2>conftest.out
# configure:10396: checking for dladdr
# configure:10424: clang -o conftest -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ldl 1>&5
# configure:10559: checking for socket in -lsocket
# configure:10578: clang -o conftest -fno-strict-aliasing conftest.c -lsocket -ldl 1>&5
# /usr/bin/ld: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 10567 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char socket();
#
# int main() {
# socket()
# ; return 0; }
# configure:10608: checking for ARM SIMD support in compiler
# configure:10617: clang -c -fno-strict-aliasing conftest.c 1>&5
# configure:10613:5: error: invalid instruction mnemonic 'uqadd8'
# asm("uqadd8 r1, r1, r2");
# ^
# :1:2: note: instantiated into assembly here
# uqadd8 r1, r1, r2
# ^~~~~~
# 1 error generated.
# configure: failed program was:
# #line 10610 "configure"
# #include "confdefs.h"
#
# int main() {
# asm("uqadd8 r1, r1, r2");
# ; return 0; }
# configure:10638: checking for ARM NEON support in compiler
# configure:10652: clang -c -fno-strict-aliasing -mfpu=neon -mfloat-abi=softfp conftest.c 1>&5
# clang-3.8: warning: argument unused during compilation: '-mfpu=neon'
# clang-3.8: warning: argument unused during compilation: '-mfloat-abi=softfp'
# configure:10648:5: error: invalid instruction mnemonic 'vadd.i8'
# asm("vadd.i8 d0, d0, d0");
# ^
# :1:2: note: instantiated into assembly here
# vadd.i8 d0, d0, d0
# ^~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 10645 "configure"
# #include "confdefs.h"
#
# int main() {
# asm("vadd.i8 d0, d0, d0");
# ; return 0; }
# configure:10680: checking for pthread_create in -lpthreads
# clang -o dummy dummy.c -fno-strict-aliasing -lpthreads -ldl
# dummy.c:4:38: warning: control reaches end of non-void function [-Wreturn-type]
# void *foo(void *v) { int a = 1; }
# ^
# 1 warning generated.
# /usr/bin/ld: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:10703: checking for pthread_create in -lpthread
# clang -o dummy dummy.c -fno-strict-aliasing -lpthread -ldl
# dummy.c:4:38: warning: control reaches end of non-void function [-Wreturn-type]
# void *foo(void *v) { int a = 1; }
# ^
# 1 warning generated.
# configure:10808: checking whether clang accepts -pthread
# configure:10926: checking whether mmap() sees write()s
# configure:10969: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:10994: checking whether clang needs -traditional
# configure:11040: checking for 8-bit clean memcmp
# configure:11058: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11050:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:11053:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
# ^
# configure:11053:3: note: include the header or explicitly provide a declaration for 'exit'
# configure:11053:8: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
# exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
# ^
# configure:11053:8: note: include the header or explicitly provide a declaration for 'memcmp'
# 3 warnings generated.
# configure:11080: checking for fchmod
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for flockfile
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for getc_unlocked
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for _getc_nolock
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# /tmp/conftest-f93897.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `_getc_nolock'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 11085 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char _getc_nolock(); below. */
# #include
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char _getc_nolock();
#
# int main() {
#
# /* 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__getc_nolock) || defined (__stub____getc_nolock)
# choke me
# #else
# _getc_nolock();
# #endif
#
# ; return 0; }
# configure:11080: checking for getpagesize
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for lchown
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for localtime_r
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for lstat64
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for memmove
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11092:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
# char memmove();
# ^
# configure:11092:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
# 1 warning generated.
# configure:11080: checking for random
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for rint
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11092:6: warning: incompatible redeclaration of library function 'rint' [-Wincompatible-library-redeclaration]
# char rint();
# ^
# configure:11092:6: note: 'rint' is a builtin with type 'double (double)'
# 1 warning generated.
# /tmp/conftest-32dad5.o: In function `main':
# conftest.c:(.text+0x1b): undefined reference to `rint'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 11085 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char rint(); below. */
# #include
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char rint();
#
# int main() {
#
# /* 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_rint) || defined (__stub___rint)
# choke me
# #else
# rint();
# #endif
#
# ; return 0; }
# configure:11080: checking for sbrk
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for snprintf
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11092:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
# char snprintf();
# ^
# configure:11092:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
# 1 warning generated.
# configure:11080: checking for stat64
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for statvfs
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for statvfs64
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for strerror
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11092:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:11092:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:11080: checking for strtok_r
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11080: checking for truncate64
# configure:11108: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11136: checking for clock_gettime(CLOCK_MONOTONIC) and -lrt
# configure:11149: clang -o conftest -fno-strict-aliasing -pthread -lpthread -lrt conftest.c -ldl 1>&5
# configure:11182: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11176:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 11175 "configure"
# #include "confdefs.h"
# #include
# int main() {
# SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);
# ; return 0; }
# configure:11206: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11200:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 11199 "configure"
# #include "confdefs.h"
# #include
# int main() {
# FILETIME ft;GetSystemTimeAsFileTime(&ft);
# ; return 0; }
# configure:11233: checking for wcrtomb
# configure:11245: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:11265: checking for mbrtowc
# configure:11277: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:11306: checking for res_ninit()
# configure:11323: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# In file included from configure:11316:
# In file included from /usr/include/resolv.h:56:
# In file included from /usr/include/sys/types.h:25:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# 1 warning generated.
# configure:11353: checking for gnu_get_libc_version()
# configure:11369: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:11398: checking for iconv in -lc
# configure:11420: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -lc -ldl 1>&5
# configure:11529: checking for iconv()
# configure:11548: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:11572: checking for iconv() with const input
# configure:11592: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:11586:17: error: no matching function for call to 'iconv'
# iconv(h, &input, NULL, NULL, NULL);
# ^~~~~
# /usr/include/iconv.h:42:15: note: candidate function not viable: no known conversion from 'const char **' to 'char **__restrict' for 2nd argument
# extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
# ^
# 1 error generated.
# configure: failed program was:
# #line 11577 "configure"
# #include "confdefs.h"
#
# #include
# #include
#
# int main() {
#
# const char *input = "testing";
# iconv_t h = iconv_open("", "");
# iconv(h, &input, NULL, NULL, NULL);
# iconv_close(h);
#
# ; return 0; }
# configure:11628: checking for an implementation of va_copy()
# configure:11652: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11646:17: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (1);
# ^
# configure:11646:17: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:11669: checking for an implementation of __va_copy()
# configure:11693: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11687:17: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (1);
# ^
# configure:11687:17: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:11710: checking whether va_lists can be copied by value
# configure:11734: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:11726:19: error: array type 'va_list' (aka '__builtin_va_list') is not assignable
# args2 = args1;
# ~~~~~ ^
# configure:11728:17: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (1);
# ^
# configure:11728:17: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning and 1 error generated.
# configure: failed program was:
# #line 11720 "configure"
# #include "confdefs.h"
#
# #include
# void f (int i, ...) {
# va_list args1, args2;
# va_start (args1, i);
# args2 = args1;
# if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
# exit (1);
# va_end (args1); va_end (args2);
# }
# int main() { f (0, 42); return 0; }
# configure:11883: checking for gcc 3.0 ABI
# configure:11901: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:11925: checking for C++ "explicit" keyword
# configure:11940: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:11961: checking for C++ "typename" keyword
# configure:11985: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12006: checking for modern C++ template specialization syntax support
# configure:12021: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12043: checking whether partial template specialization works
# configure:12056: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12077: checking whether operators must be re-defined for templates derived from templates
# configure:12094: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12116: checking whether we need to cast a derived template to pass as its base class
# configure:12130: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12151: checking whether the compiler can resolve const ambiguities for templates
# configure:12177: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12199: checking whether the C++ "using" keyword can change access
# configure:12212: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12223: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12219:15: error: 'foo' is a private member of 'B'
# B b; return b.foo();
# ^
# configure:12217:63: note: declared private here
# class B : public A { private: using A::foo; };
# ^
# 1 error generated.
# configure: failed program was:
# #line 12215 "configure"
# #include "confdefs.h"
# class A { public: int foo() { return 1; } };
# class B : public A { private: using A::foo; };
# int main() {
# B b; return b.foo();
# ; return 0; }
# configure:12251: checking whether the C++ "using" keyword resolves ambiguity
# configure:12272: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12293: checking for "std::" namespace
# configure:12305: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12326: checking whether standard template operator!=() is ambiguous
# configure:12341: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12363: checking for C++ reinterpret_cast
# configure:12376: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12397: checking for C++ dynamic_cast to void*
# configure:12424: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:12448: checking whether C++ requires implementation of unused virtual methods
# configure:12460: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# /tmp/conftest-26e6da.o: In function `X::X()':
# conftest.C:(.text._ZN1XC2Ev[_ZN1XC2Ev]+0x6): undefined reference to `vtable for X'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 12453 "configure"
# #include "confdefs.h"
# class X {private: virtual void never_called();};
# int main() {
# X x;
# ; return 0; }
# configure:12483: checking for trouble comparing to zero near std::operator!=()
# configure:12499: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12523: checking for __thread keyword for TLS variables
# configure:12535: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread -fPIC -shared -Wl,-z,defs conftest.C -ldl 1>&5
# configure:12572: checking for malloc.h
# configure:12684: checking for strndup
# configure:12715: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:12684: checking for posix_memalign
# configure:12715: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:12684: checking for memalign
# configure:12715: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:12684: checking for valloc
# configure:12715: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:12742: checking for __attribute__((always_inline))
# configure:12754: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12750:1: error: inline declaration of 'f' not allowed in block scope
# inline void f(void) __attribute__((always_inline));
# ^~~~~~~
# 1 error generated.
# configure: failed program was:
# #line 12747 "configure"
# #include "confdefs.h"
#
# int main() {
# inline void f(void) __attribute__((always_inline));
# ; return 0; }
# configure:12769: checking for __attribute__((malloc))
# configure:12781: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12796: checking for __attribute__((warn_unused_result))
# configure:12808: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12823: checking for __attribute__((noreturn))
# configure:12835: clang++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
# configure:12859: checking for LC_MESSAGES
# configure:12871: clang -c -fno-strict-aliasing -pthread conftest.c 1>&5
# configure:12894: checking for localeconv
# configure:12922: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:13092: checking for nspr-config
# configure:13127: checking for NSPR - version >= 4.7.0
# configure:13195: clang -c -fno-strict-aliasing -pthread -I/usr/include/nspr conftest.c 1>&5
# configure:13445: checking for valid optimization flags
# configure:13456: clang -c -fno-strict-aliasing -pthread -Os -freorder-blocks -fomit-frame-pointer conftest.c 1>&5
# clang-3.8: warning: optimization flag '-freorder-blocks' is not supported
# configure:14167: checking for __cxa_demangle
# configure:14198: clang++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
# configure:14246: checking for unwind.h
# configure:14256: clang -E conftest.c >/dev/null 2>conftest.out
# configure:14275: checking for _Unwind_Backtrace
# configure:14303: clang -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
# configure:14352: checking for gcc -pipe support
# dummy-hello.c:2:39: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# int main() { printf("Hello World\n"); exit(0); }
# ^
# dummy-hello.c:2:39: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:14374: clang -c -fno-strict-aliasing -pthread -pipe conftest.c 1>&5
# configure:14419: checking whether C compiler supports -fprofile-generate
# configure:14428: clang -c -fno-strict-aliasing -pthread -pipe -fprofile-generate -fprofile-correction conftest.c 1>&5
# clang-3.8: warning: optimization flag '-fprofile-correction' is not supported
# configure:14492: checking whether C++ compiler has -pedantic long long bug
# configure:14501: clang++ -c -fno-strict-aliasing -pthread -pipe -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long conftest.C 1>&5
# configure:14501:1: warning: unused typedef 'static_assert_line_14501' [-Wunused-local-typedef]
# CONFIGURE_STATIC_ASSERT(sizeof(long long) == 8)
# ^
# configure:14496:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# ^
# configure:14497:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# ^
# configure:14498:68: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
# #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
# ^
# :3:1: note: expanded from here
# static_assert_line_14501
# ^
# 1 warning generated.
# configure:14526: checking for correct temporary object destruction order
# configure:14554: clang++ -o conftest -fno-strict-aliasing -pthread -pipe -lpthread conftest.C -ldl 1>&5
# configure:14575: checking for correct overload resolution with const and templates
# configure:14610: clang++ -c -fno-strict-aliasing -pthread -pipe -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long conftest.C 1>&5
# configure:14633: checking for tm_zone tm_gmtoff in struct tm
# configure:14645: clang++ -c -fno-strict-aliasing -pthread -pipe conftest.C 1>&5
# configure:15127: checking for posix_fallocate
# configure:15137: clang -o conftest -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -lpthread conftest.c -ldl 1>&5
# configure:15282: checking for setlocale
# configure:15310: clang -o conftest -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -lpthread conftest.c -ldl 1>&5
# configure:15337: checking for localeconv