Projet_SETI_RISC-V/riscv-gnu-toolchain/build-binutils-newlib/gprof/config.log
2023-03-06 14:48:14 +01:00

931 lines
32 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 gprof configure 2.39, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /home/seti/riscv-gnu-toolchain/binutils/gprof/configure --srcdir=/home/seti/riscv-gnu-toolchain/binutils/gprof --cache-file=./config.cache --with-gnu-as --with-gnu-ld --prefix=/opt/riscv --disable-werror --with-expat=yes --disable-gdb --disable-sim --disable-libdecnumber --disable-readline --with-isa-spec=2.2 --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:2163: creating cache ./config.cache
configure:2274: checking build system type
configure:2288: result: x86_64-pc-linux-gnu
configure:2308: checking host system type
configure:2321: result: x86_64-pc-linux-gnu
configure:2341: checking target system type
configure:2354: result: riscv32-unknown-elf
configure:2397: checking for a BSD-compatible install
configure:2465: result: /usr/bin/install -c
configure:2476: checking whether build environment is sane
configure:2531: result: yes
configure:2682: checking for a thread-safe mkdir -p
configure:2721: result: /usr/bin/mkdir -p
configure:2728: checking for gawk
configure:2755: result: /usr/bin/gawk
configure:2766: checking whether make sets $(MAKE)
configure:2788: result: yes
configure:2817: checking whether make supports nested variables
configure:2834: result: yes
configure:2971: checking whether make supports nested variables
configure:2988: result: yes
configure:3011: checking for x86_64-pc-linux-gnu-gcc
configure:3038: result: gcc
configure:3307: checking for C compiler version
configure:3316: 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:3327: $? = 0
configure:3316: 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:3327: $? = 0
configure:3316: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3327: $? = 1
configure:3316: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3327: $? = 1
configure:3347: checking whether the C compiler works
configure:3369: gcc -g -O2 conftest.c >&5
configure:3373: $? = 0
configure:3421: result: yes
configure:3424: checking for C compiler default output file name
configure:3426: result: a.out
configure:3432: checking for suffix of executables
configure:3439: gcc -o conftest -g -O2 conftest.c >&5
configure:3443: $? = 0
configure:3465: result:
configure:3487: checking whether we are cross compiling
configure:3495: gcc -o conftest -g -O2 conftest.c >&5
configure:3499: $? = 0
configure:3506: ./conftest
configure:3510: $? = 0
configure:3525: result: no
configure:3530: checking for suffix of object files
configure:3552: gcc -c -g -O2 conftest.c >&5
configure:3556: $? = 0
configure:3577: result: o
configure:3581: checking whether we are using the GNU C compiler
configure:3600: gcc -c -g -O2 conftest.c >&5
configure:3600: $? = 0
configure:3609: result: yes
configure:3618: checking whether gcc accepts -g
configure:3638: gcc -c -g conftest.c >&5
configure:3638: $? = 0
configure:3679: result: yes
configure:3696: checking for gcc option to accept ISO C89
configure:3759: gcc -c -g -O2 conftest.c >&5
configure:3759: $? = 0
configure:3772: result: none needed
configure:3797: checking whether gcc understands -c and -o together
configure:3819: gcc -c conftest.c -o conftest2.o
configure:3822: $? = 0
configure:3819: gcc -c conftest.c -o conftest2.o
configure:3822: $? = 0
configure:3834: result: yes
configure:3862: checking for style of include used by make
configure:3890: result: GNU
configure:3916: checking dependency style of gcc
configure:4027: result: gcc3
configure:4048: checking how to run the C preprocessor
configure:4079: gcc -E conftest.c
configure:4079: $? = 0
configure:4093: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4093: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4118: result: gcc -E
configure:4138: gcc -E conftest.c
configure:4138: $? = 0
configure:4152: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4152: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4181: checking for grep that handles long lines and -e
configure:4239: result: /usr/bin/grep
configure:4244: checking for egrep
configure:4306: result: /usr/bin/grep -E
configure:4311: checking for ANSI C header files
configure:4331: gcc -c -g -O2 conftest.c >&5
configure:4331: $? = 0
configure:4404: gcc -o conftest -g -O2 conftest.c >&5
configure:4404: $? = 0
configure:4404: ./conftest
configure:4404: $? = 0
configure:4415: result: yes
configure:4428: checking for sys/types.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for sys/stat.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for stdlib.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for string.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for memory.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for strings.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for inttypes.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for stdint.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4428: checking for unistd.h
configure:4428: gcc -c -g -O2 conftest.c >&5
configure:4428: $? = 0
configure:4428: result: yes
configure:4441: checking minix/config.h usability
configure:4441: gcc -c -g -O2 conftest.c >&5
conftest.c:54:10: fatal error: minix/config.h: No such file or directory
54 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:4441: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| #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:4441: result: no
configure:4441: checking minix/config.h presence
configure:4441: gcc -E conftest.c
conftest.c:21:10: fatal error: minix/config.h: No such file or directory
21 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:4441: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| #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:4441: result: no
configure:4441: checking for minix/config.h
configure:4441: result: no
configure:4462: checking whether it is safe to define __EXTENSIONS__
configure:4480: gcc -c -g -O2 conftest.c >&5
configure:4480: $? = 0
configure:4487: result: yes
configure:4551: checking how to print strings
configure:4578: result: printf
configure:4599: checking for a sed that does not truncate output
configure:4663: result: /usr/bin/sed
configure:4681: checking for fgrep
configure:4743: result: /usr/bin/grep -F
configure:4778: checking for ld used by gcc
configure:4845: result: ld
configure:4852: checking if the linker (ld) is GNU ld
configure:4867: result: yes
configure:4879: checking for BSD- or MS-compatible name lister (nm)
configure:4935: result: /usr/bin/nm -B
configure:5065: checking the name lister (/usr/bin/nm -B) interface
configure:5072: gcc -c -g -O2 conftest.c >&5
configure:5075: /usr/bin/nm -B "conftest.o"
configure:5078: output
0000000000000000 B some_variable
configure:5085: result: BSD nm
configure:5088: checking whether ln -s works
configure:5092: result: yes
configure:5100: checking the maximum length of command line arguments
configure:5225: result: 1572864
configure:5242: checking whether the shell understands some XSI constructs
configure:5252: result: yes
configure:5256: checking whether the shell understands "+="
configure:5262: result: yes
configure:5297: checking for ld option to reload object files
configure:5304: result: -r
configure:5333: checking for x86_64-pc-linux-gnu-objdump
configure:5360: result: objdump
configure:5432: checking how to recognize dependent libraries
configure:5633: result: pass_all
configure:5666: checking for x86_64-pc-linux-gnu-ar
configure:5693: result: ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so
configure:5784: checking for x86_64-pc-linux-gnu-strip
configure:5814: result: no
configure:5824: checking for strip
configure:5840: found /usr/bin/strip
configure:5851: result: strip
configure:5883: checking for x86_64-pc-linux-gnu-ranlib
configure:5910: result: ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so
configure:6057: checking command to parse /usr/bin/nm -B output from gcc object
configure:6175: gcc -c -g -O2 conftest.c >&5
configure:6178: $? = 0
configure:6182: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:6185: $? = 0
configure:6239: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6242: $? = 0
configure:6280: result: ok
configure:6375: gcc -c -g -O2 conftest.c >&5
configure:6378: $? = 0
configure:7128: checking for dlfcn.h
configure:7128: gcc -c -g -O2 conftest.c >&5
configure:7128: $? = 0
configure:7128: result: yes
configure:7315: checking for objdir
configure:7330: result: .libs
configure:7601: checking if gcc supports -fno-rtti -fno-exceptions
configure:7619: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:7623: $? = 0
configure:7636: result: no
configure:7656: checking for gcc option to produce PIC
configure:7942: result: -fPIC -DPIC
configure:7954: checking if gcc PIC flag -fPIC -DPIC works
configure:7972: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:7976: $? = 0
configure:7989: result: yes
configure:8013: checking if gcc static flag -static works
configure:8041: result: yes
configure:8056: checking if gcc supports -c -o file.o
configure:8077: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8081: $? = 0
configure:8103: result: yes
configure:8111: checking if gcc supports -c -o file.o
configure:8158: result: yes
configure:8191: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries
configure:9262: result: yes
configure:9299: checking whether -lc should be explicitly linked in
configure:9307: gcc -c -g -O2 conftest.c >&5
configure:9310: $? = 0
configure:9325: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:9328: $? = 0
configure:9342: result: no
configure:9507: checking dynamic linker characteristics
configure:9948: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:9948: $? = 0
configure:10170: result: GNU/Linux ld.so
configure:10277: checking how to hardcode library paths into programs
configure:10302: result: immediate
configure:10842: checking whether stripping libraries is possible
configure:10847: result: yes
configure:10882: checking if libtool supports shared libraries
configure:10884: result: yes
configure:10887: checking whether to build shared libraries
configure:10908: result: yes
configure:10911: checking whether to build static libraries
configure:10915: result: yes
configure:10963: checking for dlfcn.h
configure:10963: result: yes
configure:10976: checking for windows.h
configure:10976: gcc -c -g -O2 conftest.c >&5
conftest.c:63:10: fatal error: windows.h: No such file or directory
63 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminated.
configure:10976: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_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 <windows.h>
configure:10976: result: no
configure:11003: checking for library containing dlsym
configure:11034: gcc -o conftest -g -O2 conftest.c >&5
configure:11034: $? = 0
configure:11051: result: none required
configure:11123: checking for special C compiler options needed for large files
configure:11168: result: no
configure:11174: checking for _FILE_OFFSET_BITS value needed for large files
configure:11199: gcc -c -g -O2 conftest.c >&5
configure:11199: $? = 0
configure:11231: result: no
configure:11321: checking sys/time.h usability
configure:11321: gcc -c -g -O2 conftest.c >&5
configure:11321: $? = 0
configure:11321: result: yes
configure:11321: checking sys/time.h presence
configure:11321: gcc -E conftest.c
configure:11321: $? = 0
configure:11321: result: yes
configure:11321: checking for sys/time.h
configure:11321: result: yes
configure:11333: checking for setitimer
configure:11333: gcc -o conftest -g -O2 conftest.c >&5
configure:11333: $? = 0
configure:11333: result: yes
configure:11357: checking whether NLS is requested
configure:11363: result: yes
configure:11369: checking for catalogs to be installed
configure:11401: result: bg da de eo es fi fr ga hu id it ja ka ms nl pt_BR ro ru rw sr sv tr uk vi
configure:11428: checking whether NLS is requested
configure:11437: result: yes
configure:11475: checking for msgfmt
configure:11509: result: no
configure:11515: checking for gmsgfmt
configure:11546: result: :
configure:11586: checking for xgettext
configure:11620: result: no
configure:11657: checking for msgmerge
configure:11690: result: no
configure:11724: checking whether to enable maintainer-specific portions of Makefiles
configure:11733: result: no
configure:11758: checking sys/gmon_out.h usability
configure:11758: gcc -c -g -O2 conftest.c >&5
configure:11758: $? = 0
configure:11758: result: yes
configure:11758: checking sys/gmon_out.h presence
configure:11758: gcc -E conftest.c
configure:11758: $? = 0
configure:11758: result: yes
configure:11758: checking for sys/gmon_out.h
configure:11758: result: yes
configure:11769: checking for a known getopt prototype in unistd.h
configure:11785: gcc -c -g -O2 conftest.c >&5
configure:11785: $? = 0
configure:11793: result: yes
configure:11802: checking for library containing fabs
configure:11833: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:41:6: warning: conflicting types for built-in function 'fabs'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
41 | char fabs ();
| ^~~~
conftest.c:1:1: note: 'fabs' is declared in header '<math.h>'
1 | /* confdefs.h */
/usr/bin/ld: /tmp/cc921nBa.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-binutils-newlib/gprof/conftest.c:45: undefined reference to `fabs'
collect2: error: ld returned 1 exit status
configure:11833: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gprof"
| #define PACKAGE_TARNAME "gprof"
| #define PACKAGE_VERSION "2.39"
| #define PACKAGE_STRING "gprof 2.39"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gprof"
| #define VERSION "2.39"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SETITIMER 1
| #define ENABLE_NLS 1
| #define HAVE_SYS_GMON_OUT_H 1
| #define HAVE_DECL_GETOPT 1
| /* end confdefs.h. */
|
| /* 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 fabs ();
| int
| main ()
| {
| return fabs ();
| ;
| return 0;
| }
configure:11833: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:41:6: warning: conflicting types for built-in function 'fabs'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
41 | char fabs ();
| ^~~~
conftest.c:1:1: note: 'fabs' is declared in header '<math.h>'
1 | /* confdefs.h */
configure:11833: $? = 0
configure:11850: result: -lm
gcc: warning: @CPPFLAGS_FOR_BUILD@: linker input file unused because linking not done
gcc: error: @CPPFLAGS_FOR_BUILD@: linker input file not found: No such file or directory
gcc: warning: @CPPFLAGS_FOR_BUILD@: linker input file unused because linking not done
gcc: error: @CPPFLAGS_FOR_BUILD@: linker input file not found: No such file or directory
configure:12076: updating cache ./config.cache
configure:12120: checking that generated files are newer than configure
configure:12126: result: done
configure:12157: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by gprof config.status 2.39, 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:1117: creating Makefile
config.status:1117: creating po/Makefile.in
config.status:1117: creating gconfig.h
config.status:1331: executing depfiles commands
config.status:1331: executing libtool commands
config.status:1331: executing default-1 commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=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=' '
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_setitimer=yes
ac_cv_header_dlfcn_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_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_gmon_out_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_windows_h=no
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GMSGFMT=:
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=:
ac_cv_path_MSGMERGE=:
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_XGETTEXT=:
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AR='ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
ac_cv_prog_AWK=/usr/bin/gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_dlsym='none required'
ac_cv_search_fabs=-lm
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=riscv32-unknown-elf
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
gprof_cv_decl_getopt_unistd_h=yes
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/seti/riscv-gnu-toolchain/binutils/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
AUTOCONF='${SHELL} /home/seti/riscv-gnu-toolchain/binutils/missing autoconf'
AUTOHEADER='${SHELL} /home/seti/riscv-gnu-toolchain/binutils/missing autoheader'
AUTOMAKE='${SHELL} /home/seti/riscv-gnu-toolchain/binutils/missing automake-1.15'
AWK='/usr/bin/gawk'
CATALOGS=' bg.gmo da.gmo de.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hu.gmo id.gmo it.gmo ja.gmo ka.gmo ms.gmo nl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo'
CATOBJEXT='.gmo'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 '
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME='share'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DSYMUTIL='@DSYMUTIL@'
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GENCAT='gencat'
GENINSRC_NEVER_FALSE=''
GENINSRC_NEVER_TRUE='#'
GMSGFMT=':'
GREP='/usr/bin/grep'
INCINTL=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT='.mo'
LARGEFILE_CPPFLAGS=''
LD='ld -m elf_x86_64'
LDFLAGS=' '
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000'
MKDIR_P='/usr/bin/mkdir -p'
MKINSTALLDIRS='/home/seti/riscv-gnu-toolchain/binutils/gprof/../mkinstalldirs'
MSGFMT=':'
MSGMERGE=':'
NM='/usr/bin/nm -B'
NMEDIT=''
NO_WERROR=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL='@OTOOL@'
PACKAGE='gprof'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='gprof'
PACKAGE_STRING='gprof 2.39'
PACKAGE_TARNAME='gprof'
PACKAGE_URL=''
PACKAGE_VERSION='2.39'
PATH_SEPARATOR=':'
POSUB='po'
RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
USE_NLS='yes'
VERSION='2.39'
WARN_CFLAGS='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144'
WARN_CFLAGS_FOR_BUILD='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144'
WARN_WRITE_STRINGS='-Wwrite-strings'
XGETTEXT=':'
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
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}'
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'
install_sh='${SHELL} /home/seti/riscv-gnu-toolchain/binutils/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
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_os='elf'
target_vendor='unknown'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "gprof"
#define PACKAGE_TARNAME "gprof"
#define PACKAGE_VERSION "2.39"
#define PACKAGE_STRING "gprof 2.39"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "gprof"
#define VERSION "2.39"
#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 HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_DLFCN_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SETITIMER 1
#define ENABLE_NLS 1
#define HAVE_SYS_GMON_OUT_H 1
#define HAVE_DECL_GETOPT 1
configure: exit 0