You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

885 lines
32 KiB
Plaintext

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by LTO plugin for ld configure 0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /home/seti/riscv-gnu-toolchain/gcc/lto-plugin/configure --srcdir=/home/seti/riscv-gnu-toolchain/gcc/lto-plugin --cache-file=./config.cache --with-system-zlib --prefix=/opt/riscv --disable-shared --disable-threads --with-pkgversion=g2ee5e430018 --with-system-zlib --enable-tls --with-newlib --with-sysroot=/opt/riscv/riscv32-unknown-elf --with-native-system-header-dir=/include --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 --enable-shared
## --------- ##
## 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:2292: creating cache ./config.cache
configure:2401: checking build system type
configure:2415: result: x86_64-pc-linux-gnu
configure:2435: checking host system type
configure:2448: result: x86_64-pc-linux-gnu
configure:2468: checking target system type
configure:2481: result: riscv32-unknown-elf
configure:2569: checking for a BSD-compatible install
configure:2637: result: /usr/bin/install -c
configure:2648: checking whether build environment is sane
configure:2703: result: yes
configure:2854: checking for a thread-safe mkdir -p
configure:2893: result: /usr/bin/mkdir -p
configure:2900: checking for gawk
configure:2927: result: /usr/bin/gawk
configure:2938: checking whether make sets $(MAKE)
configure:2960: result: yes
configure:2989: checking whether make supports nested variables
configure:3006: result: yes
configure:3133: checking whether to enable maintainer-specific portions of Makefiles
configure:3142: result: no
configure:3176: checking for style of include used by make
configure:3204: result: GNU
configure:3235: checking for x86_64-pc-linux-gnu-gcc
configure:3262: result: gcc
configure:3531: checking for C compiler version
configure:3540: 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:3551: $? = 0
configure:3540: 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:3551: $? = 0
configure:3540: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3551: $? = 1
configure:3540: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3551: $? = 1
configure:3571: checking whether the C compiler works
configure:3593: gcc -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
configure:3597: $? = 0
configure:3645: result: yes
configure:3648: checking for C compiler default output file name
configure:3650: result: a.out
configure:3656: checking for suffix of executables
configure:3663: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
configure:3667: $? = 0
configure:3689: result:
configure:3711: checking whether we are cross compiling
configure:3719: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
configure:3723: $? = 0
configure:3730: ./conftest
configure:3734: $? = 0
configure:3749: result: no
configure:3754: checking for suffix of object files
configure:3776: gcc -c -g -O2 conftest.c >&5
configure:3780: $? = 0
configure:3801: result: o
configure:3805: checking whether we are using the GNU C compiler
configure:3824: gcc -c -g -O2 conftest.c >&5
configure:3824: $? = 0
configure:3833: result: yes
configure:3842: checking whether gcc accepts -g
configure:3862: gcc -c -g conftest.c >&5
configure:3862: $? = 0
configure:3903: result: yes
configure:3920: checking for gcc option to accept ISO C89
configure:3983: gcc -c -g -O2 conftest.c >&5
configure:3983: $? = 0
configure:3996: result: none needed
configure:4021: checking whether gcc understands -c and -o together
configure:4043: gcc -c conftest.c -o conftest2.o
configure:4046: $? = 0
configure:4043: gcc -c conftest.c -o conftest2.o
configure:4046: $? = 0
configure:4058: result: yes
configure:4077: checking dependency style of gcc
configure:4188: result: gcc3
configure:4209: checking how to run the C preprocessor
configure:4240: gcc -E conftest.c
configure:4240: $? = 0
configure:4254: 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:4254: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4279: result: gcc -E
configure:4299: gcc -E conftest.c
configure:4299: $? = 0
configure:4313: 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:4313: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4342: checking for grep that handles long lines and -e
configure:4400: result: /usr/bin/grep
configure:4405: checking for egrep
configure:4467: result: /usr/bin/grep -E
configure:4472: checking for ANSI C header files
configure:4492: gcc -c -g -O2 conftest.c >&5
configure:4492: $? = 0
configure:4565: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
configure:4565: $? = 0
configure:4565: ./conftest
configure:4565: $? = 0
configure:4576: result: yes
configure:4589: checking for sys/types.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for sys/stat.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for stdlib.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for string.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for memory.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for strings.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for inttypes.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for stdint.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4589: checking for unistd.h
configure:4589: gcc -c -g -O2 conftest.c >&5
configure:4589: $? = 0
configure:4589: result: yes
configure:4602: checking minix/config.h usability
configure:4602: 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:4602: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| #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:4602: result: no
configure:4602: checking minix/config.h presence
configure:4602: 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:4602: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| #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:4602: result: no
configure:4602: checking for minix/config.h
configure:4602: result: no
configure:4623: checking whether it is safe to define __EXTENSIONS__
configure:4641: gcc -c -g -O2 conftest.c >&5
configure:4641: $? = 0
configure:4648: result: yes
configure:4670: checking for x86_64-pc-linux-gnu-gcc
configure:4697: result: gcc
configure:4966: checking for C compiler version
configure:4975: 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:4986: $? = 0
configure:4975: 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:4986: $? = 0
configure:4975: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4986: $? = 1
configure:4975: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4986: $? = 1
configure:4990: checking whether we are using the GNU C compiler
configure:5018: result: yes
configure:5027: checking whether gcc accepts -g
configure:5088: result: yes
configure:5105: checking for gcc option to accept ISO C89
configure:5181: result: none needed
configure:5206: checking whether gcc understands -c and -o together
configure:5243: result: yes
configure:5262: checking dependency style of gcc
configure:5373: result: gcc3
configure:5395: checking for special C compiler options needed for large files
configure:5440: result: no
configure:5446: checking for _FILE_OFFSET_BITS value needed for large files
configure:5471: gcc -c -g -O2 conftest.c >&5
configure:5471: $? = 0
configure:5503: result: no
configure:5605: checking whether gcc supports -Wall
configure:5622: gcc -c -Wall conftest.c >&5
configure:5622: $? = 0
configure:5631: result: yes
configure:5649: checking for -static-libgcc
configure:5656: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc -static-libgcc conftest.c >&5
configure:5656: $? = 0
configure:5663: result: yes
configure:5685: checking for CET support
configure:5714: gcc -c -g -O2 -fcf-protection conftest.c >&5
configure:5714: $? = 0
configure:5780: gcc -o conftest -g -O2 -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5
configure:5780: $? = 0
configure:5808: gcc -o conftest -g -O2 -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5
configure:5808: $? = 0
configure:5808: ./conftest
configure:5808: $? = 0
configure:5855: gcc -o conftest -g -O2 -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5
configure:5855: $? = 0
configure:5855: ./conftest
configure:5855: $? = 0
configure:5876: result: yes
configure:5919: checking whether symbol versioning is supported
configure:5945: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc -fPIC -shared -Wl,--version-script,./conftest.map conftest.c >&5
configure:5945: $? = 0
configure:5986: result: gnu
configure:6059: checking how to print strings
configure:6086: result: printf
configure:6107: checking for a sed that does not truncate output
configure:6171: result: /usr/bin/sed
configure:6189: checking for fgrep
configure:6251: result: /usr/bin/grep -F
configure:6286: checking for ld used by gcc
configure:6353: result: ld
configure:6360: checking if the linker (ld) is GNU ld
configure:6375: result: yes
configure:6387: checking for BSD- or MS-compatible name lister (nm)
configure:6436: result: nm
configure:6566: checking the name lister (nm) interface
configure:6573: gcc -c -g -O2 conftest.c >&5
configure:6576: nm "conftest.o"
configure:6579: output
0000000000000000 B some_variable
configure:6586: result: BSD nm
configure:6589: checking whether ln -s works
configure:6593: result: yes
configure:6601: checking the maximum length of command line arguments
configure:6726: result: 1572864
configure:6743: checking whether the shell understands some XSI constructs
configure:6753: result: yes
configure:6757: checking whether the shell understands "+="
configure:6763: result: yes
configure:6798: checking for ld option to reload object files
configure:6805: result: -r
configure:6834: checking for x86_64-pc-linux-gnu-objdump
configure:6861: result: objdump
configure:6933: checking how to recognize dependent libraries
configure:7134: result: pass_all
configure:7154: checking for x86_64-pc-linux-gnu-ar
configure:7181: result: ar
configure:7259: checking for x86_64-pc-linux-gnu-strip
configure:7289: result: no
configure:7299: checking for strip
configure:7315: found /usr/bin/strip
configure:7326: result: strip
configure:7358: checking for x86_64-pc-linux-gnu-ranlib
configure:7385: result: ranlib
configure:7527: checking command to parse nm output from gcc object
configure:7645: gcc -c -g -O2 conftest.c >&5
configure:7648: $? = 0
configure:7652: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:7655: $? = 0
configure:7709: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c conftstm.o >&5
configure:7712: $? = 0
configure:7750: result: ok
configure:7845: gcc -c -g -O2 conftest.c >&5
configure:7848: $? = 0
configure:8600: checking for dlfcn.h
configure:8600: gcc -c -g -O2 conftest.c >&5
configure:8600: $? = 0
configure:8600: result: yes
configure:8787: checking for objdir
configure:8802: result: .libs
configure:9073: checking if gcc supports -fno-rtti -fno-exceptions
configure:9091: 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:9095: $? = 0
configure:9108: result: no
configure:9128: checking for gcc option to produce PIC
configure:9414: result: -fPIC -DPIC
configure:9426: checking if gcc PIC flag -fPIC -DPIC works
configure:9444: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:9448: $? = 0
configure:9461: result: yes
configure:9485: checking if gcc static flag -static works
configure:9513: result: yes
configure:9528: checking if gcc supports -c -o file.o
configure:9549: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9553: $? = 0
configure:9575: result: yes
configure:9583: checking if gcc supports -c -o file.o
configure:9630: result: yes
configure:9663: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries
configure:10734: result: yes
configure:10771: checking whether -lc should be explicitly linked in
configure:10779: gcc -c -g -O2 conftest.c >&5
configure:10782: $? = 0
configure:10797: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:10800: $? = 0
configure:10814: result: no
configure:10979: checking dynamic linker characteristics
configure:11425: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc -Wl,-rpath -Wl,/foo conftest.c >&5
configure:11425: $? = 0
configure:11647: result: GNU/Linux ld.so
configure:11754: checking how to hardcode library paths into programs
configure:11779: result: immediate
configure:12319: checking whether stripping libraries is possible
configure:12324: result: yes
configure:12359: checking if libtool supports shared libraries
configure:12361: result: yes
configure:12364: checking whether to build shared libraries
configure:12385: result: yes
configure:12388: checking whether to build static libraries
configure:12392: result: yes
configure:12450: checking for int64_t
configure:12450: gcc -c -g -O2 conftest.c >&5
configure:12450: $? = 0
configure:12450: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:66:67: warning: integer overflow in expression of type 'long int' results in '-9223372036854775808' [-Woverflow]
66 | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| ^
conftest.c:65:12: error: storage size of 'test_array' isn't constant
65 | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| ^~~~~~~~~~
configure:12450: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| #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/"
| /* 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
| enum { N = 64 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:12450: result: yes
configure:12461: checking for uint64_t
configure:12461: gcc -c -g -O2 conftest.c >&5
configure:12461: $? = 0
configure:12461: result: yes
configure:12475: checking for sys/wait.h that is POSIX.1 compatible
configure:12501: gcc -c -g -O2 conftest.c >&5
configure:12501: $? = 0
configure:12508: result: yes
configure:12577: updating cache ./config.cache
configure:12621: checking that generated files are newer than configure
configure:12627: result: done
configure:12670: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by LTO plugin for ld config.status 0.1, 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:1100: creating Makefile
config.status:1100: creating config.h
config.status:1314: executing depfiles commands
config.status:1314: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_int64_t=yes
ac_cv_c_uint64_t=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_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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_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_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AR=ar
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
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_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=riscv32-unknown-elf
acx_cv_prog_cc_warning__Wall=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=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=nm
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/gcc/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing autoconf'
AUTOHEADER='${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing autoheader'
AUTOMAKE='${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing automake-1.15'
AWK='/usr/bin/gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CET_HOST_FLAGS='-fcf-protection'
CFLAGS='-g -O2 '
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
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'
GREP='/usr/bin/grep'
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'
LD='ld -m elf_x86_64'
LDFLAGS='-static-libstdc++ -static-libgcc '
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LTO_PLUGIN_USE_SYMVER_FALSE='#'
LTO_PLUGIN_USE_SYMVER_GNU_FALSE='#'
LTO_PLUGIN_USE_SYMVER_GNU_TRUE=''
LTO_PLUGIN_USE_SYMVER_SUN_FALSE=''
LTO_PLUGIN_USE_SYMVER_SUN_TRUE='#'
LTO_PLUGIN_USE_SYMVER_TRUE=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000'
MKDIR_P='/usr/bin/mkdir -p'
NM='nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL='otool'
PACKAGE='lto-plugin'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='LTO plugin for ld'
PACKAGE_STRING='LTO plugin for ld 0.1'
PACKAGE_TARNAME='lto-plugin'
PACKAGE_URL=''
PACKAGE_VERSION='0.1'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='0.1'
ac_ct_CC=''
ac_ct_DUMPBIN=''
ac_lto_plugin_ldflags='-Wc,-static-libgcc'
ac_lto_plugin_warn_cflags='-Wall'
accel_dir_suffix=''
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_libsubdir='build-x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
gcc_build_dir='../gcc'
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_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/seti/riscv-gnu-toolchain/gcc/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_host_flags=''
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/riscv'
program_transform_name='s&^&riscv32-unknown-elf-&'
psdir='${docdir}'
real_target_noncanonical='riscv32-unknown-elf'
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_subdir='riscv32-unknown-elf'
target_vendor='unknown'
with_libiberty='../libiberty'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "LTO plugin for ld"
#define PACKAGE_TARNAME "lto-plugin"
#define PACKAGE_VERSION "0.1"
#define PACKAGE_STRING "LTO plugin for ld 0.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "lto-plugin"
#define VERSION "0.1"
#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_SYS_WAIT_H 1
configure: exit 0