Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Support --with-{gmp,mpfr,mpc} #72

Closed
bschommer opened this issue May 10, 2017 · 10 comments
Closed

Support --with-{gmp,mpfr,mpc} #72

bschommer opened this issue May 10, 2017 · 10 comments

Comments

@bschommer
Copy link

It would be nice if it was possible to pass these options to the configure scripts since allow it to use a local installation of newer versions of gmp,mpc and mpfr without root rights.

@palmer-dabbelt
Copy link
Contributor

palmer-dabbelt commented May 10, 2017 via email

@bschommer
Copy link
Author

No it does not work it currently fails with:

configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header

@palmer-dabbelt
Copy link
Contributor

palmer-dabbelt commented May 10, 2017 via email

@bschommer
Copy link
Author

With calling the download_prequisites manually it worked.

@palmer-dabbelt
Copy link
Contributor

Can I have riscv-gnu-toolchain/build/config.log and riscv-gnu-toolchain/build/build-gcc-newlib-stage1/config.log? That way I'll be able to see what autoconf did on your system, as this all builds for us.

@bschommer
Copy link
Author

bschommer commented May 10, 2017

riscv-gnu-toolchain/build/config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by riscv-toolchain configure 1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../configure --prefix=/local/schommer/trunk/build/riscv-gcc.default/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = zoidberg
uname -m = x86_64
uname -r = 4.4.46-11-default
uname -s = Linux
uname -v = #1 SMP Sat Feb 4 06:07:41 UTC 2017 (f555e41)

/usr/bin/uname -p = unknown
/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: /local/schommer/trunk/build/riscv-gcc.default/usr/bin
PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/bin
PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/share/texlive/bin/x86_64-linux
PATH: /opt/rh/devtoolset-3/root/usr/bin
PATH: /opt/rh/python27/root/usr/bin
PATH: /opt/rh/git19/root/usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1876: checking for gcc
configure:1892: found /opt/rh/devtoolset-3/root/usr/bin/gcc
configure:1903: result: gcc
configure:2132: checking for C compiler version
configure:2141: gcc --version >&5
gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
Copyright (C) 2014 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:2152: $? = 0
configure:2141: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-3/root/usr --mandir=/opt/rh/devtoolset-3/root/usr/share/man --infodir=/opt/rh/devtoolset-3/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --with-mpc=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) 
configure:2152: $? = 0
configure:2141: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2152: $? = 4
configure:2141: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2152: $? = 4
configure:2172: checking whether the C compiler works
configure:2194: gcc   -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c  >&5
configure:2198: $? = 0
configure:2246: result: yes
configure:2249: checking for C compiler default output file name
configure:2251: result: a.out
configure:2257: checking for suffix of executables
configure:2264: gcc -o conftest   -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c  >&5
configure:2268: $? = 0
configure:2290: result: 
configure:2312: checking whether we are cross compiling
configure:2320: gcc -o conftest   -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c  >&5
configure:2324: $? = 0
configure:2331: ./conftest
configure:2335: $? = 0
configure:2350: result: no
configure:2355: checking for suffix of object files
configure:2377: gcc -c   conftest.c >&5
configure:2381: $? = 0
configure:2402: result: o
configure:2406: checking whether we are using the GNU C compiler
configure:2425: gcc -c   conftest.c >&5
configure:2425: $? = 0
configure:2434: result: yes
configure:2443: checking whether gcc accepts -g
configure:2463: gcc -c -g  conftest.c >&5
configure:2463: $? = 0
configure:2504: result: yes
configure:2521: checking for gcc option to accept ISO C89
configure:2584: gcc  -c -g -O2  conftest.c >&5
configure:2584: $? = 0
configure:2597: result: none needed
configure:2617: checking for grep that handles long lines and -e
configure:2675: result: /bin/grep
configure:2680: checking for fgrep
configure:2742: result: /bin/grep -F
configure:2747: checking for grep that handles long lines and -e
configure:2805: result: /bin/grep
configure:2813: checking for bash
configure:2844: result: /bin/sh
configure:2915: checking for __gmpz_init in -lgmp
configure:2940: gcc -o conftest -g -O2  -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c -lgmp   >&5
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
configure:2940: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "riscv-toolchain"
| #define PACKAGE_TARNAME "riscv-toolchain"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "riscv-toolchain 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* 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 __gmpz_init ();
| int
| main ()
| {
| return __gmpz_init ();
|   ;
|   return 0;
| }
configure:2949: result: no
configure:2962: checking for mpfr_init in -lmpfr
configure:2987: gcc -o conftest -g -O2  -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c -lmpfr   >&5
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld: cannot find -lmpfr
collect2: error: ld returned 1 exit status
configure:2987: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "riscv-toolchain"
| #define PACKAGE_TARNAME "riscv-toolchain"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "riscv-toolchain 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* 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 mpfr_init ();
| int
| main ()
| {
| return mpfr_init ();
|   ;
|   return 0;
| }
configure:2996: result: no
configure:3009: checking for mpc_init2 in -lmpc
configure:3034: gcc -o conftest -g -O2  -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c -lmpc   >&5
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld: cannot find -lmpc
collect2: error: ld returned 1 exit status
configure:3034: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "riscv-toolchain"
| #define PACKAGE_TARNAME "riscv-toolchain"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "riscv-toolchain 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* 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 mpc_init2 ();
| int
| main ()
| {
| return mpc_init2 ();
|   ;
|   return 0;
| }
configure:3043: result: no
configure:3066: checking for curl
configure:3084: found /usr/bin/curl
configure:3097: result: /usr/bin/curl
configure:3107: checking for wget
configure:3125: found /usr/bin/wget
configure:3138: result: /usr/bin/wget
configure:3148: checking for ftp
configure:3179: result: no
configure:3464: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by riscv-toolchain config.status 1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on zoidberg

