Skip to content

Instantly share code, notes, and snippets.

@matejaputic
Created January 30, 2017 19:59
Show Gist options
  • Save matejaputic/3fa149afd0039b61abb1a491a9c691d7 to your computer and use it in GitHub Desktop.
Save matejaputic/3fa149afd0039b61abb1a491a9c691d7 to your computer and use it in GitHub Desktop.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for bash... /bin/sh
checking for __gmpz_init in -lgmp... yes
checking for mpfr_init in -lmpfr... yes
checking for mpc_init2 in -lmpc... yes
checking for curl... /usr/bin/curl
checking for wget... /usr/bin/wget
checking for ftp... /usr/bin/ftp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/wrapper/awk/awk
config.status: creating scripts/wrapper/sed/sed
mkdir -p src
rm -rf src/original-newlib src/newlib-*
cd src && (cat /var/cache/distfiles/newlib-2.2.0.tar.gz || /usr/bin/curl -L -o - --ftp-pasv --retry 10 ftp://sourceware.org/pub/newlib/newlib-2.2.0.tar.gz) | tar zxf -
mv src/newlib-2.2.0 src/original-newlib
rm -rf src/newlib src/newlib.tmp
cp -a src/original-newlib src/newlib.tmp
/if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../scripts/cp_s /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../newlib src/newlib.tmp
cd src/newlib.tmp && patch -p1 < /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../patches/newlib
patching file libgloss/configure
patching file libgloss/configure.in
patching file newlib/configure.host
patching file newlib/libc/include/machine/ieeefp.h
patching file newlib/libc/include/machine/setjmp.h
patching file newlib/libc/include/sys/config.h
patching file newlib/libc/include/sys/stat.h
patching file newlib/libc/include/sys/types.h
patching file newlib/libc/machine/configure
patching file newlib/libc/machine/configure.in
if test -f src/newlib.tmp/contrib/download_prerequisites && test "false" == "true"; then cd src/newlib.tmp && ./contrib/download_prerequisites; fi
mv src/newlib.tmp src/newlib
rm -rf src/newlib-gcc src/newlib-gcc.tmp
cp -a /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../riscv-gcc src/newlib-gcc.tmp
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=/if21/mp3t/.local/
## --------- ##
## Platform. ##
## --------- ##
hostname = automata3
uname -m = x86_64
uname -r = 3.13.0-74-generic
uname -s = Linux
uname -v = #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /if21/mp3t/.local//bin
PATH: /if21/mp3t/.local/bin
PATH: /usr/cs/bin
PATH: /usr/cs/gradle/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /usr/local/cuda/bin
PATH: /usr/local/cuda/sbin
PATH: /opt/genesis2-xcg
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1865: checking for gcc
configure:1881: found /if21/mp3t/.local//bin/gcc
configure:1892: result: gcc
configure:2121: checking for C compiler version
configure:2130: gcc --version >&5
gcc (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
Copyright (C) 2015 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:2141: $? = 0
configure:2130: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.5-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1)
configure:2141: $? = 0
configure:2130: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2141: $? = 4
configure:2130: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2141: $? = 4
configure:2161: checking whether the C compiler works
configure:2183: gcc conftest.c >&5
configure:2187: $? = 0
configure:2235: result: yes
configure:2238: checking for C compiler default output file name
configure:2240: result: a.out
configure:2246: checking for suffix of executables
configure:2253: gcc -o conftest conftest.c >&5
configure:2257: $? = 0
configure:2279: result:
configure:2301: checking whether we are cross compiling
configure:2309: gcc -o conftest conftest.c >&5
configure:2313: $? = 0
configure:2320: ./conftest
configure:2324: $? = 0
configure:2339: result: no
configure:2344: checking for suffix of object files
configure:2366: gcc -c conftest.c >&5
configure:2370: $? = 0
configure:2391: result: o
configure:2395: checking whether we are using the GNU C compiler
configure:2414: gcc -c conftest.c >&5
configure:2414: $? = 0
configure:2423: result: yes
configure:2432: checking whether gcc accepts -g
configure:2452: gcc -c -g conftest.c >&5
configure:2452: $? = 0
configure:2493: result: yes
configure:2510: checking for gcc option to accept ISO C89
configure:2573: gcc -c -g -O2 conftest.c >&5
configure:2573: $? = 0
configure:2586: result: none needed
configure:2606: checking for grep that handles long lines and -e
configure:2664: result: /bin/grep
configure:2669: checking for fgrep
configure:2731: result: /bin/grep -F
configure:2736: checking for grep that handles long lines and -e
configure:2794: result: /bin/grep
configure:2802: checking for bash
configure:2833: result: /bin/sh
configure:2904: checking for __gmpz_init in -lgmp
configure:2929: gcc -o conftest -g -O2 conftest.c -lgmp >&5
configure:2929: $? = 0
configure:2938: result: yes
configure:2951: checking for mpfr_init in -lmpfr
configure:2976: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp >&5
configure:2976: $? = 0
configure:2985: result: yes
configure:2998: checking for mpc_init2 in -lmpc
configure:3023: gcc -o conftest -g -O2 conftest.c -lmpc -lmpfr -lgmp >&5
configure:3023: $? = 0
configure:3032: result: yes
configure:3055: checking for curl
configure:3073: found /usr/bin/curl
configure:3086: result: /usr/bin/curl
configure:3096: checking for wget
configure:3114: found /usr/bin/wget
configure:3127: result: /usr/bin/wget
configure:3137: checking for ftp
configure:3155: found /usr/bin/ftp
configure:3168: result: /usr/bin/ftp
configure:3463: 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 automata3
config.status:739: creating Makefile
config.status:739: creating scripts/wrapper/awk/awk
config.status:739: 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=
ac_cv_env_LDFLAGS_value=
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=yes
ac_cv_lib_mpc_mpc_init2=yes
ac_cv_lib_mpfr_mpfr_init=yes
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=/usr/bin/ftp
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=\"\" -DHAVE_LIBGMP=1 -DHAVE_LIBMPFR=1 -DHAVE_LIBMPC=1'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FETCHER='/usr/bin/curl -L -o - --ftp-pasv --retry 10'
FGREP='/bin/grep -F'
FTP='/usr/bin/ftp'
GAWK='/usr/bin/gawk'
GREP='/bin/grep'
GSED='/bin/sed'
LDFLAGS=''
LIBOBJS=''
LIBS='-lmpc -lmpfr -lgmp '
LTLIBOBJS=''
NEED_GCC_EXTERNAL_LIBRARIES='false'
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_ARCH=''
XLEN='64'
ac_ct_CC='gcc'
atomic_cflags=''
bindir='${exec_prefix}/bin'
binutils_float_flags='--disable-soft-float'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
default_target='newlib'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
gcc_float_flags='--disable-soft-float'
glibc_float_flags=''
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'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/if21/mp3t/.local'
program_transform_name='s,x,x,'
psdir='${docdir}'
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 ""
#define HAVE_LIBGMP 1
#define HAVE_LIBMPFR 1
#define HAVE_LIBMPC 1
configure: exit 0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for bash... /bin/sh
checking for __gmpz_init in -lgmp... yes
checking for mpfr_init in -lmpfr... yes
checking for mpc_init2 in -lmpc... yes
checking for curl... /usr/bin/curl
checking for wget... /usr/bin/wget
checking for ftp... /usr/bin/ftp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/wrapper/awk/awk
config.status: creating scripts/wrapper/sed/sed
mkdir -p src
rm -rf src/original-newlib src/newlib-*
cd src && (cat /var/cache/distfiles/newlib-2.2.0.tar.gz || /usr/bin/curl -L -o - --ftp-pasv --retry 10 ftp://sourceware.org/pub/newlib/newlib-2.2.0.tar.gz) | tar zxf -
mv src/newlib-2.2.0 src/original-newlib
rm -rf src/newlib src/newlib.tmp
cp -a src/original-newlib src/newlib.tmp
/if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../scripts/cp_s /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../newlib src/newlib.tmp
cd src/newlib.tmp && patch -p1 < /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../patches/newlib
patching file libgloss/configure
patching file libgloss/configure.in
patching file newlib/configure.host
patching file newlib/libc/include/machine/ieeefp.h
patching file newlib/libc/include/machine/setjmp.h
patching file newlib/libc/include/sys/config.h
patching file newlib/libc/include/sys/stat.h
patching file newlib/libc/include/sys/types.h
patching file newlib/libc/machine/configure
patching file newlib/libc/machine/configure.in
if test -f src/newlib.tmp/contrib/download_prerequisites && test "false" == "true"; then cd src/newlib.tmp && ./contrib/download_prerequisites; fi
mv src/newlib.tmp src/newlib
rm -rf src/newlib-gcc src/newlib-gcc.tmp
cp -a /if21/mp3t/Projects/rocket-chip-xfiles-dana/riscv-tools/riscv-gnu-toolchain/build/../riscv-gcc src/newlib-gcc.tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment