1
回答
JikesRVM在Linux上编译出现的问题,似乎是关于C compiler的.
终于搞明白,存储TCO原来是这样算的>>>   

在JikesRVM编译的最后阶段卡住了,把需求的软件都全部重装了一遍还是没用,哪位大神帮忙看看。。

终端显示:

     [exec] checking for gcc... /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse
     [exec] checking whether the C compiler works... no
     [exec] configure: error: in `/home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath':
     [exec] configure: error: C compiler cannot create executables
     [exec] See `config.log' for more details


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 GNU Classpath configure 0.99, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/configure --enable-jni --disable-plugin --disable-gconf-peer --disable-examples --disable-gjdoc --disable-gtk-peer --disable-alsa --libdir=/usr/lib32 --x-libraries=/usr/lib32

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

hostname = myubuntu
uname -m = x86_64
uname -r = 4.4.0-21-generic
uname -s = Linux
uname -v = #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016

/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


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

configure:3023: checking build system type
configure:3037: result: x86_64-pc-linux-gnu
configure:3057: checking host system type
configure:3070: result: x86_64-pc-linux-gnu
configure:3090: checking target system type
configure:3103: result: x86_64-pc-linux-gnu
configure:3166: checking for a BSD-compatible install
configure:3234: result: /usr/bin/install -c
configure:3245: checking whether build environment is sane
configure:3300: result: yes
configure:3451: checking for a thread-safe mkdir -p
configure:3490: result: /bin/mkdir -p
configure:3497: checking for gawk
configure:3513: found /usr/bin/gawk
configure:3524: result: gawk
configure:3535: checking whether make sets $(MAKE)
configure:3557: result: yes
configure:3586: checking whether make supports nested variables
configure:3603: result: yes
configure:3692: checking whether UID '0' is supported by ustar format
configure:3695: result: yes
configure:3702: checking whether GID '0' is supported by ustar format
configure:3705: result: yes
configure:3713: checking how to create a ustar tar archive
configure:3724: tar --version
tar (GNU tar) 1.28
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3727: $? = 0
configure:3767: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3770: $? = 0
configure:3774: tar -xf - <conftest.tar
configure:3777: $? = 0
configure:3779: cat conftest.dir/file
GrepMe
configure:3782: $? = 0
configure:3795: result: gnutar
configure:4031: checking for style of include used by make
configure:4059: result: GNU
configure:4130: checking for gcc
configure:4157: result: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse
configure:4386: checking for C compiler version
configure:4395: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse --version >&5
gcc (Ubuntu 5.3.1-14ubuntu2) 5.3.1 20160413
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:4406: $? = 0
configure:4395: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --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-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-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 --enable-multilib --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 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)
configure:4406: $? = 0
configure:4395: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4406: $? = 1
configure:4395: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4406: $? = 1
configure:4426: checking whether the C compiler works
configure:4448: /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse    conftest.c  >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:4452: $? = 1
configure:4490: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Classpath"
| #define PACKAGE_TARNAME "classpath"
| #define PACKAGE_VERSION "0.99"
| #define PACKAGE_STRING "GNU Classpath 0.99"
| #define PACKAGE_BUGREPORT "classpath@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/classpath/"
| #define PACKAGE "classpath"
| #define VERSION "0.99"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4495: error: in `/home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath':
configure:4497: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='${c++.exe} ${c++.args}'
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC='/usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse'
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar

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