config.status:738: creating Makefile
config.status:738: creating scripts/wrapper/awk/awk
config.status:738: creating scripts/wrapper/sed/sed

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/local/schommer/trunk/build/riscv-gcc.default/usr/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_lib_gmp___gmpz_init=no
ac_cv_lib_mpc_mpc_init2=no
ac_cv_lib_mpfr_mpfr_init=no
ac_cv_objext=o
ac_cv_path_BASH=/bin/sh
ac_cv_path_CURL=/usr/bin/curl
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_FTP=no
ac_cv_path_GAWK=/usr/bin/gawk
ac_cv_path_GREP=/bin/grep
ac_cv_path_GSED=/bin/sed
ac_cv_path_WGET=/usr/bin/wget
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

BASH='/bin/sh'
CC='gcc'
CFLAGS='-g -O2'
CPPFLAGS=''
CURL='/usr/bin/curl'
DEFS='-DPACKAGE_NAME=\"riscv-toolchain\" -DPACKAGE_TARNAME=\"riscv-toolchain\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"riscv-toolchain\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FETCHER='/usr/bin/curl -L -o - --ftp-pasv --retry 10'
FGREP='/bin/grep -F'
FTP='no'
GAWK='/usr/bin/gawk'
GREP='/bin/grep'
GSED='/bin/sed'
LDFLAGS='-L/local/schommer/trunk/build/riscv-gcc.default/usr/lib'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
NEED_GCC_EXTERNAL_LIBRARIES='true'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='riscv-toolchain'
PACKAGE_STRING='riscv-toolchain 1.0'
PACKAGE_TARNAME='riscv-toolchain'
PACKAGE_URL=''
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
WGET='/usr/bin/wget'
WITH_ABI='--with-abi=lp64d'
WITH_ARCH='--with-arch=rv64g'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
default_target='newlib'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
gcc_checking='--enable-checking=yes'
host_alias=''
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'
multilib_flags='--disable-multilib'
multilib_names=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/local/schommer/trunk/build/riscv-gcc.default/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "riscv-toolchain"
#define PACKAGE_TARNAME "riscv-toolchain"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "riscv-toolchain 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 0

