[autoconf 6d38e9fa2b] [clang 9.0.1] [https://github.com/libarchive/libarchive.git] Running autoreconf -fvim in libarchive's git repository, then executing CC=clang ./configure fails as below. I had to use autoconf version 2.69 to create a `configure` script that could be successfully executed. Werner ====================================================================== configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-suse-linux-gnu checking host system type... x86_64-suse-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-suse-linux-gnu file names to x86_64-suse-linux-gnu format... func_convert_file_noop checking how to convert x86_64-suse-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for strip... (cached) strip checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for acl/libacl.h... no checking for attr/xattr.h... no checking for copyfile.h... no checking for ctype.h... yes checking for errno.h... yes checking for ext2fs/ext2_fs.h... no checking for fcntl.h... yes checking for grp.h... yes checking whether EXT2_IOC_GETFLAGS is usable... no checking for inttypes.h... (cached) yes checking for io.h... no checking for langinfo.h... yes checking for limits.h... yes checking for linux/fiemap.h... yes checking for linux/fs.h... yes checking for linux/magic.h... yes checking for linux/types.h... yes checking whether FS_IOC_GETFLAGS is usable... yes checking for locale.h... yes checking for membership.h... no checking for paths.h... yes checking for poll.h... yes checking for pthread.h... yes checking for pwd.h... yes checking for readpassphrase.h... no checking for signal.h... yes checking for spawn.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/acl.h... no checking for sys/cdefs.h... yes checking for sys/ea.h... no checking for sys/extattr.h... no checking for sys/ioctl.h... yes checking for sys/mkdev.h... no checking for sys/mount.h... yes checking for sys/param.h... yes checking for sys/poll.h... yes checking for sys/richacl.h... no checking for sys/select.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/sysmacros.h... yes checking for sys/time.h... (cached) yes checking for sys/utime.h... no checking for sys/utsname.h... yes checking for sys/vfs.h... yes checking for sys/xattr.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for utime.h... yes checking for wchar.h... (cached) yes checking for wctype.h... yes checking for windows.h... no checking for wincrypt.h... no checking for winioctl.h... no checking for zlib.h... yes checking for inflate in -lz... yes checking for bzlib.h... yes checking for BZ2_bzDecompressInit in -lbz2... yes checking for blake2.h... no checking for blake2sp_init in -lb2... no checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for iconv.h... yes checking for localcharset.h... no checking for locale_charset... no checking for locale_charset in -lcharset... no checking for lz4.h... no checking for lz4hc.h... no checking for LZ4_decompress_safe in -llz4... no checking for zstd.h... no checking for ZSTD_compressStream in -lzstd... no checking for lzma.h... yes checking for lzma_stream_decoder in -llzma... yes checking whether we have multithread support in lzma... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxml-2.0... yes checking for xmlInitParser in -lxml2... yes checking for libxml/xmlreader.h... yes checking for libxml/xmlwriter.h... yes checking for regex.h... yes checking for regcomp... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wformat... yes checking whether C compiler accepts -Wformat-security... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... no checking for mode_t... no checking for off_t... no checking for size_t... no checking for id_t... no checking for uintptr_t... no checking for struct tm.tm_gmtoff... no checking for struct tm.__tm_gmtoff... no checking for struct statfs.f_namemax... no checking for struct statvfs.f_iosize... no checking for struct stat.st_birthtime... no checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_mtimespec.tv_nsec... no checking for struct stat.st_mtim.tv_nsec... no checking for struct stat.st_mtime_n... no checking for struct stat.st_umtime... no checking for struct stat.st_mtime_usec... no checking for struct stat.st_blksize... no checking for struct stat.st_flags... no checking for uintmax_t... no checking for unsigned long long... no checking for unsigned long long int... yes checking for long long int... yes checking for intmax_t... no checking for uintmax_t... (cached) no checking for int64_t... no checking for uint64_t... no checking for int32_t... no checking for uint32_t... no checking for int16_t... no checking for uint16_t... no checking for uint8_t... no checking for clang options needed to detect all undeclared functions... cannot detect configure: error: in `/home/wl/git/libarchive': configure: error: cannot make clang report undeclared builtins See `config.log' for more details
Attachment:
config.log.xz
Description: Binary data