ACLOCAL='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/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)'
ANTLR=''
ANTLR_JAR=''
AR=''
AUTOCONF='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/missing autoconf'
AUTOHEADER='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/missing autoheader'
AUTOMAKE='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/missing automake-1.15'
AWK='gawk'
BUILD_CLASS_FILES_FALSE=''
BUILD_CLASS_FILES_TRUE=''
CAIRO_CFLAGS=''
CAIRO_LIBS=''
CC='/usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse'
CCDEPMODE=''
CFLAGS=''
CLASSPATH_CONVENIENCE='-no-undefined'
CLASSPATH_INCLUDES=''
CLASSPATH_MODULE='-module -version-info 0:0:0 -no-undefined'
COLLECTIONS_PREFIX=''
CP=''
CPP=''
CPPFLAGS=''
CREATE_ALSA_LIBRARIES_FALSE=''
CREATE_ALSA_LIBRARIES_TRUE=''
CREATE_API_DOCS_FALSE=''
CREATE_API_DOCS_TRUE=''
CREATE_COLLECTIONS_FALSE=''
CREATE_COLLECTIONS_TRUE='#'
CREATE_CORE_JNI_LIBRARIES_FALSE='#'
CREATE_CORE_JNI_LIBRARIES_TRUE=''
CREATE_DSSI_LIBRARIES_FALSE=''
CREATE_DSSI_LIBRARIES_TRUE=''
CREATE_GCONF_PEER_LIBRARIES_FALSE=''
CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
CREATE_GJDOC_FALSE=''
CREATE_GJDOC_PARSER_FALSE=''
CREATE_GJDOC_PARSER_TRUE=''
CREATE_GJDOC_TRUE=''
CREATE_GMPBI_LIBRARY_FALSE=''
CREATE_GMPBI_LIBRARY_TRUE=''
CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=''
CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
CREATE_GTK_PEER_LIBRARIES_FALSE=''
CREATE_GTK_PEER_LIBRARIES_TRUE=''
CREATE_JNI_HEADERS_FALSE=''
CREATE_JNI_HEADERS_TRUE=''
CREATE_JNI_LIBRARIES_FALSE='#'
CREATE_JNI_LIBRARIES_TRUE=''
CREATE_PLUGIN_FALSE=''
CREATE_PLUGIN_TRUE=''
CREATE_QT_PEER_LIBRARIES_FALSE=''
CREATE_QT_PEER_LIBRARIES_TRUE=''
CREATE_WRAPPERS_FALSE=''
CREATE_WRAPPERS_TRUE=''
CREATE_XMLJ_LIBRARY_FALSE=''
CREATE_XMLJ_LIBRARY_TRUE='#'
CXX='${c++.exe} ${c++.args}'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATE=''
DEFAULT_PREFS_PEER='gnu.java.util.prefs.GConfBasedFactory'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ECJ_JAR=''
EGREP=''
ENABLE_LOCAL_SOCKETS_FALSE=''
ENABLE_LOCAL_SOCKETS_TRUE=''
ERROR_CFLAGS=''
EXAMPLESDIR=''
EXEEXT=''
EXTRA_CFLAGS=''
FGREP=''
FIND=''
FREETYPE2_CFLAGS=''
FREETYPE2_LIBS=''
GCJ_JAVAC_FALSE=''
GCJ_JAVAC_TRUE=''
GCONF_CFLAGS=''
GCONF_LIBS=''
GDK_CFLAGS=''
GDK_LIBS=''
GJDOC=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMP_CFLAGS=''
GMP_LIBS=''
GREP=''
GSTREAMER_BASE_CFLAGS=''
GSTREAMER_BASE_LIBS=''
GSTREAMER_CFLAGS=''
GSTREAMER_FILE_READER=''
GSTREAMER_LIBS=''
GSTREAMER_MIXER_PROVIDER=''
GSTREAMER_PLUGINS_BASE_CFLAGS=''
GSTREAMER_PLUGINS_BASE_LIBS=''
GST_PLUGIN_LDFLAGS=''
GTK_CFLAGS=''
GTK_LIBS=''
INIT_LOAD_LIBRARY=''
INSTALL_CLASS_FILES_FALSE=''
INSTALL_CLASS_FILES_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GLIBJ_ZIP_FALSE=''
INSTALL_GLIBJ_ZIP_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JAR=''
JAVA=''
JAVAC=''
JAVAC_IS_GCJ=''
JAVAC_MEM_OPT=''
JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION=''
JAY=''
JAY_SKELETON=''
LD=''
LDFLAGS=''
LIBDEBUG=''
LIBICONV=''
LIBMAGIC=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBVERSION='0:0:0'
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/missing makeinfo'
MANIFEST_TOOL=''
MKDIR=''
MKDIR_P='/bin/mkdir -p'
MOC=''
MOZILLA_CFLAGS=''
MOZILLA_LIBS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='classpath'
PACKAGE_BUGREPORT='classpath@gnu.org'
PACKAGE_NAME='GNU Classpath'
PACKAGE_STRING='GNU Classpath 0.99'
PACKAGE_TARNAME='classpath'
PACKAGE_URL='http://www.gnu.org/software/classpath/'
PACKAGE_VERSION='0.99'
PANGOFT2_CFLAGS=''
PANGOFT2_LIBS=''
PATH_SEPARATOR=':'
PATH_TO_ESCHER=''
PATH_TO_GLIBJ_ZIP=''
PERL=''
PKG_CONFIG=''
PLUGIN_DIR=''
QT_CFLAGS=''
QT_LIBS=''
RANLIB=''
REGEN_PARSERS_FALSE=''
REGEN_PARSERS_TRUE=''
REMOVE=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRICT_WARNING_CFLAGS=''
STRIP=''
TOOLSDIR=''
USER_JAVAH=''
USE_ESCHER_FALSE=''
USE_ESCHER_TRUE=''
USE_PREBUILT_GLIBJ_ZIP_FALSE=''
USE_PREBUILT_GLIBJ_ZIP_TRUE=''
VERSION='0.99'
WANT_NATIVE_BIG_INTEGER=''
WARNING_CFLAGS=''
WITH_JAR_FALSE=''
WITH_JAR_TRUE=''
XMKMF=''
XML_CFLAGS=''
XML_LIBS=''
XSLT_CFLAGS=''
XSLT_LIBS=''
XTEST_LIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZIP=''
ac_ct_ANTLR=''
ac_ct_AR=''
ac_ct_CC='/usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -DRVM_FOR_SSE2 -mfpmath=sse'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
default_toolkit='gnu.java.awt.peer.gtk.GtkToolkit'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
glibjdir=''
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/yu/jikes/JikesRVM-3.1.4/components/classpath/99p16/classpath/install-sh'
libdir='/usr/lib32'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
nativeexeclibdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86'
target_os='linux-gnu'
target_vendor='pc'
uudecode=''
vm_classes=''

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

/* confdefs.h */
#define PACKAGE_NAME "GNU Classpath"
#define PACKAGE_TARNAME "classpath"
#define PACKAGE_VERSION "0.99"
#define PACKAGE_STRING "GNU Classpath 0.99"
#define PACKAGE_BUGREPORT "classpath@gnu.org"
#define PACKAGE_URL "http://www.gnu.org/software/classpath/"
#define PACKAGE "classpath"
#define VERSION "0.99"

configure: exit 77

举报
Aureliano1
发帖于7个月前 1回/137阅
顶部