@bschommer
Copy link
Author

riscv-gnu-toolchain/build/build-gcc-newlib/config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ /local/schommer/trunk/build/riscv-gcc.default/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/configure --target=riscv64-unknown-elf --prefix=/local/schommer/trunk/build/riscv-gcc.default/usr --disable-shared --disable-threads --enable-languages=c,c++ --with-system-zlib --enable-tls --with-newlib --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --enable-checking=yes --disable-multilib --with-abi=lp64d --with-arch=rv64g

---------

Platform.

---------

hostname = zoidberg
uname -m = x86_64
uname -r = 4.4.46-11-default
uname -s = Linux
uname -v = #1 SMP Sat Feb 4 06:07:41 UTC 2017 (f555e41)

/usr/bin/uname -p = unknown
/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: /local/schommer/trunk/build/riscv-gcc.default/usr/bin
PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/bin
PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/bin
PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/share/texlive/bin/x86_64-linux
PATH: /opt/rh/devtoolset-3/root/usr/bin
PATH: /opt/rh/python27/root/usr/bin
PATH: /opt/rh/git19/root/usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games

-----------

Core tests.

-----------

configure:2297: checking build system type
configure:2311: result: x86_64-pc-linux-gnu
configure:2358: checking host system type
configure:2371: result: x86_64-pc-linux-gnu
configure:2391: checking target system type
configure:2404: result: riscv64-unknown-elf
configure:2458: checking for a BSD-compatible install
configure:2526: result: /usr/bin/install -c
configure:2537: checking whether ln works
configure:2559: result: yes
configure:2563: checking whether ln -s works
configure:2567: result: yes
configure:2574: checking for a sed that does not truncate output
configure:2638: result: /bin/sed
configure:2647: checking for gawk
configure:2674: result: /usr/bin/gawk
configure:3210: checking for libatomic support
configure:3216: result: no
configure:3229: checking for libcilkrts support
configure:3235: result: no
configure:3267: checking for libitm support
configure:3273: result: no
configure:3286: checking for libsanitizer support
configure:3292: result: no
configure:3305: checking for libvtv support
configure:3311: result: no
configure:3325: checking for libmpx support
configure:3331: result: no
configure:4118: checking for gcc
configure:4134: found /opt/rh/devtoolset-3/root/usr/bin/gcc
configure:4145: result: gcc
configure:4374: checking for C compiler version
configure:4383: gcc --version >&5
gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
Copyright (C) 2014 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:4394: $? = 0
configure:4383: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-3/root/usr --mandir=/opt/rh/devtoolset-3/root/usr/share/man --infodir=/opt/rh/devtoolset-3/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --with-mpc=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)
configure:4394: $? = 0
configure:4383: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4394: $? = 4
configure:4383: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4394: $? = 4
configure:4414: checking for C compiler default output file name
configure:4436: gcc -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c >&5
configure:4440: $? = 0
configure:4477: result: a.out
configure:4493: checking whether the C compiler works
configure:4502: ./a.out
configure:4506: $? = 0
configure:4521: result: yes
configure:4528: checking whether we are cross compiling
configure:4530: result: no
configure:4533: checking for suffix of executables
configure:4540: gcc -o conftest -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib conftest.c >&5
configure:4544: $? = 0
configure:4566: result:
configure:4572: checking for suffix of object files
configure:4594: gcc -c conftest.c >&5
configure:4598: $? = 0
configure:4619: result: o
configure:4623: checking whether we are using the GNU C compiler
configure:4642: gcc -c conftest.c >&5
configure:4642: $? = 0
configure:4651: result: yes
configure:4660: checking whether gcc accepts -g
configure:4680: gcc -c -g conftest.c >&5
configure:4680: $? = 0
configure:4721: result: yes
configure:4738: checking for gcc option to accept ISO C89
configure:4802: gcc -c -g -O2 conftest.c >&5
configure:4802: $? = 0
configure:4815: result: none needed
configure:4893: checking for g++
configure:4909: found /opt/rh/devtoolset-3/root/usr/bin/g++
configure:4920: result: g++
configure:4947: checking for C++ compiler version
configure:4956: g++ --version >&5
g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
Copyright (C) 2014 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:4967: $? = 0
configure:4956: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-3/root/usr --mandir=/opt/rh/devtoolset-3/root/usr/share/man --infodir=/opt/rh/devtoolset-3/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --with-mpc=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)
configure:4967: $? = 0
configure:4956: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4967: $? = 4
configure:4956: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4967: $? = 4
configure:4971: checking whether we are using the GNU C++ compiler
configure:4990: g++ -c conftest.cpp >&5
configure:4990: $? = 0
configure:4999: result: yes
configure:5008: checking whether g++ accepts -g
configure:5028: g++ -c -g conftest.cpp >&5
configure:5028: $? = 0
configure:5069: result: yes
configure:5118: checking whether g++ accepts -static-libstdc++ -static-libgcc
configure:5135: g++ -o conftest -g -O2 -L/local/schommer/trunk/build/riscv-gcc.default/usr/lib -static-libstdc++ -static-libgcc conftest.cpp >&5
configure:5135: $? = 0
configure:5136: result: yes
configure:5200: checking for gnatbind
configure:5230: result: no
configure:5292: checking for gnatmake
configure:5322: result: no
configure:5341: checking whether compiler driver understands Ada
configure:5364: result: no
configure:5373: checking how to compare bootstrapped objects
configure:5398: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5458: checking for objdir
configure:5473: result: .libs
configure:6007: WARNING: using in-tree isl, disabling version check
configure:7076: checking for default BUILD_CONFIG
configure:7108: result:
configure:7113: checking for --enable-vtable-verify
configure:7126: result: no
configure:7722: checking for bison
configure:7738: found /local/schommer/trunk/build/riscv-gcc.default/usr/bin/bison
configure:7749: result: bison -y
configure:7769: checking for bison
configure:7785: found /local/schommer/trunk/build/riscv-gcc.default/usr/bin/bison
configure:7796: result: bison
configure:7816: checking for gm4
configure:7846: result: no
configure:7816: checking for gnum4
configure:7846: result: no
configure:7816: checking for m4
configure:7832: found /local/schommer/trunk/build/riscv-gcc.default/usr/bin/m4
configure:7843: result: m4
configure:7863: checking for flex
configure:7879: found /local/schommer/trunk/build/riscv-gcc.default/usr/bin/flex
configure:7890: result: flex
configure:7911: checking for flex
configure:7927: found /local/schommer/trunk/build/riscv-gcc.default/usr/bin/flex
configure:7938: result: flex
configure:7958: checking for makeinfo
configure:7974: found /usr/bin/makeinfo
configure:7985: result: makeinfo
configure:8019: checking for expect
configure:8035: found /usr/bin/expect
configure:8046: result: expect
configure:8068: checking for runtest
configure:8098: result: no
configure:8213: checking for ar
configure:8229: found /opt/rh/devtoolset-3/root/usr/bin/ar
configure:8240: result: ar
configure:8354: checking for as
configure:8370: found /opt/rh/devtoolset-3/root/usr/bin/as
configure:8381: result: as
configure:8495: checking for dlltool
configure:8525: result: no
configure:8555: checking for ld
configure:8582: result: /opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld
configure:8777: checking for lipo
configure:8807: result: no
configure:8918: checking for nm
configure:8934: found /opt/rh/devtoolset-3/root/usr/bin/nm
configure:8945: result: nm
configure:9059: checking for ranlib
configure:9075: found /opt/rh/devtoolset-3/root/usr/bin/ranlib
configure:9086: result: ranlib
configure:9195: checking for strip
configure:9211: found /opt/rh/devtoolset-3/root/usr/bin/strip
configure:9222: result: strip
configure:9331: checking for windres
configure:9361: result: no
configure:9472: checking for windmc
configure:9502: result: no
configure:9613: checking for objcopy
configure:9629: found /opt/rh/devtoolset-3/root/usr/bin/objcopy
configure:9640: result: objcopy
configure:9754: checking for objdump
configure:9770: found /opt/rh/devtoolset-3/root/usr/bin/objdump
configure:9781: result: objdump
configure:9895: checking for readelf
configure:9911: found /opt/rh/devtoolset-3/root/usr/bin/readelf
configure:9922: result: readelf
configure:10036: checking for riscv64-unknown-elf-cc
configure:10066: result: no
configure:10036: checking for riscv64-unknown-elf-gcc
configure:10066: result: no
configure:10197: checking for riscv64-unknown-elf-c++
configure:10227: result: no
configure:10197: checking for riscv64-unknown-elf-g++
configure:10227: result: no
configure:10197: checking for riscv64-unknown-elf-cxx
configure:10227: result: no
configure:10197: checking for riscv64-unknown-elf-gxx
configure:10227: result: no
configure:10358: checking for riscv64-unknown-elf-gcc
configure:10388: result: no
configure:10514: checking for riscv64-unknown-elf-gcj
configure:10544: result: no
configure:10675: checking for riscv64-unknown-elf-gfortran
configure:10705: result: no
configure:10836: checking for riscv64-unknown-elf-gccgo
configure:10866: result: no
configure:10966: checking for ar
configure:10984: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ar
configure:10996: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ar
configure:11196: checking for as
configure:11214: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/as
configure:11226: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/as
configure:11426: checking for dlltool
configure:11459: result: no
configure:11537: checking for riscv64-unknown-elf-dlltool
configure:11567: result: no
configure:11656: checking for ld
configure:11674: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ld
configure:11686: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ld
configure:11886: checking for lipo
configure:11919: result: no
configure:11997: checking for riscv64-unknown-elf-lipo
configure:12027: result: no
configure:12116: checking for nm
configure:12134: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/nm
configure:12146: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/nm
configure:12346: checking for objcopy
configure:12364: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objcopy
configure:12376: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objcopy
configure:12576: checking for objdump
configure:12594: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objdump
configure:12606: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objdump
configure:12806: checking for ranlib
configure:12824: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ranlib
configure:12836: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ranlib
configure:13036: checking for readelf
configure:13054: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/readelf
configure:13066: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/readelf
configure:13266: checking for strip
configure:13284: found /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/strip
configure:13296: result: /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/strip
configure:13496: checking for windres
configure:13529: result: no
configure:13607: checking for riscv64-unknown-elf-windres
configure:13637: result: no
configure:13726: checking for windmc
configure:13759: result: no
configure:13837: checking for riscv64-unknown-elf-windmc
configure:13867: result: no
configure:13934: checking where to find the target ar
configure:13962: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:13976: checking where to find the target as
configure:14004: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14018: checking where to find the target cc
configure:14041: result: just compiled
configure:14060: checking where to find the target c++
configure:14086: result: just compiled
configure:14105: checking where to find the target c++ for libstdc++
configure:14131: result: just compiled
configure:14150: checking where to find the target dlltool
configure:14187: result: pre-installed
configure:14192: checking where to find the target gcc
configure:14215: result: just compiled
configure:14234: checking where to find the target gcj
configure:14274: result: pre-installed
configure:14279: checking where to find the target gfortran
configure:14319: result: pre-installed
configure:14324: checking where to find the target gccgo
configure:14364: result: pre-installed
configure:14369: checking where to find the target ld
configure:14397: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14411: checking where to find the target lipo
configure:14437: result: pre-installed
configure:14442: checking where to find the target nm
configure:14470: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14484: checking where to find the target objcopy
configure:14512: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14526: checking where to find the target objdump
configure:14554: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14568: checking where to find the target ranlib
configure:14596: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14610: checking where to find the target readelf
configure:14638: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14652: checking where to find the target strip
configure:14680: result: pre-installed in /local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin
configure:14694: checking where to find the target windres
configure:14731: result: pre-installed
configure:14736: checking where to find the target windmc
configure:14773: result: pre-installed
configure:14806: checking whether to enable maintainer-specific portions of Makefiles
configure:14815: result: no
configure:15072: creating ./config.status

