Attempting to build the current trunk
Damian Rouson
rouson@stanford.edu
Sat Jan 4 02:44:00 GMT 2014
I’m attempting to build the current trunk from source in Ubuntu Linux. The last command issued during the build and the error message are below. I realize this is probably not the information that will be most helpful so could someone please advise about where to find, or how to generate, a log file that would helping in diagnosing this problem?
Damian
——————————— Build steps —————————————
cd ~/Code
svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-trunk
cd gcc-trunk/
./contrib/download_prerequisites
cd ..
mkdir gcc-build
cd gcc-build/
../gcc-trunk/configure --prefix=$HOME/Code/gcc-trunk --enable-languages=c,fortran --disable-multilib
make
—————— Trailing lines of the output from “make” —————
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o cc1plus \
cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/rouson/Code/gcc-build/./cloog/.libs -lcloog-isl -L/home/rouson/Code/gcc-build/./isl/.libs -lisl -L/home/rouson/Code/gcc-build/./gmp/.libs -L/home/rouson/Code/gcc-build/./mpfr/.libs -L/home/rouson/Code/gcc-build/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz
collect2: error: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
make[3]: Leaving directory `/home/rouson/Code/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/rouson/Code/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/rouson/Code/gcc-build'
make: *** [all] Error 2
More information about the Fortran
mailing list