Build of js with musl toolchain

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

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

SLOCLanguage
501,028 cpp
115,445 ansic
52,680 python
19,474 sh
9,294 asm
2,003 perl
449 exp
271 makefile
42 csh
35 sed
700,721 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: js 24.2.0-3 (Wed Apr 5 01:44:06 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 gawk... gawk
# checking for perl5... no
# checking for perl... /usr/sbin/perl
# Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./config/milestone.pl line 59.
# Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./config/milestone.pl line 59.
# Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./config/milestone.pl line 59.
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... yes
# 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... yes
# checking whether we are using GNU C++... yes
# checking whether clang++ accepts -g... yes
# checking for ranlib... ranlib
# checking for as... /sysroot/bin/as
# checking for ar... ar
# checking for ld... ld
# checking for strip... strip
# checking for windres... no
# 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 tar archiver... checking for gnutar... no
# checking for gtar... no
# checking for tar... tar
# tar
# checking for minimum required perl version >= 5.006... 5.024000
# checking for full perl installation... yes
# checking for python2.7... /usr/sbin/python2.7
# Creating Python environment
# New python executable in /tmp/js/src/mozjs-24.2.0/js/src/_virtualenv/bin/python2.7
# Also creating executable in /tmp/js/src/mozjs-24.2.0/js/src/_virtualenv/bin/python
# Installing setuptools............done.
# Installing pip...............done.
# running build_ext
# copying build/lib.linux-x86_64-2.7/_psutil_linux.so ->
# copying build/lib.linux-x86_64-2.7/_psutil_posix.so ->
#
# checking Python environment is Mozilla virtualenv... yes
# checking for doxygen... /usr/sbin/doxygen
# checking for autoconf... /usr/sbin/autoconf
# checking for xargs... /usr/sbin/xargs
# checking for gmake... no
# checking for make... /usr/sbin/make
# checking for X... libraries /usr/lib, headers /usr/include
# 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 that static assertion macros used in autoconf tests work... yes
# checking for --build-id option to ld... yes
# checking whether the C compiler supports -Werror=return-type... yes
# checking whether the C compiler supports -Wtype-limits... yes
# checking whether the C compiler supports -Wempty-body... yes
# checking whether the C compiler supports -Wsign-compare... yes
# checking whether the C++ compiler supports -Werror=return-type... yes
# checking whether the C++ compiler supports -Wtype-limits... yes
# checking whether the C++ compiler supports -Wempty-body... yes
# checking whether the C++ compiler supports -Werror=conversion-null... yes
# checking whether the C++ compiler supports -Wsign-compare... yes
# checking whether the C++ compiler supports -Wno-invalid-offsetof... yes
# checking whether the C++ compiler supports -Wno-extended-offsetof... yes
# checking whether ld has archive extraction flags... yes
# checking for 64-bit OS... yes
# checking for custom implementation... none specified
# checking whether the linker supports Identical Code Folding... yes
# checking whether removing dead symbols breaks debugging... no
# 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 the size of void*... 8
# checking for endian.h... yes
# checking for machine/endian.h... no
# checking for sys/isa_defs.h... no
# checking for uint... yes
# checking for uint_t... no
# checking for uname.domainname... yes
# checking for uname.__domainname... no
# checking for gcc c++0x headers bug without rtti... 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 gcc PR49911... no
# checking for gcc pr39608... no
# checking for llvm pr8927... 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... no
# checking for memory.h... yes
# checking for unistd.h... yes
# checking for gnu/libc-version.h... no
# checking for nl_types.h... yes
# checking for malloc.h... yes
# checking for X11/XKBlib.h... no
# checking for io.h... no
# checking for cpuid.h... yes
# 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... no
# checking for new... yes
# checking for sys/cdefs.h... no
# checking for linux/perf_event.h... no
# checking for gethostbyname_r in -lc_r... no
# checking for library containing dlopen... none required
# checking for dlfcn.h... yes
# checking for dladdr... yes
# checking for socket in -lsocket... no
# checking for pthread_create in -lpthreads... no
# checking for pthread_create in -lpthread... yes
# checking whether clang accepts -pthread... yes
# checking whether clang needs -traditional... no
# checking for 8-bit clean memcmp... no
# 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... yes
# 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 wcrtomb... yes
# checking for mbrtowc... yes
# checking for res_ninit()... no
# checking for gnu_get_libc_version()... no
# checking for an implementation of va_copy()... no
# checking for an implementation of __va_copy()... no
# checking whether va_lists can be copied by value... yes
# checking whether the C++ "using" keyword resolves ambiguity... yes
# checking for C++ dynamic_cast to void*... no
# 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 __attribute__((always_inline))... yes
# checking for __attribute__((malloc))... yes
# checking for __attribute__((warn_unused_result))... yes
# checking for LC_MESSAGES... yes
# checking for localeconv... yes
# checking for nspr-config... /usr/sbin/nspr-config
# checking for NSPR - version >= 4.9.2... yes
# checking for gzread in -lz... no
# checking for pkg-config... /usr/sbin/pkg-config
# checking for libffi >= 3.0.9... yes
# checking MOZ_FFI_CFLAGS... -I/usr/lib/libffi-3.2.1/include
# checking MOZ_FFI_LIBS... -L/usr/lib/../lib -lffi
# checking for valid optimization flags... yes
# checking for __cxa_demangle... yes
# checking for unwind.h... yes
# checking for _Unwind_Backtrace... no
# checking for -pipe support... yes
# checking whether C compiler supports -fprofile-generate... yes
# checking for correct overload resolution with const and templates... no
# checking for tm_zone tm_gmtoff in struct tm... yes
# checking what kind of list files are supported by the linker... linkerscript
# checking what kind of ordering can be done with the linker... section-ordering-file
# checking for readline in -lreadline... no
# configure: error: No system readline library found.
# ------ config.log ------
# configure:14342: checking for correct overload resolution with const and templates
# configure:14377: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -Qunused-arguments conftest.C 1>&5
# configure:14403: checking for tm_zone tm_gmtoff in struct tm
# configure:14415: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -Qunused-arguments conftest.C 1>&5
# configure:14457: checking what kind of list files are supported by the linker
# configure:14462: clang -o conftest.o -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments conftest.c 1>&5
# configure:14464: clang -o conftest -lpthread -Wl,--build-id -Wl,--icf=safe conftest.list 1>&5
# configure:14490: checking what kind of ordering can be done with the linker
# configure:14505: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe -Wl,--section-ordering-file,conftest.order conftest.c 1>&5
# configure:14591: checking for readline in -lreadline
# configure:14610: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c -lreadline 1>&5
# /sysroot/bin/ld: error: cannot find -lreadline
# /tmp/conftest-b2a034.o:conftest.c:function main: error: undefined reference to 'readline'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 14599 "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 readline();
#
# int main() {
# readline()
# ; return 0; }
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/js/src/mozjs-24.2.0/js/src/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:861: checking host system type
# configure:882: checking target system type
# configure:900: checking build system type
# configure:961: checking for gawk
# configure:1208: checking for perl5
# configure:1208: checking for perl
# configure:2624: checking for gcc
# configure:2737: checking whether the C compiler (clang ) works
# configure:2753: clang -o conftest conftest.c 1>&5
# configure:2750:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:2779: checking whether the C compiler (clang ) is a cross-compiler
# configure:2784: checking whether we are using GNU C
# configure:2793: clang -E conftest.c
# configure:2812: checking whether clang accepts -g
# configure:2848: checking for c++
# configure:2880: checking whether the C++ compiler (clang++ ) works
# configure:2896: clang++ -o conftest conftest.C 1>&5
# configure:2922: checking whether the C++ compiler (clang++ ) is a cross-compiler
# configure:2927: checking whether we are using GNU C++
# configure:2936: clang++ -E conftest.C
# configure:2955: checking whether clang++ accepts -g
# configure:3004: clang -c conftest.c 1>&5
# configure:3021: clang -c conftest.c 1>&5
# configure:3017:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (42);
# ^
# configure:3017:1: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:3040: checking for ranlib
# configure:3072: checking for as
# configure:3126: checking for ar
# configure:3161: checking for ld
# configure:3196: checking for strip
# configure:3231: checking for windres
# configure:3751: checking how to run the C preprocessor
# configure:3772: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3831: checking how to run the C++ preprocessor
# configure:3849: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:3908: checking for sb-conf
# configure:3908: checking for ve
# configure:3970: checking for a BSD compatible install
# configure:4023: checking whether ln -s works
# configure:4045: checking for tar archiver
# configure:4051: checking for gnutar
# configure:4051: checking for gtar
# configure:4051: checking for tar
# configure:4089: checking for minimum required perl version >= 5.006
# configure:4100: checking for full perl installation
# configure:4118: checking for python2.7
# configure:4218: checking Python environment is Mozilla virtualenv
# configure:4234: checking for doxygen
# configure:4283: checking for autoconf
# configure:4332: checking for xargs
# configure:4547: checking for gmake
# configure:4547: checking for make
# configure:4614: checking for X
# configure:4681: clang -E conftest.c >/dev/null 2>conftest.out
# configure:4677:10: fatal error: 'X11/Intrinsic.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 4676 "configure"
# #include "confdefs.h"
# #include
# configure:4757: clang -o conftest conftest.c -lXt 1>&5
# configure:4753:1: warning: implicit declaration of function 'XtMalloc' is invalid in C99 [-Wimplicit-function-declaration]
# XtMalloc()
# ^
# 1 warning generated.
# /sysroot/bin/ld: error: cannot find -lXt
# /tmp/conftest-b9a5d4.o:conftest.c:function main: error: undefined reference to 'XtMalloc'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 4750 "configure"
# #include "confdefs.h"
#
# int main() {
# XtMalloc()
# ; return 0; }
# configure:4931: checking for dnet_ntoa in -ldnet
# configure:4950: clang -o conftest conftest.c -ldnet 1>&5
# /sysroot/bin/ld: error: cannot find -ldnet
# /tmp/conftest-d098d1.o:conftest.c:function main: error: undefined reference to 'dnet_ntoa'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 4939 "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:4972: checking for dnet_ntoa in -ldnet_stub
# configure:4991: clang -o conftest conftest.c -ldnet_stub 1>&5
# /sysroot/bin/ld: error: cannot find -ldnet_stub
# /tmp/conftest-231196.o:conftest.c:function main: error: undefined reference to 'dnet_ntoa'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 4980 "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:5020: checking for gethostbyname
# configure:5048: clang -o conftest conftest.c 1>&5
# configure:5118: checking for connect
# configure:5146: clang -o conftest conftest.c 1>&5
# configure:5210: checking for remove
# configure:5238: clang -o conftest conftest.c 1>&5
# configure:5302: checking for shmat
# configure:5330: clang -o conftest conftest.c 1>&5
# configure:5403: checking for IceConnectionNumber in -lICE
# configure:5422: clang -o conftest -L/usr/lib conftest.c -lICE 1>&5
# configure:5807: clang -c conftest.c 1>&5
# configure:5803:15: error: use of undeclared identifier '__thumb2__'
# return sizeof(__thumb2__);
# ^
# 1 error generated.
# configure: failed program was:
# #line 5800 "configure"
# #include "confdefs.h"
#
# int main() {
# return sizeof(__thumb2__);
# ; return 0; }
# configure:6016: checking that static assertion macros used in autoconf tests work
# configure:6037: clang -c conftest.c 1>&5
# configure:6054: clang -c conftest.c 1>&5
# configure:6054:1: error: 'static_assert_line_6054' declared as an array with a negative size
# CONFIGURE_STATIC_ASSERT(0)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6049:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6050:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6051: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 6047 "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:6077: clang++ -c conftest.C 1>&5
# configure:6094: clang++ -c conftest.C 1>&5
# configure:6094:1: error: 'static_assert_line_6094' declared as an array with a negative size
# CONFIGURE_STATIC_ASSERT(0)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6089:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
# #define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6090:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
# #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# configure:6091: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 6087 "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:6257: checking for --build-id option to ld
# configure:6268: clang -o conftest -std=gnu99 -fgnu89-inline -Qunused-arguments -Wl,--build-id conftest.c 1>&5
# configure:6292: checking whether the C compiler supports -Werror=return-type
# configure:6315: clang -c -std=gnu99 -fgnu89-inline -Werror -Werror=return-type -Qunused-arguments conftest.c 1>&5
# configure:6343: checking whether the C compiler supports -Wtype-limits
# configure:6366: clang -c -std=gnu99 -fgnu89-inline -Werror -Wtype-limits -Qunused-arguments conftest.c 1>&5
# configure:6394: checking whether the C compiler supports -Wempty-body
# configure:6417: clang -c -std=gnu99 -fgnu89-inline -Werror -Wempty-body -Qunused-arguments conftest.c 1>&5
# configure:6445: checking whether the C compiler supports -Wsign-compare
# configure:6468: clang -c -std=gnu99 -fgnu89-inline -Werror -Wsign-compare -Qunused-arguments conftest.c 1>&5
# configure:6553: checking whether the C++ compiler supports -Werror=return-type
# configure:6576: clang++ -c -Werror -Werror=return-type -Qunused-arguments conftest.C 1>&5
# configure:6604: checking whether the C++ compiler supports -Wtype-limits
# configure:6627: clang++ -c -Werror -Wtype-limits -Qunused-arguments conftest.C 1>&5
# configure:6655: checking whether the C++ compiler supports -Wempty-body
# configure:6678: clang++ -c -Werror -Wempty-body -Qunused-arguments conftest.C 1>&5
# configure:6706: checking whether the C++ compiler supports -Werror=conversion-null
# configure:6729: clang++ -c -Werror -Werror=conversion-null -Qunused-arguments conftest.C 1>&5
# configure:6757: checking whether the C++ compiler supports -Wsign-compare
# configure:6780: clang++ -c -Werror -Wsign-compare -Qunused-arguments conftest.C 1>&5
# configure:6812: checking whether the C++ compiler supports -Wno-invalid-offsetof
# configure:6835: clang++ -c -Werror -Winvalid-offsetof -Qunused-arguments conftest.C 1>&5
# configure:6887: checking whether the C++ compiler supports -Wno-extended-offsetof
# configure:6910: clang++ -c -Werror -Wextended-offsetof -Qunused-arguments conftest.C 1>&5
# configure:6948: checking whether ld has archive extraction flags
# configure:6972: clang -o conftest -std=gnu99 -fgnu89-inline -Qunused-arguments -Wl,--whole-archive conftest.c -Wl,--no-whole-archive 1>&5
# configure:7007: checking for 64-bit OS
# configure:7016: clang -c -std=gnu99 -fgnu89-inline -Qunused-arguments conftest.c 1>&5
# configure:7137: checking for custom implementation
# configure:8520: checking whether the linker supports Identical Code Folding
# configure:8529: clang -o conftest -Wl,--build-id -Wl,--icf=safe -ffunction-sections conftest.c 1>&2
# configure:8551: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -Wl,--build-id -Wl,--icf=safe -Wl,--print-icf-sections conftest.c 1>&5
# /sysroot/bin/ld: ICF Converged after 2 iteration(s)
# /sysroot/bin/ld: ICF folding section '.text' in file '/sysroot/bin/../lib/clang/3.8.1/crtbegin.o' into '.text' in file '/sysroot/bin/../lib/crti.o'
# /sysroot/bin/ld: ICF folding section '.text' in file '/tmp/conftest-93a8c9.o' into '.text' in file '/sysroot/bin/../lib/crti.o'
# /sysroot/bin/ld: ICF folding section '.text' in file '/sysroot/bin/../lib/clang/3.8.1/crtend.o' into '.text' in file '/sysroot/bin/../lib/crti.o'
# /sysroot/bin/ld: ICF folding section '.text' in file '/sysroot/bin/../lib/crtn.o' into '.text' in file '/sysroot/bin/../lib/crti.o'
# configure:8569: checking whether removing dead symbols breaks debugging
# configure:8576: clang -o conftest.o -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -g -c conftest.c 1>&2
# configure:8577: clang -o conftest -Wl,--build-id -Wl,--icf=safe -g -Wl,--gc-sections conftest.o 1>&2
# configure:8600: checking for ANSI C header files
# configure:8613: clang -E -Qunused-arguments conftest.c >/dev/null 2>conftest.out
# configure:8707: checking for working const
# configure:8761: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:8785: checking for mode_t
# configure:8821: checking for off_t
# configure:8857: checking for pid_t
# configure:8893: checking for size_t
# configure:8936: checking for __stdcall
# configure:8950: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:8944:48: warning: calling convention '__stdcall' ignored for this target [-Wignored-attributes]
# template <> struct foo {};
# ^
# configure:8944:38: error: redefinition of 'foo'
# template <> struct foo {};
# ^~~~~~~~~~~~~~~~~~~~~~~~
# configure:8943:38: note: previous definition is here
# template <> struct foo {};
# ^
# 1 warning and 1 error generated.
# configure: failed program was:
# #line 8941 "configure"
# #include "confdefs.h"
# template struct foo;
# template <> struct foo {};
# template <> struct foo {};
# int main() {
#
# ; return 0; }
# configure:8982: checking for ssize_t
# configure:8995: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9020: checking for st_blksize in struct stat
# configure:9033: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9029:18: warning: expression result unused [-Wunused-value]
# struct stat s; s.st_blksize;
# ~ ^~~~~~~~~~
# 1 warning generated.
# configure:9057: checking for siginfo_t
# configure:9070: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9097: checking for the size of void*
# configure:9115: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9109: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 9105 "configure"
# #include "confdefs.h"
#
# int main() {
#
# int a[sizeof (void*) == 4 ? 1 : -1];
# return 0;
#
# ; return 0; }
# configure:9115: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9163: checking for endian.h
# configure:9176: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9219: checking for machine/endian.h
# configure:9232: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9226:10: fatal error: 'machine/endian.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 9224 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
#
# ; return 0; }
# configure:9275: checking for sys/isa_defs.h
# configure:9288: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9282:10: fatal error: 'sys/isa_defs.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 9280 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:9328: checking for uint
# configure:9341: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9366: checking for uint_t
# configure:9379: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:9375:1: error: unknown type name 'uint_t'; did you mean 'uint8_t'?
# uint_t foo = 0;
# ^~~~~~
# uint8_t
# /sysroot/include/bits/alltypes.h:162:25: note: 'uint8_t' declared here
# typedef unsigned char uint8_t;
# ^
# 1 error generated.
# configure: failed program was:
# #line 9371 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
# uint_t foo = 0;
# ; return 0; }
# configure:9413: checking for uname.domainname
# configure:9426: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:9453: checking for uname.__domainname
# configure:9466: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:9462:62: error: no member named '__domainname' in 'utsname'; did you mean 'domainname'?
# (void)uname(res); if (res != 0) { domain = res->__domainname; }
# ^~~~~~~~~~~~
# domainname
# /sysroot/include/sys/utsname.h:18:7: note: 'domainname' declared here
# char domainname[65];
# ^
# 1 error generated.
# configure: failed program was:
# #line 9458 "configure"
# #include "confdefs.h"
# #include
# int main() {
# struct utsname *res; char *domain;
# (void)uname(res); if (res != 0) { domain = res->__domainname; }
# ; return 0; }
# configure:9506: checking for gcc c++0x headers bug without rtti
# configure:9518: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:9581: checking for visibility(hidden) attribute
# configure:9609: checking for visibility(default) attribute
# configure:9637: checking for visibility pragma support
# configure:9662: checking For gcc visibility bug with class-level attributes (GCC bug 26905)
# configure:9690: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)
# configure:9742: checking for gcc PR49911
# configure:9833: checking for gcc pr39608
# configure:9863: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:9859:1: warning: expression result unused [-Wunused-value]
# true
# ^~~~
# 1 warning generated.
# configure:9893: checking for llvm pr8927
# configure:9972: checking for dirent.h that defines DIR
# configure:9985: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10013: checking for opendir in -ldir
# configure:10032: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -Wl,--build-id -Wl,--icf=safe conftest.c -ldir 1>&5
# /sysroot/bin/ld: error: cannot find -ldir
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 10021 "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:10107: checking for sys/byteorder.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'sys/byteorder.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for compat.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'compat.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for getopt.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10107: checking for sys/bitypes.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'sys/bitypes.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for memory.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10107: checking for unistd.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10107: checking for gnu/libc-version.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'gnu/libc-version.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for nl_types.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10107: checking for malloc.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10107: checking for X11/XKBlib.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'X11/XKBlib.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for io.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10114:10: fatal error: 'io.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10112 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10107: checking for cpuid.h
# configure:10120: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10155: checking for sys/statvfs.h
# configure:10168: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10155: checking for sys/statfs.h
# configure:10168: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10155: checking for sys/vfs.h
# configure:10168: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10155: checking for sys/mount.h
# configure:10168: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10202: checking for sys/quota.h
# configure:10215: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10248: checking for linux/quota.h
# configure:10261: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10255:10: fatal error: 'linux/quota.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10253 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10301: checking for new
# configure:10314: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -Qunused-arguments conftest.C 1>&5
# configure:10413: checking for sys/cdefs.h
# configure:10426: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10420:10: fatal error: 'sys/cdefs.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10418 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10478: checking for linux/perf_event.h
# configure:10491: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10485:10: fatal error: 'linux/perf_event.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 10483 "configure"
# #include "confdefs.h"
#
# #include
# int main() {
#
# ; return 0; }
# configure:10554: checking for gethostbyname_r in -lc_r
# configure:10573: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -Wl,--build-id -Wl,--icf=safe conftest.c -lc_r 1>&5
# /sysroot/bin/ld: error: 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 10562 "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:10614: checking for library containing dlopen
# configure:10632: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:10672: checking for dlfcn.h
# configure:10685: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments conftest.c 1>&5
# configure:10722: checking for dladdr
# configure:10750: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -D_GNU_SOURCE -Qunused-arguments -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:10894: checking for socket in -lsocket
# configure:10913: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -Wl,--build-id -Wl,--icf=safe conftest.c -lsocket 1>&5
# /sysroot/bin/ld: error: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 10902 "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:10952: checking for pthread_create in -lpthreads
# clang -o dummy dummy.c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -lpthreads -Wl,--build-id -Wl,--icf=safe
# dummy.c:4:38: warning: control reaches end of non-void function [-Wreturn-type]
# void *foo(void *v) { int a = 1; }
# ^
# 1 warning generated.
# /sysroot/bin/ld: error: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:10975: checking for pthread_create in -lpthread
# clang -o dummy dummy.c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe
# 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:11080: checking whether clang accepts -pthread
# configure:11208: checking whether clang needs -traditional
# configure:11215:10: fatal error: 'sgtty.h' file not found
# #include
# ^
# 1 error generated.
# configure:11233:10: fatal error: 'termio.h' file not found
# #include
# ^
# 1 error generated.
# configure:11254: checking for 8-bit clean memcmp
# configure:11294: checking for fchmod
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for flockfile
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for getc_unlocked
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for _getc_nolock
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# /tmp/conftest-39f746.o:conftest.c:function main: error: 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 11299 "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:11294: checking for getpagesize
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for lchown
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for localtime_r
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for lstat64
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for memmove
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11306:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
# char memmove();
# ^
# configure:11306:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
# 1 warning generated.
# configure:11294: checking for random
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for rint
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11306:6: warning: incompatible redeclaration of library function 'rint' [-Wincompatible-library-redeclaration]
# char rint();
# ^
# configure:11306:6: note: 'rint' is a builtin with type 'double (double)'
# 1 warning generated.
# configure:11294: checking for sbrk
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for snprintf
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11306:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
# char snprintf();
# ^
# configure:11306:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
# 1 warning generated.
# configure:11294: checking for stat64
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for statvfs
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for statvfs64
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for strerror
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11306:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:11306:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:11294: checking for strtok_r
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11294: checking for truncate64
# configure:11322: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11360: checking for wcrtomb
# configure:11372: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.C 1>&5
# configure:11395: checking for mbrtowc
# configure:11407: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.C 1>&5
# configure:11439: checking for res_ninit()
# configure:11456: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:11452:11: warning: implicit declaration of function 'res_ninit' is invalid in C99 [-Wimplicit-function-declaration]
# int foo = res_ninit(&_res);
# ^
# 1 warning generated.
# /tmp/conftest-7f1976.o:conftest.c:function main: error: undefined reference to 'res_ninit'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 11444 "configure"
# #include "confdefs.h"
#
# #ifdef linux
# #define _BSD_SOURCE 1
# #endif
# #include
#
# int main() {
# int foo = res_ninit(&_res);
# ; return 0; }
# configure:11489: checking for gnu_get_libc_version()
# configure:11505: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.C 1>&5
# configure:11501:29: error: use of undeclared identifier 'gnu_get_libc_version'
# const char *glibc_version = gnu_get_libc_version();
# ^
# 1 error generated.
# configure: failed program was:
# #line 11494 "configure"
# #include "confdefs.h"
#
# #ifdef HAVE_GNU_LIBC_VERSION_H
# #include
# #endif
#
# int main() {
# const char *glibc_version = gnu_get_libc_version();
# ; return 0; }
# configure:11539: checking for an implementation of va_copy()
# configure:11580: checking for an implementation of __va_copy()
# configure:11621: checking whether va_lists can be copied by value
# configure:11758: checking whether the C++ "using" keyword resolves ambiguity
# configure:11779: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments conftest.C 1>&5
# configure:11803: checking for C++ dynamic_cast to void*
# configure:11854: checking whether C++ requires implementation of unused virtual methods
# configure:11866: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.C 1>&5
# /tmp/conftest-d31d1d.o:conftest.C:function X::X(): error: undefined reference to 'vtable for X'
# /sysroot/bin/ld: the vtable symbol may be undefined because the class is missing its key function
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 11859 "configure"
# #include "confdefs.h"
# class X {private: virtual void never_called();};
# int main() {
# X x;
# ; return 0; }
# configure:11892: checking for trouble comparing to zero near std::operator!=()
# configure:11908: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments conftest.C 1>&5
# configure:11938: checking for __thread keyword for TLS variables
# configure:11950: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe -fPIC -shared -Wl,-z,defs -Wl,--gc-sections conftest.C 1>&5
# configure:11988: checking for __attribute__((always_inline))
# configure:12000: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments conftest.C 1>&5
# configure:12015: checking for __attribute__((malloc))
# configure:12027: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments conftest.C 1>&5
# configure:12042: checking for __attribute__((warn_unused_result))
# configure:12054: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments conftest.C 1>&5
# configure:12078: checking for LC_MESSAGES
# configure:12090: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments conftest.c 1>&5
# configure:12116: checking for localeconv
# configure:12144: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# configure:12365: checking for nspr-config
# configure:12400: checking for NSPR - version >= 4.9.2
# configure:12472: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -I/usr/include/nspr -Qunused-arguments conftest.c 1>&5
# configure:12514: checking for gzread in -lz
# configure:12533: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c -lz 1>&5
# /sysroot/bin/ld: error: cannot find -lz
# /tmp/conftest-fbff96.o:conftest.c:function main: error: undefined reference to 'gzread'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 12522 "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 gzread();
#
# int main() {
# gzread()
# ; return 0; }
# configure:12706: checking for pkg-config
# configure:12750: checking for libffi >= 3.0.9
# configure:12757: checking MOZ_FFI_CFLAGS
# configure:12762: checking MOZ_FFI_LIBS
# configure:12990: checking for valid optimization flags
# configure:13001: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -O3 -freorder-blocks -Qunused-arguments conftest.c 1>&5
# clang-3.8: warning: optimization flag '-freorder-blocks' is not supported
# configure:14054: checking for __cxa_demangle
# configure:14085: clang++ -o conftest -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.C 1>&5
# configure:14139: checking for unwind.h
# configure:14152: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments conftest.c 1>&5
# configure:14169: checking for _Unwind_Backtrace
# configure:14197: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c 1>&5
# /tmp/conftest-7f7b27.o:conftest.c:function main: error: undefined reference to '_Unwind_Backtrace'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 14174 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char _Unwind_Backtrace(); 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 _Unwind_Backtrace();
#
# 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__Unwind_Backtrace) || defined (__stub____Unwind_Backtrace)
# choke me
# #else
# _Unwind_Backtrace();
# #endif
#
# ; return 0; }
# configure:14268: checking for -pipe support
# configure:14282: checking whether C compiler supports -fprofile-generate
# configure:14291: clang -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -fprofile-generate -fprofile-correction -Qunused-arguments conftest.c 1>&5
# clang-3.8: warning: optimization flag '-fprofile-correction' is not supported
# configure:14342: checking for correct overload resolution with const and templates
# configure:14377: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -Qunused-arguments conftest.C 1>&5
# configure:14403: checking for tm_zone tm_gmtoff in struct tm
# configure:14415: clang++ -c -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -Qunused-arguments conftest.C 1>&5
# configure:14457: checking what kind of list files are supported by the linker
# configure:14462: clang -o conftest.o -c -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments conftest.c 1>&5
# configure:14464: clang -o conftest -lpthread -Wl,--build-id -Wl,--icf=safe conftest.list 1>&5
# configure:14490: checking what kind of ordering can be done with the linker
# configure:14505: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe -Wl,--section-ordering-file,conftest.order conftest.c 1>&5
# configure:14591: checking for readline in -lreadline
# configure:14610: clang -o conftest -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -Qunused-arguments -lpthread -Wl,--build-id -Wl,--icf=safe conftest.c -lreadline 1>&5
# /sysroot/bin/ld: error: cannot find -lreadline
# /tmp/conftest-b2a034.o:conftest.c:function main: error: undefined reference to 'readline'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 14599 "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 readline();
#
# int main() {
# readline()
# ; return 0; }