----------------------

Running config.status.

----------------------

This file was extended by config.status, which was
generated by GNU Autoconf 2.64. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on zoidberg

config.status:1000: creating Makefile

----------------

Cache variables.

----------------

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/local/schommer/trunk/build/riscv-gcc.default/usr/lib
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=riscv64-unknown-elf
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_AR_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ar
ac_cv_path_AS_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/as
ac_cv_path_LD_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ld
ac_cv_path_NM_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/nm
ac_cv_path_OBJCOPY_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objcopy
ac_cv_path_OBJDUMP_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objdump
ac_cv_path_RANLIB_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ranlib
ac_cv_path_READELF_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/readelf
ac_cv_path_SED=/bin/sed
ac_cv_path_STRIP_FOR_TARGET=/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/strip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_AWK=/usr/bin/gawk
ac_cv_prog_BISON=bison
ac_cv_prog_EXPECT=expect
ac_cv_prog_FLEX=flex
ac_cv_prog_LD=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld
ac_cv_prog_LEX=flex
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=riscv64-unknown-elf
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/local/schommer/trunk/build/riscv-gcc.default/usr/libexec/gcc/riscv64-unknown-elf/6.1.0:/local/schommer/trunk/build/riscv-gcc.default/usr/libexec/gcc/riscv64-unknown-elf:/usr/lib/gcc/riscv64-unknown-elf/6.1.0:/usr/lib/gcc/riscv64-unknown-elf:/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/riscv64-unknown-elf/6.1.0:/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin:
gcc_cv_tool_prefix=/local/schommer/trunk/build/riscv-gcc.default/usr
lt_cv_objdir=.libs

