Hello everyone, I'm building LFS 10.0 on a fully updated Manjaro Linux on an x86_64 for x86_64.
When I compile M4 (chapter 6.2), I get two errors: - gcc complains about a void function ("fault_handler") being declared as "pure" in line 146 of m4.c - gcc complains about the flag -Wabi which is deprecated and doesn't do anything (see the attached log file) I was able to circumvent the problems by setting the environment variable CFLAGS=" -fpermissive -Wabi=11 " before ./configure, but I think that these are infact bugs in M4, so gcc is rightfully complaining. It seems that an older gcc version had failed if that function was NOT declared "pure" and the M4 team has also discussed this topic in july 2020, see https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=fault_handler&submit=Search%21&idxname=bug-m4&max=20&result=normal&sort=score they had also decided to make the function NOT "pure" (because fault_handler has sideeffects and should therefore not be pure). This was implemented by commit 74915227e245c2f93d0db1ff3c53544d8f594dfa in the m4 git repository, but the declaration is still present in the .tar.xz from 2016 on http://ftp.gnu.org/gnu/m4/ that is used in LFS. I verified that LFS and LFS_TGT are set and that I'm compiling with x86_64-lfs-linux-gnu-gcc. Everything before M4 was built as regular user. Kind regards Viktor
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-lfs-linux-gnu-strip... x86_64-lfs-linux-gnu-strip checking for a thread-safe 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 make supports nested variables... (cached) yes checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-lfs-linux-gnu-gcc accepts -g... yes checking for x86_64-lfs-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-lfs-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-lfs-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-lfs-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for Minix Amsterdam compiler... no checking for x86_64-lfs-linux-gnu-ar... x86_64-lfs-linux-gnu-ar checking the archiver (x86_64-lfs-linux-gnu-ar) interface... ar checking for x86_64-lfs-linux-gnu-ar... (cached) x86_64-lfs-linux-gnu-ar checking for x86_64-lfs-linux-gnu-ranlib... x86_64-lfs-linux-gnu-ranlib checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-lfs-linux-gnu checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for x86_64-lfs-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-lfs-linux-gnu-gcc option to accept ISO Standard C... (cached) none needed configure: autobuild project... GNU M4 configure: autobuild revision... 1.4.18 configure: autobuild hostname... laptop configure: autobuild timestamp... 20210209T112704Z checking whether C compiler handles -Werror -Wunknown-warning-option... no checking whether C compiler handles -Werror... yes checking whether pragma GCC diagnostic push works... yes checking whether pragma GCC diagnostic push works... (cached) yes checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... no checking whether -Wuninitialized is supported... yes checking whether C compiler handles -fno-common... yes checking whether C compiler handles -W... yes checking whether C compiler handles -Wabi... yes checking whether C compiler handles -Waddress... yes checking whether C compiler handles -Waggressive-loop-optimizations... yes checking whether C compiler handles -Wall... yes checking whether C compiler handles -Wattributes... yes checking whether C compiler handles -Wbad-function-cast... yes checking whether C compiler handles -Wbool-compare... yes checking whether C compiler handles -Wbuiltin-macro-redefined... yes checking whether C compiler handles -Wcast-align... yes checking whether C compiler handles -Wchar-subscripts... yes checking whether C compiler handles -Wchkp... yes checking whether C compiler handles -Wclobbered... yes checking whether C compiler handles -Wcomment... yes checking whether C compiler handles -Wcomments... yes checking whether C compiler handles -Wcoverage-mismatch... yes checking whether C compiler handles -Wcpp... yes checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Wdeprecated... yes checking whether C compiler handles -Wdeprecated-declarations... yes checking whether C compiler handles -Wdesignated-init... yes checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Wdiscarded-array-qualifiers... yes checking whether C compiler handles -Wdiscarded-qualifiers... yes checking whether C compiler handles -Wdiv-by-zero... yes checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Wduplicated-cond... yes checking whether C compiler handles -Wempty-body... yes checking whether C compiler handles -Wendif-labels... yes checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Wformat-contains-nul... yes checking whether C compiler handles -Wformat-extra-args... yes checking whether C compiler handles -Wformat-nonliteral... yes checking whether C compiler handles -Wformat-security... yes checking whether C compiler handles -Wformat-signedness... yes checking whether C compiler handles -Wformat-y2k... yes checking whether C compiler handles -Wformat-zero-length... yes checking whether C compiler handles -Wframe-address... yes checking whether C compiler handles -Wfree-nonheap-object... yes checking whether C compiler handles -Whsa... yes checking whether C compiler handles -Wignored-attributes... yes checking whether C compiler handles -Wignored-qualifiers... yes checking whether C compiler handles -Wimplicit... yes checking whether C compiler handles -Wimplicit-function-declaration... yes checking whether C compiler handles -Wimplicit-int... yes checking whether C compiler handles -Wincompatible-pointer-types... yes checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Winline... yes checking whether C compiler handles -Wint-conversion... yes checking whether C compiler handles -Wint-to-pointer-cast... yes checking whether C compiler handles -Winvalid-memory-model... yes checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Wjump-misses-init... yes checking whether C compiler handles -Wlogical-not-parentheses... yes checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Wmain... yes checking whether C compiler handles -Wmaybe-uninitialized... yes checking whether C compiler handles -Wmemset-transposed-args... yes checking whether C compiler handles -Wmisleading-indentation... yes checking whether C compiler handles -Wmissing-braces... yes checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Wmissing-field-initializers... yes checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Wmissing-parameter-type... yes checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Wmultichar... yes checking whether C compiler handles -Wnarrowing... yes checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Wnonnull... yes checking whether C compiler handles -Wnonnull-compare... yes checking whether C compiler handles -Wnull-dereference... yes checking whether C compiler handles -Wodr... yes checking whether C compiler handles -Wold-style-declaration... yes checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Woverflow... yes checking whether C compiler handles -Woverlength-strings... yes checking whether C compiler handles -Woverride-init... yes checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Wpacked-bitfield-compat... yes checking whether C compiler handles -Wparentheses... yes checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Wpointer-sign... yes checking whether C compiler handles -Wpointer-to-int-cast... yes checking whether C compiler handles -Wpragmas... yes checking whether C compiler handles -Wreturn-local-addr... yes checking whether C compiler handles -Wreturn-type... yes checking whether C compiler handles -Wscalar-storage-order... yes checking whether C compiler handles -Wsequence-point... yes checking whether C compiler handles -Wshadow... yes checking whether C compiler handles -Wshift-count-negative... yes checking whether C compiler handles -Wshift-count-overflow... yes checking whether C compiler handles -Wshift-negative-value... yes checking whether C compiler handles -Wsizeof-array-argument... yes checking whether C compiler handles -Wsizeof-pointer-memaccess... yes checking whether C compiler handles -Wstack-protector... yes checking whether C compiler handles -Wstrict-aliasing... yes checking whether C compiler handles -Wstrict-overflow... yes checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Wsuggest-attribute=const... yes checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Wsuggest-attribute=noreturn... yes checking whether C compiler handles -Wsuggest-attribute=pure... yes checking whether C compiler handles -Wsuggest-final-methods... yes checking whether C compiler handles -Wsuggest-final-types... yes checking whether C compiler handles -Wswitch... yes checking whether C compiler handles -Wswitch-bool... yes checking whether C compiler handles -Wswitch-default... yes checking whether C compiler handles -Wsync-nand... yes checking whether C compiler handles -Wtautological-compare... yes checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Wtrigraphs... yes checking whether C compiler handles -Wtype-limits... yes checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Wunsafe-loop-optimizations... yes checking whether C compiler handles -Wunused... yes checking whether C compiler handles -Wunused-but-set-parameter... yes checking whether C compiler handles -Wunused-but-set-variable... yes checking whether C compiler handles -Wunused-function... yes checking whether C compiler handles -Wunused-label... yes checking whether C compiler handles -Wunused-local-typedefs... yes checking whether C compiler handles -Wunused-macros... yes checking whether C compiler handles -Wunused-parameter... yes checking whether C compiler handles -Wunused-result... yes checking whether C compiler handles -Wunused-value... yes checking whether C compiler handles -Wunused-variable... yes checking whether C compiler handles -Wvarargs... yes checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Wvla... yes checking whether C compiler handles -Wvolatile-register-var... yes checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Warray-bounds=2... yes checking whether C compiler handles -Wnormalized=nfc... yes checking whether C compiler handles -Wshift-overflow=2... yes checking whether C compiler handles -Wunused-const-variable=2... yes checking for unsigned long long int... yes checking for long long int... yes checking for unsigned long long int... (cached) yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether <wchar.h> uses 'inline' correctly... yes checking for btowc... yes checking for setrlimit... yes checking for sigaltstack... yes checking for canonicalize_file_name... yes checking for getcwd... yes checking for readlink... yes checking for realpath... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for symlink... yes checking for mempcpy... yes checking for fpurge... no checking for __fpurge... yes checking for __freadahead... no checking for __freading... yes checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for gettimeofday... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for mkstemp... yes checking for nl_langinfo... yes checking for pipe2... yes checking for isblank... yes checking for iswctype... yes checking for link... yes checking for secure_getenv... yes checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for sigaction... yes checking for siginterrupt... yes checking for snprintf... yes checking for strndup... yes checking for pipe... yes checking for vasnprintf... no checking for wcrtomb... yes checking for iswcntrl... yes checking for newlocale... yes checking for setenv... yes checking for sleep... yes checking for strdup... yes checking for wctob... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking for ucontext.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for stdio_ext.h... yes checking for sys/stat.h... (cached) yes checking for getopt.h... yes checking for sys/time.h... yes checking for langinfo.h... yes checking for limits.h... yes checking for xlocale.h... no checking for math.h... yes checking for sys/mman.h... yes checking for malloc.h... yes checking for sys/cdefs.h... yes checking for spawn.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for sys/wait.h... yes checking for features.h... yes checking for wctype.h... yes checking for dirent.h... yes checking for inttypes.h... (cached) yes checking for working C stack overflow detection... cross-compiling checking for ld used by x86_64-lfs-linux-gnu-gcc... /mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld checking if the linker (/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for libsigsegv... no, consider installing GNU libsigsegv checking whether // is distinct from /... unknown, assuming no checking whether realpath works... guessing yes checking if environ is properly declared... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for mode_t... yes checking for sig_atomic_t... yes checking for working fcntl.h... cross-compiling checking for pid_t... yes checking whether frexp() can be used without linking with libm... yes checking whether alarm is declared... yes checking whether long double and double are the same... no checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether fflush works on input streams... cross checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether ftello is declared... yes checking for ftello... yes checking whether ftello works... guessing yes checking whether getdtablesize is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... guessing yes checking for working GNU getopt function... guessing no checking whether getenv is declared... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking where to find the exponent in a 'float'... word 0 bit 23 checking whether byte ordering is bigendian... (cached) no checking whether limits.h has ULLONG_WIDTH etc.... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for wchar_t... yes checking for max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking for multithread API to use... none checking whether lstat correctly handles trailing slash... guessing yes checking for a sed that does not truncate output... /usr/bin/sed checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for mbstate_t... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... guessing no checking whether <limits.h> defines MIN and MAX... no checking whether <sys/param.h> defines MIN and MAX... yes checking for promoted mode_t type... mode_t checking for library containing posix_spawn... none required checking for posix_spawn... yes checking whether posix_spawn works... guessing yes checking whether posix_spawnattr_setschedpolicy is supported... yes checking whether posix_spawnattr_setschedparam is supported... yes checking for sigset_t... yes checking for SIGPIPE... yes checking for inline... inline checking for uid_t in sys/types.h... yes checking whether C symbols are prefixed with underscore at the linker level... no checking whether snprintf returns a byte count as in C99... guessing yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wint_t... yes checking whether wint_t is too small... no checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking whether strerror(0) succeeds... guessing yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking whether strsignal is declared... yes checking whether sys_siglist is declared... no checking whether ldexp() can be used without linking with libm... yes checking for struct timespec in <time.h>... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether printf supports size specifiers as in C99... guessing yes checking whether printf supports 'long double' arguments... guessing yes checking whether printf supports infinite 'double' arguments... guessing yes checking whether printf supports infinite 'long double' arguments... guessing no checking whether printf supports the 'a' and 'A' directives... guessing yes checking whether printf supports the 'F' directive... guessing yes checking whether printf supports the 'n' directive... guessing yes checking whether printf supports the 'ls' directive... guessing yes checking whether printf supports the grouping flag... guessing yes checking whether printf supports the left-adjust flag correctly... guessing yes checking whether printf supports the zero flag correctly... guessing yes checking whether printf supports large precisions... guessing yes checking whether printf survives out-of-memory conditions... guessing yes checking whether to use C++... no checking whether ungetc works on arbitrary bytes... guessing yes checking whether getcwd (NULL, 0) allocates memory for result... guessing yes checking for getcwd with POSIX signature... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether setenv is declared... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking whether strdup is declared... yes checking whether unsetenv is declared... yes checking for alloca as a compiler built-in... yes checking whether to enable assertions... yes checking whether btowc(0) is correct... guessing yes checking whether btowc(EOF) is correct... guessing yes checking for __builtin_expect... yes checking whether sigaltstack is declared... yes checking for stack_t... yes checking whether // is distinct from /... (cached) unknown, assuming no checking whether dup2 works... guessing yes checking for error_at_line... yes checking whether fflush works on input streams... (cached) cross checking whether fcntl handles F_DUPFD correctly... guessing yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fflush works on input streams... (cached) cross checking whether conversion from 'int' to 'long double' works... guessing yes checking whether fopen recognizes a trailing slash... guessing yes checking for __fpending... yes checking whether __fpending is declared... yes checking whether fpurge is declared... no checking whether frexp works... guessing yes checking whether frexpl is declared... yes checking whether frexpl() can be used without linking with libm... yes checking whether frexpl works... guessing yes checking for fseeko... (cached) yes checking whether fflush works on input streams... (cached) cross checking for _fseeki64... no checking for ftello... (cached) yes checking whether ftello works... (cached) guessing yes checking whether getdtablesize works... guessing yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether __argv is declared... no checking whether gettimeofday clobbers localtime buffer... guessing no checking for gettimeofday with POSIX signature... yes checking whether isnan(double) can be used without linking with libm... yes checking whether isnan(float) can be used without linking with libm... yes checking whether isnan(float) works... guessing yes checking whether isnan(long double) can be used without linking with libm... yes checking whether isnanl works... guessing yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking for libsigsegv... (cached) no, consider installing GNU libsigsegv checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking whether lseek detects pipes... yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc works on empty input... guessing no checking whether the C locale is free of encoding errors... guessing no checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking bp-sym.h usability... no checking bp-sym.h presence... no checking for bp-sym.h... no checking for mkdtemp... yes checking for working mkstemp... guessing yes checking whether YESEXPR works... guessing yes checking for obstacks that work with any size object... no checking whether open recognizes a trailing slash... guessing yes checking whether posix_spawn_file_actions_addclose works... guessing yes checking whether posix_spawn_file_actions_adddup2 works... guessing yes checking whether posix_spawn_file_actions_addopen works... guessing yes checking whether frexp works... (cached) guessing yes checking whether ldexp can be used without linking with libm... (cached) yes checking whether frexpl() can be used without linking with libm... (cached) yes checking whether frexpl works... (cached) guessing yes checking whether frexpl is declared... (cached) yes checking whether ldexpl() can be used without linking with libm... yes checking whether ldexpl works... guessing yes checking whether ldexpl is declared... yes checking whether program_invocation_name is declared... (cached) yes checking whether program_invocation_short_name is declared... (cached) yes checking for raise... yes checking for sigprocmask... yes checking for rawmemchr... yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... guessing yes checking for working re_compile_pattern... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking whether isblank is declared... yes checking whether rename honors trailing slash on destination... guessing yes checking whether rename honors trailing slash on source... guessing yes checking whether rename manages hard links correctly... guessing yes checking whether rename manages existing destinations correctly... guessing yes checking whether rmdir works... guessing yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for signbit macro... guessing yes checking for signbit compiler built-ins... guessing yes checking for sigprocmask... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... guessing yes checking whether printf supports POSIX/XSI format strings with positions... guessing yes checking for posix_spawnattr_t... yes checking for posix_spawn_file_actions_t... yes checking for ssize_t... yes checking whether stat handles trailing slashes on directories... guessing yes checking whether stat handles trailing slashes on files... guessing yes checking for va_copy... yes checking for max_align_t... (cached) yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking which flavor of printf attribute matches inttypes macros... system checking for strchrnul... yes checking whether strchrnul works... guessing yes checking for working strerror function... guessing yes checking for working strndup... guessing yes checking for working strnlen... yes checking for strsignal... yes checking whether strsignal always returns a string... guessing yes checking whether strtod obeys C99... guessing yes checking for nlink_t... (cached) yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vasprintf... (cached) yes checking for ptrdiff_t... (cached) yes checking for waitid... yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb return value is correct... guessing yes checking whether iswcntrl works... guessing yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking for stdint.h... (cached) yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional french locale... (cached) none checking for a turkish Unicode locale... none checking for closedir... yes checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking whether dup works... guessing yes checking whether fdopen sets errno... guessing yes checking for flexible array member... yes checking for getpagesize... yes checking whether getpagesize is declared... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking where to find the exponent in a 'double'... (cached) word 1 bit 20 checking where to find the exponent in a 'float'... (cached) word 0 bit 23 checking where to find the exponent in a 'long double'... unknown checking whether link obeys POSIX... guessing yes checking for setlocale... yes checking for uselocale... yes checking for getlocalename_l... no checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for a french Unicode locale... (cached) none checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for opendir... yes checking for putenv compatible with GNU and SVID... guessing yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for readdir... yes checking whether setenv validates arguments... guessing yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking whether sleep is declared... yes checking for working sleep... guessing yes checking for working stdalign.h... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking whether symlink handles trailing slash correctly... guessing yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... guessing yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking whether wctob works... guessing yes checking whether wctob is declared... yes checking whether an open file can be renamed... guessing no checking if changeword is wanted... no checking which shell to use for syscmd... /bin/sh checking if malloc debugging is wanted... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating checks/Makefile config.status: creating examples/Makefile config.status: creating lib/config.h config.status: executing depfiles commands config.status: executing stamp-h commands echo 1.4.18 > .version-t && mv .version-t .version make all-recursive make[1]: Entering directory '/mnt/lfs/sources/m4-1.4.18' Making all in . make[2]: Entering directory '/mnt/lfs/sources/m4-1.4.18' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/mnt/lfs/sources/m4-1.4.18' Making all in examples make[2]: Entering directory '/mnt/lfs/sources/m4-1.4.18/examples' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/examples' Making all in lib make[2]: Entering directory '/mnt/lfs/sources/m4-1.4.18/lib' GEN alloca.h GEN configmake.h GEN c++defs.h GEN arg-nonnull.h GEN warn-on-use.h GEN fcntl.h GEN getopt.h GEN langinfo.h GEN limits.h GEN locale.h GEN math.h GEN signal.h GEN unused-parameter.h GEN spawn.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN sys/wait.h GEN time.h GEN unistd.h GEN wchar.h GEN wctype.h make all-am make[3]: Entering directory '/mnt/lfs/sources/m4-1.4.18/lib' CC gl_avltree_oset.o CC binary-io.o CC c-ctype.o CC c-stack.o CC c-strcasecmp.o CC c-strncasecmp.o CC clean-temp.o CC cloexec.o CC close-stream.o CC closein.o CC closeout.o CC dirname.o CC basename.o CC dirname-lgpl.o CC basename-lgpl.o CC stripslash.o CC execute.o CC exitfail.o CC fatal-signal.o CC fd-hook.o CC fd-safer-flag.o CC dup-safer-flag.o CC filenamecat.o CC filenamecat-lgpl.o CC fopen-safer.o CC freading.o CC getprogname.o CC hard-locale.o CC gl_linkedhash_list.o CC gl_list.o CC localcharset.o CC glthread/lock.o CC malloca.o CC math.o CC memchr2.o CC gl_oset.o CC pipe2.o CC pipe2-safer.o CC printf-frexp.o CC printf-frexpl.o CC progname.o CC quotearg.o CC sig-handler.o CC spawn-pipe.o CC mkstemp-safer.o CC tempname.o CC glthread/threadlib.o CC glthread/tls.o CC tmpdir.o CC unistd.o CC dup-safer.o CC fd-safer.o CC pipe-safer.o CC verror.o CC version-etc.o CC version-etc-fsf.o CC wait-process.o CC wctype-h.o CC xmalloc.o CC xalloc-die.o CC gl_xlist.o CC xmalloca.o CC gl_xoset.o CC xprintf.o CC xsize.o CC xstrndup.o CC xvasprintf.o CC xasprintf.o CC asnprintf.o CC asprintf.o CC fclose.o CC fcntl.o CC fflush.o CC fpurge.o CC freadahead.o CC fseek.o CC fseeko.o CC getopt.o CC getopt1.o CC mbrtowc.o CC memchr.o CC obstack.o CC printf-args.o CC printf-parse.o CC regex.o CC strstr.o CC vasnprintf.o CC vasprintf.o AR libm4.a GEN charset.alias GEN ref-add.sed GEN ref-del.sed make[3]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/lib' make[2]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/lib' Making all in src make[2]: Entering directory '/mnt/lfs/sources/m4-1.4.18/src' CC m4.o x86_64-lfs-linux-gnu-gcc: warning: switch '-Wchkp' is no longer supported cc1: error: '-Wabi' won't warn about anything [-Werror=abi] cc1: note: '-Wabi' warns about differences from the most up-to-date ABI, which is also used by default cc1: note: use e.g. '-Wabi=11' to warn about changes from GCC 7 m4.c:146:1: error: 'pure' attribute on function returning 'void' [-Werror=attributes] 146 | { | ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:1576: m4.o] Error 1 make[2]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/src' make[1]: *** [Makefile:1572: all-recursive] Error 1 make[1]: Leaving directory '/mnt/lfs/sources/m4-1.4.18' make: *** [Makefile:1528: all] Fehler 2
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style