1158 lines
39 KiB
Text
1158 lines
39 KiB
Text
|
This file contains any messages produced by compilers while
|
||
|
running configure, to aid debugging if configure makes a mistake.
|
||
|
|
||
|
It was created by fixincludes configure , which was
|
||
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||
|
|
||
|
$ /home/seti/riscv-gnu-toolchain/gcc/fixincludes/configure --srcdir=/home/seti/riscv-gnu-toolchain/gcc/fixincludes --cache-file=./config.cache --with-system-zlib --prefix=/opt/riscv --disable-shared --disable-threads --disable-tls --with-system-zlib --with-newlib --with-sysroot=/opt/riscv/riscv32-unknown-elf --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --disable-multilib --with-abi=ilp32 --with-arch=rv32imc --with-tune=rocket --with-isa-spec=2.2 --enable-languages=c,c++,lto --program-transform-name=s&^&riscv32-unknown-elf-& --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=riscv32-unknown-elf
|
||
|
|
||
|
## --------- ##
|
||
|
## Platform. ##
|
||
|
## --------- ##
|
||
|
|
||
|
hostname = seti-VirtualBox
|
||
|
uname -m = x86_64
|
||
|
uname -r = 5.15.0-58-generic
|
||
|
uname -s = Linux
|
||
|
uname -v = #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023
|
||
|
|
||
|
/usr/bin/uname -p = x86_64
|
||
|
/bin/uname -X = unknown
|
||
|
|
||
|
/bin/arch = x86_64
|
||
|
/usr/bin/arch -k = unknown
|
||
|
/usr/convex/getsysinfo = unknown
|
||
|
/usr/bin/hostinfo = unknown
|
||
|
/bin/machine = unknown
|
||
|
/usr/bin/oslevel = unknown
|
||
|
/bin/universe = unknown
|
||
|
|
||
|
PATH: /home/seti/riscv-gnu-toolchain/scripts/wrapper/sed
|
||
|
PATH: /opt/riscv/bin
|
||
|
PATH: /usr/local/sbin
|
||
|
PATH: /usr/local/bin
|
||
|
PATH: /usr/sbin
|
||
|
PATH: /usr/bin
|
||
|
PATH: /sbin
|
||
|
PATH: /bin
|
||
|
PATH: /snap/bin
|
||
|
|
||
|
|
||
|
## ----------- ##
|
||
|
## Core tests. ##
|
||
|
## ----------- ##
|
||
|
|
||
|
configure:2098: creating cache ./config.cache
|
||
|
configure:3201: checking build system type
|
||
|
configure:3215: result: x86_64-pc-linux-gnu
|
||
|
configure:3235: checking host system type
|
||
|
configure:3248: result: x86_64-pc-linux-gnu
|
||
|
configure:3268: checking target system type
|
||
|
configure:3281: result: riscv32-unknown-elf
|
||
|
configure:3316: checking for x86_64-pc-linux-gnu-gcc
|
||
|
configure:3343: result: gcc
|
||
|
configure:3612: checking for C compiler version
|
||
|
configure:3621: gcc --version >&5
|
||
|
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
|
||
|
Copyright (C) 2021 Free Software Foundation, Inc.
|
||
|
This is free software; see the source for copying conditions. There is NO
|
||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||
|
|
||
|
configure:3632: $? = 0
|
||
|
configure:3621: gcc -v >&5
|
||
|
Using built-in specs.
|
||
|
COLLECT_GCC=gcc
|
||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
|
||
|
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||
|
OFFLOAD_TARGET_DEFAULT=1
|
||
|
Target: x86_64-linux-gnu
|
||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
|
||
|
Thread model: posix
|
||
|
Supported LTO compression algorithms: zlib zstd
|
||
|
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
|
||
|
... rest of stderr output deleted ...
|
||
|
configure:3632: $? = 0
|
||
|
configure:3621: gcc -V >&5
|
||
|
gcc: error: unrecognized command-line option '-V'
|
||
|
gcc: fatal error: no input files
|
||
|
compilation terminated.
|
||
|
configure:3632: $? = 1
|
||
|
configure:3621: gcc -qversion >&5
|
||
|
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
|
||
|
gcc: fatal error: no input files
|
||
|
compilation terminated.
|
||
|
configure:3632: $? = 1
|
||
|
configure:3652: checking whether the C compiler works
|
||
|
configure:3674: gcc -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:3678: $? = 0
|
||
|
configure:3726: result: yes
|
||
|
configure:3729: checking for C compiler default output file name
|
||
|
configure:3731: result: a.out
|
||
|
configure:3737: checking for suffix of executables
|
||
|
configure:3744: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:3748: $? = 0
|
||
|
configure:3770: result:
|
||
|
configure:3792: checking whether we are cross compiling
|
||
|
configure:3800: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:3804: $? = 0
|
||
|
configure:3811: ./conftest
|
||
|
configure:3815: $? = 0
|
||
|
configure:3830: result: no
|
||
|
configure:3835: checking for suffix of object files
|
||
|
configure:3857: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:3861: $? = 0
|
||
|
configure:3882: result: o
|
||
|
configure:3886: checking whether we are using the GNU C compiler
|
||
|
configure:3905: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:3905: $? = 0
|
||
|
configure:3914: result: yes
|
||
|
configure:3923: checking whether gcc accepts -g
|
||
|
configure:3943: gcc -c -g conftest.c >&5
|
||
|
configure:3943: $? = 0
|
||
|
configure:3984: result: yes
|
||
|
configure:4001: checking for gcc option to accept ISO C89
|
||
|
configure:4064: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4064: $? = 0
|
||
|
configure:4077: result: none needed
|
||
|
configure:4103: checking how to run the C preprocessor
|
||
|
configure:4134: gcc -E conftest.c
|
||
|
configure:4134: $? = 0
|
||
|
configure:4148: gcc -E conftest.c
|
||
|
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
||
|
9 | #include <ac_nonexistent.h>
|
||
|
| ^~~~~~~~~~~~~~~~~~
|
||
|
compilation terminated.
|
||
|
configure:4148: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <ac_nonexistent.h>
|
||
|
configure:4173: result: gcc -E
|
||
|
configure:4193: gcc -E conftest.c
|
||
|
configure:4193: $? = 0
|
||
|
configure:4207: gcc -E conftest.c
|
||
|
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
||
|
9 | #include <ac_nonexistent.h>
|
||
|
| ^~~~~~~~~~~~~~~~~~
|
||
|
compilation terminated.
|
||
|
configure:4207: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <ac_nonexistent.h>
|
||
|
configure:4236: checking for grep that handles long lines and -e
|
||
|
configure:4294: result: /usr/bin/grep
|
||
|
configure:4299: checking for egrep
|
||
|
configure:4361: result: /usr/bin/grep -E
|
||
|
configure:4366: checking for ANSI C header files
|
||
|
configure:4386: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4386: $? = 0
|
||
|
configure:4459: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4459: $? = 0
|
||
|
configure:4459: ./conftest
|
||
|
configure:4459: $? = 0
|
||
|
configure:4470: result: yes
|
||
|
configure:4483: checking for sys/types.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for sys/stat.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for stdlib.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for string.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for memory.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for strings.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for inttypes.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for stdint.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4483: checking for unistd.h
|
||
|
configure:4483: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4483: $? = 0
|
||
|
configure:4483: result: yes
|
||
|
configure:4496: checking minix/config.h usability
|
||
|
configure:4496: gcc -c -g -O2 conftest.c >&5
|
||
|
conftest.c:52:10: fatal error: minix/config.h: No such file or directory
|
||
|
52 | #include <minix/config.h>
|
||
|
| ^~~~~~~~~~~~~~~~
|
||
|
compilation terminated.
|
||
|
configure:4496: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_SYS_TYPES_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRING_H 1
|
||
|
| #define HAVE_MEMORY_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_INTTYPES_H 1
|
||
|
| #define HAVE_STDINT_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <stdio.h>
|
||
|
| #ifdef HAVE_SYS_TYPES_H
|
||
|
| # include <sys/types.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_SYS_STAT_H
|
||
|
| # include <sys/stat.h>
|
||
|
| #endif
|
||
|
| #ifdef STDC_HEADERS
|
||
|
| # include <stdlib.h>
|
||
|
| # include <stddef.h>
|
||
|
| #else
|
||
|
| # ifdef HAVE_STDLIB_H
|
||
|
| # include <stdlib.h>
|
||
|
| # endif
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRING_H
|
||
|
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
||
|
| # include <memory.h>
|
||
|
| # endif
|
||
|
| # include <string.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRINGS_H
|
||
|
| # include <strings.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_INTTYPES_H
|
||
|
| # include <inttypes.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STDINT_H
|
||
|
| # include <stdint.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_UNISTD_H
|
||
|
| # include <unistd.h>
|
||
|
| #endif
|
||
|
| #include <minix/config.h>
|
||
|
configure:4496: result: no
|
||
|
configure:4496: checking minix/config.h presence
|
||
|
configure:4496: gcc -E conftest.c
|
||
|
conftest.c:19:10: fatal error: minix/config.h: No such file or directory
|
||
|
19 | #include <minix/config.h>
|
||
|
| ^~~~~~~~~~~~~~~~
|
||
|
compilation terminated.
|
||
|
configure:4496: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_SYS_TYPES_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRING_H 1
|
||
|
| #define HAVE_MEMORY_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_INTTYPES_H 1
|
||
|
| #define HAVE_STDINT_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <minix/config.h>
|
||
|
configure:4496: result: no
|
||
|
configure:4496: checking for minix/config.h
|
||
|
configure:4496: result: no
|
||
|
configure:4517: checking whether it is safe to define __EXTENSIONS__
|
||
|
configure:4535: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4535: $? = 0
|
||
|
configure:4542: result: yes
|
||
|
configure:4556: checking for a sed that does not truncate output
|
||
|
configure:4620: result: /usr/bin/sed
|
||
|
configure:4648: checking whether gcc supports -W
|
||
|
configure:4665: gcc -c -W conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wall
|
||
|
configure:4665: gcc -c -Wall conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wwrite-strings
|
||
|
configure:4665: gcc -c -Wwrite-strings conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wstrict-prototypes
|
||
|
configure:4665: gcc -c -Wstrict-prototypes conftest.c >&5
|
||
|
conftest.c:26:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
|
||
|
26 | main ()
|
||
|
| ^~~~
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wmissing-prototypes
|
||
|
configure:4665: gcc -c -Wmissing-prototypes conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wold-style-definition
|
||
|
configure:4665: gcc -c -Wold-style-definition conftest.c >&5
|
||
|
conftest.c: In function 'main':
|
||
|
conftest.c:26:1: warning: old-style function definition [-Wold-style-definition]
|
||
|
26 | main ()
|
||
|
| ^~~~
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Wmissing-format-attribute
|
||
|
configure:4665: gcc -c -Wmissing-format-attribute conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4648: checking whether gcc supports -Woverlength-strings
|
||
|
configure:4665: gcc -c -Woverlength-strings conftest.c >&5
|
||
|
configure:4665: $? = 0
|
||
|
configure:4674: result: yes
|
||
|
configure:4698: checking whether gcc supports -pedantic -Wlong-long
|
||
|
configure:4716: gcc -c -pedantic -Wlong-long conftest.c >&5
|
||
|
configure:4716: $? = 0
|
||
|
configure:4724: result: yes
|
||
|
configure:4856: checking for ANSI C header files
|
||
|
configure:4960: result: yes
|
||
|
configure:4972: checking stddef.h usability
|
||
|
configure:4972: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking stddef.h presence
|
||
|
configure:4972: gcc -E conftest.c
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for stddef.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for stdlib.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for strings.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for unistd.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking fcntl.h usability
|
||
|
configure:4972: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking fcntl.h presence
|
||
|
configure:4972: gcc -E conftest.c
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for fcntl.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking sys/file.h usability
|
||
|
configure:4972: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking sys/file.h presence
|
||
|
configure:4972: gcc -E conftest.c
|
||
|
configure:4972: $? = 0
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for sys/file.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4972: checking for sys/stat.h
|
||
|
configure:4972: result: yes
|
||
|
configure:4986: checking for clearerr_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for feof_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for ferror_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fflush_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fgetc_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fgets_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fileno_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fprintf_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:63:6: warning: conflicting types for built-in function 'fprintf_unlocked'; expected 'int(void *, const char *, ...)' [-Wbuiltin-declaration-mismatch]
|
||
|
63 | char fprintf_unlocked ();
|
||
|
| ^~~~~~~~~~~~~~~~
|
||
|
/usr/bin/ld: /tmp/cc2kYaT5.o: in function `main':
|
||
|
/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage1/fixincludes/conftest.c:74: undefined reference to `fprintf_unlocked'
|
||
|
collect2: error: ld returned 1 exit status
|
||
|
configure:4986: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_SYS_TYPES_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRING_H 1
|
||
|
| #define HAVE_MEMORY_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_INTTYPES_H 1
|
||
|
| #define HAVE_STDINT_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define __EXTENSIONS__ 1
|
||
|
| #define _ALL_SOURCE 1
|
||
|
| #define _GNU_SOURCE 1
|
||
|
| #define _POSIX_PTHREAD_SEMANTICS 1
|
||
|
| #define _TANDEM_SOURCE 1
|
||
|
| #define EXE_EXT ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_STDDEF_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define HAVE_FCNTL_H 1
|
||
|
| #define HAVE_SYS_FILE_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_CLEARERR_UNLOCKED 1
|
||
|
| #define HAVE_FEOF_UNLOCKED 1
|
||
|
| #define HAVE_FERROR_UNLOCKED 1
|
||
|
| #define HAVE_FFLUSH_UNLOCKED 1
|
||
|
| #define HAVE_FGETC_UNLOCKED 1
|
||
|
| #define HAVE_FGETS_UNLOCKED 1
|
||
|
| #define HAVE_FILENO_UNLOCKED 1
|
||
|
| /* end confdefs.h. */
|
||
|
| /* Define fprintf_unlocked to an innocuous variant, in case <limits.h> declares fprintf_unlocked.
|
||
|
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
||
|
| #define fprintf_unlocked innocuous_fprintf_unlocked
|
||
|
|
|
||
|
| /* System header to define __stub macros and hopefully few prototypes,
|
||
|
| which can conflict with char fprintf_unlocked (); below.
|
||
|
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
||
|
| <limits.h> exists even on freestanding compilers. */
|
||
|
|
|
||
|
| #ifdef __STDC__
|
||
|
| # include <limits.h>
|
||
|
| #else
|
||
|
| # include <assert.h>
|
||
|
| #endif
|
||
|
|
|
||
|
| #undef fprintf_unlocked
|
||
|
|
|
||
|
| /* Override any GCC internal prototype to avoid an error.
|
||
|
| Use char because int might match the return type of a GCC
|
||
|
| builtin and then its argument prototype would still apply. */
|
||
|
| #ifdef __cplusplus
|
||
|
| extern "C"
|
||
|
| #endif
|
||
|
| char fprintf_unlocked ();
|
||
|
| /* 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_fprintf_unlocked || defined __stub___fprintf_unlocked
|
||
|
| choke me
|
||
|
| #endif
|
||
|
|
|
||
|
| int
|
||
|
| main ()
|
||
|
| {
|
||
|
| return fprintf_unlocked ();
|
||
|
| ;
|
||
|
| return 0;
|
||
|
| }
|
||
|
configure:4986: result: no
|
||
|
configure:4986: checking for fputc_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:63:6: warning: conflicting types for built-in function 'fputc_unlocked'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch]
|
||
|
63 | char fputc_unlocked ();
|
||
|
| ^~~~~~~~~~~~~~
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fputs_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:64:6: warning: conflicting types for built-in function 'fputs_unlocked'; expected 'int(const char *, void *)' [-Wbuiltin-declaration-mismatch]
|
||
|
64 | char fputs_unlocked ();
|
||
|
| ^~~~~~~~~~~~~~
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fread_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for fwrite_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:66:6: warning: conflicting types for built-in function 'fwrite_unlocked'; expected 'long unsigned int(const void *, long unsigned int, long unsigned int, void *)' [-Wbuiltin-declaration-mismatch]
|
||
|
66 | char fwrite_unlocked ();
|
||
|
| ^~~~~~~~~~~~~~~
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for getchar_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for getc_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for putchar_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:69:6: warning: conflicting types for built-in function 'putchar_unlocked'; expected 'int(int)' [-Wbuiltin-declaration-mismatch]
|
||
|
69 | char putchar_unlocked ();
|
||
|
| ^~~~~~~~~~~~~~~~
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4986: checking for putc_unlocked
|
||
|
configure:4986: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
conftest.c:70:6: warning: conflicting types for built-in function 'putc_unlocked'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch]
|
||
|
70 | char putc_unlocked ();
|
||
|
| ^~~~~~~~~~~~~
|
||
|
configure:4986: $? = 0
|
||
|
configure:4986: result: yes
|
||
|
configure:4995: checking whether abort is declared
|
||
|
configure:4995: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:4995: $? = 0
|
||
|
configure:4995: result: yes
|
||
|
configure:5005: checking whether asprintf is declared
|
||
|
configure:5005: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5005: $? = 0
|
||
|
configure:5005: result: yes
|
||
|
configure:5016: checking whether basename is declared
|
||
|
configure:5016: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5016: $? = 0
|
||
|
configure:5016: result: yes
|
||
|
configure:5026: checking whether errno is declared
|
||
|
configure:5026: gcc -c -g -O2 conftest.c >&5
|
||
|
conftest.c: In function 'main':
|
||
|
conftest.c:91:10: error: 'errno' undeclared (first use in this function)
|
||
|
91 | (void) errno;
|
||
|
| ^~~~~
|
||
|
conftest.c:83:1: note: 'errno' is defined in header '<errno.h>'; did you forget to '#include <errno.h>'?
|
||
|
82 | # include <unistd.h>
|
||
|
83 | #endif
|
||
|
conftest.c:91:10: note: each undeclared identifier is reported only once for each function it appears in
|
||
|
91 | (void) errno;
|
||
|
| ^~~~~
|
||
|
configure:5026: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_SYS_TYPES_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRING_H 1
|
||
|
| #define HAVE_MEMORY_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_INTTYPES_H 1
|
||
|
| #define HAVE_STDINT_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define __EXTENSIONS__ 1
|
||
|
| #define _ALL_SOURCE 1
|
||
|
| #define _GNU_SOURCE 1
|
||
|
| #define _POSIX_PTHREAD_SEMANTICS 1
|
||
|
| #define _TANDEM_SOURCE 1
|
||
|
| #define EXE_EXT ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_STDDEF_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define HAVE_FCNTL_H 1
|
||
|
| #define HAVE_SYS_FILE_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_CLEARERR_UNLOCKED 1
|
||
|
| #define HAVE_FEOF_UNLOCKED 1
|
||
|
| #define HAVE_FERROR_UNLOCKED 1
|
||
|
| #define HAVE_FFLUSH_UNLOCKED 1
|
||
|
| #define HAVE_FGETC_UNLOCKED 1
|
||
|
| #define HAVE_FGETS_UNLOCKED 1
|
||
|
| #define HAVE_FILENO_UNLOCKED 1
|
||
|
| #define HAVE_FPUTC_UNLOCKED 1
|
||
|
| #define HAVE_FPUTS_UNLOCKED 1
|
||
|
| #define HAVE_FREAD_UNLOCKED 1
|
||
|
| #define HAVE_FWRITE_UNLOCKED 1
|
||
|
| #define HAVE_GETCHAR_UNLOCKED 1
|
||
|
| #define HAVE_GETC_UNLOCKED 1
|
||
|
| #define HAVE_PUTCHAR_UNLOCKED 1
|
||
|
| #define HAVE_PUTC_UNLOCKED 1
|
||
|
| #define HAVE_DECL_ABORT 1
|
||
|
| #define HAVE_DECL_ASPRINTF 1
|
||
|
| #define HAVE_DECL_BASENAME 1
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <stdio.h>
|
||
|
| #ifdef HAVE_SYS_TYPES_H
|
||
|
| # include <sys/types.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_SYS_STAT_H
|
||
|
| # include <sys/stat.h>
|
||
|
| #endif
|
||
|
| #ifdef STDC_HEADERS
|
||
|
| # include <stdlib.h>
|
||
|
| # include <stddef.h>
|
||
|
| #else
|
||
|
| # ifdef HAVE_STDLIB_H
|
||
|
| # include <stdlib.h>
|
||
|
| # endif
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRING_H
|
||
|
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
||
|
| # include <memory.h>
|
||
|
| # endif
|
||
|
| # include <string.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRINGS_H
|
||
|
| # include <strings.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_INTTYPES_H
|
||
|
| # include <inttypes.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STDINT_H
|
||
|
| # include <stdint.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_UNISTD_H
|
||
|
| # include <unistd.h>
|
||
|
| #endif
|
||
|
| int
|
||
|
| main ()
|
||
|
| {
|
||
|
| #ifndef errno
|
||
|
| #ifdef __cplusplus
|
||
|
| (void) errno;
|
||
|
| #else
|
||
|
| (void) errno;
|
||
|
| #endif
|
||
|
| #endif
|
||
|
|
|
||
|
| ;
|
||
|
| return 0;
|
||
|
| }
|
||
|
configure:5026: result: no
|
||
|
configure:5036: checking whether vasprintf is declared
|
||
|
configure:5036: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5036: $? = 0
|
||
|
configure:5036: result: yes
|
||
|
configure:5047: checking whether clearerr_unlocked is declared
|
||
|
configure:5047: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5047: $? = 0
|
||
|
configure:5047: result: yes
|
||
|
configure:5057: checking whether feof_unlocked is declared
|
||
|
configure:5057: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5057: $? = 0
|
||
|
configure:5057: result: yes
|
||
|
configure:5067: checking whether ferror_unlocked is declared
|
||
|
configure:5067: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5067: $? = 0
|
||
|
configure:5067: result: yes
|
||
|
configure:5077: checking whether fflush_unlocked is declared
|
||
|
configure:5077: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5077: $? = 0
|
||
|
configure:5077: result: yes
|
||
|
configure:5087: checking whether fgetc_unlocked is declared
|
||
|
configure:5087: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5087: $? = 0
|
||
|
configure:5087: result: yes
|
||
|
configure:5097: checking whether fgets_unlocked is declared
|
||
|
configure:5097: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5097: $? = 0
|
||
|
configure:5097: result: yes
|
||
|
configure:5107: checking whether fileno_unlocked is declared
|
||
|
configure:5107: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5107: $? = 0
|
||
|
configure:5107: result: yes
|
||
|
configure:5117: checking whether fprintf_unlocked is declared
|
||
|
configure:5117: gcc -c -g -O2 conftest.c >&5
|
||
|
conftest.c: In function 'main':
|
||
|
conftest.c:100:10: error: 'fprintf_unlocked' undeclared (first use in this function); did you mean 'fwrite_unlocked'?
|
||
|
100 | (void) fprintf_unlocked;
|
||
|
| ^~~~~~~~~~~~~~~~
|
||
|
| fwrite_unlocked
|
||
|
conftest.c:100:10: note: each undeclared identifier is reported only once for each function it appears in
|
||
|
configure:5117: $? = 1
|
||
|
configure: failed program was:
|
||
|
| /* confdefs.h */
|
||
|
| #define PACKAGE_NAME "fixincludes"
|
||
|
| #define PACKAGE_TARNAME "fixincludes"
|
||
|
| #define PACKAGE_VERSION " "
|
||
|
| #define PACKAGE_STRING "fixincludes "
|
||
|
| #define PACKAGE_BUGREPORT ""
|
||
|
| #define PACKAGE_URL ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_SYS_TYPES_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRING_H 1
|
||
|
| #define HAVE_MEMORY_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_INTTYPES_H 1
|
||
|
| #define HAVE_STDINT_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define __EXTENSIONS__ 1
|
||
|
| #define _ALL_SOURCE 1
|
||
|
| #define _GNU_SOURCE 1
|
||
|
| #define _POSIX_PTHREAD_SEMANTICS 1
|
||
|
| #define _TANDEM_SOURCE 1
|
||
|
| #define EXE_EXT ""
|
||
|
| #define STDC_HEADERS 1
|
||
|
| #define HAVE_STDDEF_H 1
|
||
|
| #define HAVE_STDLIB_H 1
|
||
|
| #define HAVE_STRINGS_H 1
|
||
|
| #define HAVE_UNISTD_H 1
|
||
|
| #define HAVE_FCNTL_H 1
|
||
|
| #define HAVE_SYS_FILE_H 1
|
||
|
| #define HAVE_SYS_STAT_H 1
|
||
|
| #define HAVE_CLEARERR_UNLOCKED 1
|
||
|
| #define HAVE_FEOF_UNLOCKED 1
|
||
|
| #define HAVE_FERROR_UNLOCKED 1
|
||
|
| #define HAVE_FFLUSH_UNLOCKED 1
|
||
|
| #define HAVE_FGETC_UNLOCKED 1
|
||
|
| #define HAVE_FGETS_UNLOCKED 1
|
||
|
| #define HAVE_FILENO_UNLOCKED 1
|
||
|
| #define HAVE_FPUTC_UNLOCKED 1
|
||
|
| #define HAVE_FPUTS_UNLOCKED 1
|
||
|
| #define HAVE_FREAD_UNLOCKED 1
|
||
|
| #define HAVE_FWRITE_UNLOCKED 1
|
||
|
| #define HAVE_GETCHAR_UNLOCKED 1
|
||
|
| #define HAVE_GETC_UNLOCKED 1
|
||
|
| #define HAVE_PUTCHAR_UNLOCKED 1
|
||
|
| #define HAVE_PUTC_UNLOCKED 1
|
||
|
| #define HAVE_DECL_ABORT 1
|
||
|
| #define HAVE_DECL_ASPRINTF 1
|
||
|
| #define HAVE_DECL_BASENAME 1
|
||
|
| #define HAVE_DECL_ERRNO 0
|
||
|
| #define HAVE_DECL_VASPRINTF 1
|
||
|
| #define HAVE_DECL_CLEARERR_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FEOF_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FERROR_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FFLUSH_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FGETC_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FGETS_UNLOCKED 1
|
||
|
| #define HAVE_DECL_FILENO_UNLOCKED 1
|
||
|
| /* end confdefs.h. */
|
||
|
| #include <stdio.h>
|
||
|
| #ifdef HAVE_SYS_TYPES_H
|
||
|
| # include <sys/types.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_SYS_STAT_H
|
||
|
| # include <sys/stat.h>
|
||
|
| #endif
|
||
|
| #ifdef STDC_HEADERS
|
||
|
| # include <stdlib.h>
|
||
|
| # include <stddef.h>
|
||
|
| #else
|
||
|
| # ifdef HAVE_STDLIB_H
|
||
|
| # include <stdlib.h>
|
||
|
| # endif
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRING_H
|
||
|
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
||
|
| # include <memory.h>
|
||
|
| # endif
|
||
|
| # include <string.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STRINGS_H
|
||
|
| # include <strings.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_INTTYPES_H
|
||
|
| # include <inttypes.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_STDINT_H
|
||
|
| # include <stdint.h>
|
||
|
| #endif
|
||
|
| #ifdef HAVE_UNISTD_H
|
||
|
| # include <unistd.h>
|
||
|
| #endif
|
||
|
| int
|
||
|
| main ()
|
||
|
| {
|
||
|
| #ifndef fprintf_unlocked
|
||
|
| #ifdef __cplusplus
|
||
|
| (void) fprintf_unlocked;
|
||
|
| #else
|
||
|
| (void) fprintf_unlocked;
|
||
|
| #endif
|
||
|
| #endif
|
||
|
|
|
||
|
| ;
|
||
|
| return 0;
|
||
|
| }
|
||
|
configure:5117: result: no
|
||
|
configure:5127: checking whether fputc_unlocked is declared
|
||
|
configure:5127: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5127: $? = 0
|
||
|
configure:5127: result: yes
|
||
|
configure:5137: checking whether fputs_unlocked is declared
|
||
|
configure:5137: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5137: $? = 0
|
||
|
configure:5137: result: yes
|
||
|
configure:5147: checking whether fread_unlocked is declared
|
||
|
configure:5147: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5147: $? = 0
|
||
|
configure:5147: result: yes
|
||
|
configure:5157: checking whether fwrite_unlocked is declared
|
||
|
configure:5157: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5157: $? = 0
|
||
|
configure:5157: result: yes
|
||
|
configure:5167: checking whether getchar_unlocked is declared
|
||
|
configure:5167: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5167: $? = 0
|
||
|
configure:5167: result: yes
|
||
|
configure:5177: checking whether getc_unlocked is declared
|
||
|
configure:5177: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5177: $? = 0
|
||
|
configure:5177: result: yes
|
||
|
configure:5187: checking whether putchar_unlocked is declared
|
||
|
configure:5187: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5187: $? = 0
|
||
|
configure:5187: result: yes
|
||
|
configure:5197: checking whether putc_unlocked is declared
|
||
|
configure:5197: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5197: $? = 0
|
||
|
configure:5197: result: yes
|
||
|
configure:5210: checking for an ANSI C-conforming const
|
||
|
configure:5276: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5276: $? = 0
|
||
|
configure:5283: result: yes
|
||
|
configure:5294: checking sys/mman.h usability
|
||
|
configure:5294: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5294: $? = 0
|
||
|
configure:5294: result: yes
|
||
|
configure:5294: checking sys/mman.h presence
|
||
|
configure:5294: gcc -E conftest.c
|
||
|
configure:5294: $? = 0
|
||
|
configure:5294: result: yes
|
||
|
configure:5294: checking for sys/mman.h
|
||
|
configure:5294: result: yes
|
||
|
configure:5302: checking for mmap
|
||
|
configure:5302: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
|
||
|
configure:5302: $? = 0
|
||
|
configure:5302: result: yes
|
||
|
configure:5315: checking whether read-only mmap of a plain file works
|
||
|
configure:5332: result: yes
|
||
|
configure:5334: checking whether mmap from /dev/zero works
|
||
|
configure:5356: result: yes
|
||
|
configure:5360: checking for MAP_ANON(YMOUS)
|
||
|
configure:5383: gcc -c -g -O2 conftest.c >&5
|
||
|
configure:5383: $? = 0
|
||
|
configure:5390: result: yes
|
||
|
configure:5396: checking whether mmap with MAP_ANON(YMOUS) works
|
||
|
configure:5413: result: yes
|
||
|
configure:5435: checking whether to enable maintainer-specific portions of Makefiles
|
||
|
configure:5444: result: no
|
||
|
configure:5534: updating cache ./config.cache
|
||
|
configure:5583: creating ./config.status
|
||
|
|
||
|
## ---------------------- ##
|
||
|
## Running config.status. ##
|
||
|
## ---------------------- ##
|
||
|
|
||
|
This file was extended by fixincludes config.status , which was
|
||
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||
|
|
||
|
CONFIG_FILES =
|
||
|
CONFIG_HEADERS =
|
||
|
CONFIG_LINKS =
|
||
|
CONFIG_COMMANDS =
|
||
|
$ ./config.status
|
||
|
|
||
|
on seti-VirtualBox
|
||
|
|
||
|
config.status:872: creating Makefile
|
||
|
config.status:872: creating mkheaders.almost
|
||
|
config.status:872: creating config.h
|
||
|
|
||
|
## ---------------- ##
|
||
|
## Cache variables. ##
|
||
|
## ---------------- ##
|
||
|
|
||
|
ac_cv_build=x86_64-pc-linux-gnu
|
||
|
ac_cv_c_compiler_gnu=yes
|
||
|
ac_cv_c_const=yes
|
||
|
ac_cv_env_CC_set=set
|
||
|
ac_cv_env_CC_value=gcc
|
||
|
ac_cv_env_CFLAGS_set=set
|
||
|
ac_cv_env_CFLAGS_value='-g -O2 '
|
||
|
ac_cv_env_CPPFLAGS_set=
|
||
|
ac_cv_env_CPPFLAGS_value=
|
||
|
ac_cv_env_CPP_set=
|
||
|
ac_cv_env_CPP_value=
|
||
|
ac_cv_env_LDFLAGS_set=set
|
||
|
ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc '
|
||
|
ac_cv_env_LIBS_set=
|
||
|
ac_cv_env_LIBS_value=
|
||
|
ac_cv_env_build_alias_set=set
|
||
|
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
|
||
|
ac_cv_env_host_alias_set=set
|
||
|
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
|
||
|
ac_cv_env_target_alias_set=set
|
||
|
ac_cv_env_target_alias_value=riscv32-unknown-elf
|
||
|
ac_cv_func_clearerr_unlocked=yes
|
||
|
ac_cv_func_feof_unlocked=yes
|
||
|
ac_cv_func_ferror_unlocked=yes
|
||
|
ac_cv_func_fflush_unlocked=yes
|
||
|
ac_cv_func_fgetc_unlocked=yes
|
||
|
ac_cv_func_fgets_unlocked=yes
|
||
|
ac_cv_func_fileno_unlocked=yes
|
||
|
ac_cv_func_fprintf_unlocked=no
|
||
|
ac_cv_func_fputc_unlocked=yes
|
||
|
ac_cv_func_fputs_unlocked=yes
|
||
|
ac_cv_func_fread_unlocked=yes
|
||
|
ac_cv_func_fwrite_unlocked=yes
|
||
|
ac_cv_func_getc_unlocked=yes
|
||
|
ac_cv_func_getchar_unlocked=yes
|
||
|
ac_cv_func_mmap=yes
|
||
|
ac_cv_func_putc_unlocked=yes
|
||
|
ac_cv_func_putchar_unlocked=yes
|
||
|
ac_cv_have_decl_abort=yes
|
||
|
ac_cv_have_decl_asprintf=yes
|
||
|
ac_cv_have_decl_basename_char_p_=yes
|
||
|
ac_cv_have_decl_clearerr_unlocked=yes
|
||
|
ac_cv_have_decl_errno=no
|
||
|
ac_cv_have_decl_feof_unlocked=yes
|
||
|
ac_cv_have_decl_ferror_unlocked=yes
|
||
|
ac_cv_have_decl_fflush_unlocked=yes
|
||
|
ac_cv_have_decl_fgetc_unlocked=yes
|
||
|
ac_cv_have_decl_fgets_unlocked=yes
|
||
|
ac_cv_have_decl_fileno_unlocked=yes
|
||
|
ac_cv_have_decl_fprintf_unlocked=no
|
||
|
ac_cv_have_decl_fputc_unlocked=yes
|
||
|
ac_cv_have_decl_fputs_unlocked=yes
|
||
|
ac_cv_have_decl_fread_unlocked=yes
|
||
|
ac_cv_have_decl_fwrite_unlocked=yes
|
||
|
ac_cv_have_decl_getc_unlocked=yes
|
||
|
ac_cv_have_decl_getchar_unlocked=yes
|
||
|
ac_cv_have_decl_putc_unlocked=yes
|
||
|
ac_cv_have_decl_putchar_unlocked=yes
|
||
|
ac_cv_have_decl_vasprintf=yes
|
||
|
ac_cv_header_fcntl_h=yes
|
||
|
ac_cv_header_inttypes_h=yes
|
||
|
ac_cv_header_memory_h=yes
|
||
|
ac_cv_header_minix_config_h=no
|
||
|
ac_cv_header_stdc=yes
|
||
|
ac_cv_header_stddef_h=yes
|
||
|
ac_cv_header_stdint_h=yes
|
||
|
ac_cv_header_stdlib_h=yes
|
||
|
ac_cv_header_string_h=yes
|
||
|
ac_cv_header_strings_h=yes
|
||
|
ac_cv_header_sys_file_h=yes
|
||
|
ac_cv_header_sys_mman_h=yes
|
||
|
ac_cv_header_sys_stat_h=yes
|
||
|
ac_cv_header_sys_types_h=yes
|
||
|
ac_cv_header_unistd_h=yes
|
||
|
ac_cv_host=x86_64-pc-linux-gnu
|
||
|
ac_cv_objext=o
|
||
|
ac_cv_path_EGREP='/usr/bin/grep -E'
|
||
|
ac_cv_path_GREP=/usr/bin/grep
|
||
|
ac_cv_path_SED=/usr/bin/sed
|
||
|
ac_cv_prog_CC=gcc
|
||
|
ac_cv_prog_CPP='gcc -E'
|
||
|
ac_cv_prog_cc_c89=
|
||
|
ac_cv_prog_cc_g=yes
|
||
|
ac_cv_safe_to_define___extensions__=yes
|
||
|
ac_cv_target=riscv32-unknown-elf
|
||
|
acx_cv_prog_cc_pedantic__Wlong_long=yes
|
||
|
acx_cv_prog_cc_warning__W=yes
|
||
|
acx_cv_prog_cc_warning__Wall=yes
|
||
|
acx_cv_prog_cc_warning__Wmissing_format_attribute=yes
|
||
|
acx_cv_prog_cc_warning__Wmissing_prototypes=yes
|
||
|
acx_cv_prog_cc_warning__Wold_style_definition=yes
|
||
|
acx_cv_prog_cc_warning__Woverlength_strings=yes
|
||
|
acx_cv_prog_cc_warning__Wstrict_prototypes=yes
|
||
|
acx_cv_prog_cc_warning__Wwrite_strings=yes
|
||
|
gcc_cv_decl_map_anon=yes
|
||
|
gcc_cv_func_mmap_anon=yes
|
||
|
gcc_cv_func_mmap_dev_zero=yes
|
||
|
gcc_cv_func_mmap_file=yes
|
||
|
|
||
|
## ----------------- ##
|
||
|
## Output variables. ##
|
||
|
## ----------------- ##
|
||
|
|
||
|
CC='gcc'
|
||
|
CFLAGS='-g -O2 '
|
||
|
CPP='gcc -E'
|
||
|
CPPFLAGS=''
|
||
|
DEFS='-DHAVE_CONFIG_H'
|
||
|
ECHO_C=''
|
||
|
ECHO_N='-n'
|
||
|
ECHO_T=''
|
||
|
EGREP='/usr/bin/grep -E'
|
||
|
EXEEXT=''
|
||
|
GREP='/usr/bin/grep'
|
||
|
LDFLAGS='-static-libstdc++ -static-libgcc '
|
||
|
LIBOBJS=''
|
||
|
LIBS=''
|
||
|
LTLIBOBJS=''
|
||
|
MAINT='#'
|
||
|
OBJEXT='o'
|
||
|
PACKAGE_BUGREPORT=''
|
||
|
PACKAGE_NAME='fixincludes'
|
||
|
PACKAGE_STRING='fixincludes '
|
||
|
PACKAGE_TARNAME='fixincludes'
|
||
|
PACKAGE_URL=''
|
||
|
PACKAGE_VERSION=' '
|
||
|
PATH_SEPARATOR=':'
|
||
|
SED='/usr/bin/sed'
|
||
|
SHELL='/bin/bash'
|
||
|
TARGET='oneprocess'
|
||
|
WARN_CFLAGS='-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings'
|
||
|
WARN_PEDANTIC='-pedantic -Wno-long-long'
|
||
|
WERROR=''
|
||
|
ac_ct_CC=''
|
||
|
bindir='${exec_prefix}/bin'
|
||
|
build='x86_64-pc-linux-gnu'
|
||
|
build_alias='x86_64-pc-linux-gnu'
|
||
|
build_cpu='x86_64'
|
||
|
build_os='linux-gnu'
|
||
|
build_vendor='pc'
|
||
|
datadir='${datarootdir}'
|
||
|
datarootdir='${prefix}/share'
|
||
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||
|
dvidir='${docdir}'
|
||
|
exec_prefix='${prefix}'
|
||
|
get_gcc_base_ver='cat'
|
||
|
host='x86_64-pc-linux-gnu'
|
||
|
host_alias='x86_64-pc-linux-gnu'
|
||
|
host_cpu='x86_64'
|
||
|
host_os='linux-gnu'
|
||
|
host_vendor='pc'
|
||
|
htmldir='${docdir}'
|
||
|
includedir='${prefix}/include'
|
||
|
infodir='${datarootdir}/info'
|
||
|
libdir='${exec_prefix}/lib'
|
||
|
libexecdir='${exec_prefix}/libexec'
|
||
|
localedir='${datarootdir}/locale'
|
||
|
localstatedir='${prefix}/var'
|
||
|
mandir='${datarootdir}/man'
|
||
|
oldincludedir='/usr/include'
|
||
|
pdfdir='${docdir}'
|
||
|
prefix='/opt/riscv'
|
||
|
program_transform_name='s&^&riscv32-unknown-elf-&'
|
||
|
psdir='${docdir}'
|
||
|
sbindir='${exec_prefix}/sbin'
|
||
|
sharedstatedir='${prefix}/com'
|
||
|
sysconfdir='${prefix}/etc'
|
||
|
target='riscv32-unknown-elf'
|
||
|
target_alias='riscv32-unknown-elf'
|
||
|
target_cpu='riscv32'
|
||
|
target_noncanonical='riscv32-unknown-elf'
|
||
|
target_os='elf'
|
||
|
target_vendor='unknown'
|
||
|
|
||
|
## ----------- ##
|
||
|
## confdefs.h. ##
|
||
|
## ----------- ##
|
||
|
|
||
|
/* confdefs.h */
|
||
|
#define PACKAGE_NAME "fixincludes"
|
||
|
#define PACKAGE_TARNAME "fixincludes"
|
||
|
#define PACKAGE_VERSION " "
|
||
|
#define PACKAGE_STRING "fixincludes "
|
||
|
#define PACKAGE_BUGREPORT ""
|
||
|
#define PACKAGE_URL ""
|
||
|
#define STDC_HEADERS 1
|
||
|
#define HAVE_SYS_TYPES_H 1
|
||
|
#define HAVE_SYS_STAT_H 1
|
||
|
#define HAVE_STDLIB_H 1
|
||
|
#define HAVE_STRING_H 1
|
||
|
#define HAVE_MEMORY_H 1
|
||
|
#define HAVE_STRINGS_H 1
|
||
|
#define HAVE_INTTYPES_H 1
|
||
|
#define HAVE_STDINT_H 1
|
||
|
#define HAVE_UNISTD_H 1
|
||
|
#define __EXTENSIONS__ 1
|
||
|
#define _ALL_SOURCE 1
|
||
|
#define _GNU_SOURCE 1
|
||
|
#define _POSIX_PTHREAD_SEMANTICS 1
|
||
|
#define _TANDEM_SOURCE 1
|
||
|
#define EXE_EXT ""
|
||
|
#define STDC_HEADERS 1
|
||
|
#define HAVE_STDDEF_H 1
|
||
|
#define HAVE_STDLIB_H 1
|
||
|
#define HAVE_STRINGS_H 1
|
||
|
#define HAVE_UNISTD_H 1
|
||
|
#define HAVE_FCNTL_H 1
|
||
|
#define HAVE_SYS_FILE_H 1
|
||
|
#define HAVE_SYS_STAT_H 1
|
||
|
#define HAVE_CLEARERR_UNLOCKED 1
|
||
|
#define HAVE_FEOF_UNLOCKED 1
|
||
|
#define HAVE_FERROR_UNLOCKED 1
|
||
|
#define HAVE_FFLUSH_UNLOCKED 1
|
||
|
#define HAVE_FGETC_UNLOCKED 1
|
||
|
#define HAVE_FGETS_UNLOCKED 1
|
||
|
#define HAVE_FILENO_UNLOCKED 1
|
||
|
#define HAVE_FPUTC_UNLOCKED 1
|
||
|
#define HAVE_FPUTS_UNLOCKED 1
|
||
|
#define HAVE_FREAD_UNLOCKED 1
|
||
|
#define HAVE_FWRITE_UNLOCKED 1
|
||
|
#define HAVE_GETCHAR_UNLOCKED 1
|
||
|
#define HAVE_GETC_UNLOCKED 1
|
||
|
#define HAVE_PUTCHAR_UNLOCKED 1
|
||
|
#define HAVE_PUTC_UNLOCKED 1
|
||
|
#define HAVE_DECL_ABORT 1
|
||
|
#define HAVE_DECL_ASPRINTF 1
|
||
|
#define HAVE_DECL_BASENAME 1
|
||
|
#define HAVE_DECL_ERRNO 0
|
||
|
#define HAVE_DECL_VASPRINTF 1
|
||
|
#define HAVE_DECL_CLEARERR_UNLOCKED 1
|
||
|
#define HAVE_DECL_FEOF_UNLOCKED 1
|
||
|
#define HAVE_DECL_FERROR_UNLOCKED 1
|
||
|
#define HAVE_DECL_FFLUSH_UNLOCKED 1
|
||
|
#define HAVE_DECL_FGETC_UNLOCKED 1
|
||
|
#define HAVE_DECL_FGETS_UNLOCKED 1
|
||
|
#define HAVE_DECL_FILENO_UNLOCKED 1
|
||
|
#define HAVE_DECL_FPRINTF_UNLOCKED 0
|
||
|
#define HAVE_DECL_FPUTC_UNLOCKED 1
|
||
|
#define HAVE_DECL_FPUTS_UNLOCKED 1
|
||
|
#define HAVE_DECL_FREAD_UNLOCKED 1
|
||
|
#define HAVE_DECL_FWRITE_UNLOCKED 1
|
||
|
#define HAVE_DECL_GETCHAR_UNLOCKED 1
|
||
|
#define HAVE_DECL_GETC_UNLOCKED 1
|
||
|
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
|
||
|
#define HAVE_DECL_PUTC_UNLOCKED 1
|
||
|
#define HAVE_MMAP_FILE 1
|
||
|
#define HAVE_MMAP_DEV_ZERO 1
|
||
|
#define HAVE_MMAP_ANON 1
|
||
|
#define SED_PROGRAM "/usr/bin/sed"
|
||
|
|
||
|
configure: exit 0
|