-----------------

Output variables.

-----------------

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/as'
AWK='/usr/bin/gawk'
BISON='bison'
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DLT_OBJDIR=".libs/"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='riscv64-unknown-elf-dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=' -nostdinc -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include -B$$r/$(TARGET_SUBDIR)/libgloss/riscv64 -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys -L$$s/libgloss/riscv64 -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='riscv64-unknown-elf-gcj'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='riscv64-unknown-elf-gfortran'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='riscv64-unknown-elf-gccgo'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld'
LDFLAGS='-L/local/schommer/trunk/build/riscv-gcc.default/usr/lib'
LDFLAGS_FOR_BUILD='-L/local/schommer/trunk/build/riscv-gcc.default/usr/lib'
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ld'
LEX='flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='riscv64-unknown-elf-lipo'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/nm'
OBJCOPY='objcopy'
OBJCOPY_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/ranlib'
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
READELF='readelf'
READELF_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/readelf'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='/local/schommer/trunk/build/riscv-gcc.default/usr/riscv64-unknown-elf/bin/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/local/schommer/trunk/build/riscv-gcc.default/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/configure --target=riscv64-unknown-elf --prefix=/local/schommer/trunk/build/riscv-gcc.default/usr --disable-shared --disable-threads --enable-languages=c,c++ --with-system-zlib --enable-tls --with-newlib --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --enable-checking=yes --disable-multilib --with-abi=lp64d --with-arch=rv64g'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='riscv64-unknown-elf-windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='riscv64-unknown-elf-windres'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_configargs=' --cache-file=./config.cache '''--prefix=/local/schommer/trunk/build/riscv-gcc.default/usr''' '''--disable-shared''' '''--disable-threads''' '''--with-system-zlib''' '''--enable-tls''' '''--with-newlib''' '''--disable-libmudflap''' '''--disable-libssp''' '''--disable-libquadmath''' '''--disable-libgomp''' '''--disable-nls''' '''--enable-checking=yes''' '''--disable-multilib''' '''--with-abi=lp64d''' '''--with-arch=rv64g''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&riscv64-unknown-elf-&''' --disable-option-checking'
build_configdirs=' libiberty libcpp fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir='${exec_prefix}/riscv64-unknown-elf'
build_vendor='pc'
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/tools/'
configdirs=' intl libiberty libbacktrace libcpp libdecnumber gmp mpfr mpc isl fixincludes gcc etc libcc1 lto-plugin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags='--enable-shared'
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/.libs'
extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr -I$$s/mpc/src '
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp'
host='x86_64-pc-linux-gnu'
host_alias=''
host_configargs=' --cache-file=./config.cache --with-system-zlib --with-newlib '''--prefix=/local/schommer/trunk/build/riscv-gcc.default/usr''' '''--disable-shared''' '''--disable-threads''' '''--with-system-zlib''' '''--enable-tls''' '''--with-newlib''' '''--disable-libmudflap''' '''--disable-libssp''' '''--disable-libquadmath''' '''--disable-libgomp''' '''--disable-nls''' '''--enable-checking=yes''' '''--disable-multilib''' '''--with-abi=lp64d''' '''--with-arch=rv64g''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&riscv64-unknown-elf-&''' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared='no'
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
isllibs='-L$$r/$(HOST_SUBDIR)/isl/.libs -lisl'
islver=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
prefix='/local/schommer/trunk/build/riscv-gcc.default/usr'
program_transform_name='s&^&riscv64-unknown-elf-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c,c++,lto'
stage1_ldflags='-static-libstdc++ -static-libgcc'
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='riscv64-unknown-elf'
target_alias='riscv64-unknown-elf'
target_configargs='--cache-file=./config.cache --with-newlib --with-cross-host=x86_64-pc-linux-gnu '''--prefix=/local/schommer/trunk/build/riscv-gcc.default/usr''' '''--disable-shared''' '''--disable-threads''' '''--with-system-zlib''' '''--enable-tls''' '''--with-newlib''' '''--disable-libmudflap''' '''--disable-libssp''' '''--disable-libquadmath''' '''--disable-libgomp''' '''--disable-nls''' '''--enable-checking=yes''' '''--disable-multilib''' '''--with-abi=lp64d''' '''--with-arch=rv64g''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&riscv64-unknown-elf-&''' --disable-option-checking'
target_configdirs='libgcc libgloss newlib libstdc++-v3'
target_cpu='riscv64'
target_noncanonical='riscv64-unknown-elf'
target_os='elf'
target_subdir='riscv64-unknown-elf'
target_vendor='unknown'
tooldir='${exec_prefix}/riscv64-unknown-elf'

-------------------

File substitutions.

-------------------

alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='/dev/null'

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBJDIR ".libs/"

configure: exit 0

@bschommer
Copy link
Author

Both configs are for the build run with calling download_prequisites manually.

@palmer-dabbelt
Copy link
Contributor

OK, sorry, I think I just screwed it up. Thanks for the bug report!

I've opened a riscv-gnu-toolchain pull request: riscv-collab/riscv-gnu-toolchain#240 . Since this is a riscv-gnu-toolchain issue I'm going to close this bug, if that doesn't work then please post over there.

Thanks!

@advancedwebdeveloper
Copy link

I am looking forward to see anything acceptable for https://go.googlesource.com/gollvm/ project - it has all the above libraries among it's dependencies.
I am working on Fedora 33, under qemu.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants