Discussion:
Problem to compile gcc 4.9.1
Germán Arias
2014-07-24 23:19:45 UTC
Permalink
I have a directory objdir to build gcc, the to configure I run:

../gcc-4.9.1/configure --enable-languages=objc --enable-threads

All OK, then "make" and I get the error:

-I../../gcc-4.9.1/gcc/. -I../../gcc-4.9.1/gcc/../include -I../../gcc-4.9.1/gcc/../libcpp/include -I../../gcc-4.9.1/gcc/../libdecnumber -I../../gcc-4.9.1/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc-4.9.1/gcc/../libbacktrace -o insn-recog.o -MT insn-recog.o -MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c
/tmp/ccNhO7ry.s: Assembler messages:
/tmp/ccNhO7ry.s:225716: Warning: end of file not at end of a line; newline inserted
/tmp/ccNhO7ry.s:227059: Error: number of operands mismatch for `je'
/tmp/ccNhO7ry.s: Error: open CFI at the end of file; missing .cfi_endproc directive
make[3]: *** [insn-recog.o] Error 1
make[3]: se sale del directorio «/home/german/Instalados/source/objgcc/gcc»
make[2]: *** [all-stage3-gcc] Error 2
make[2]: se sale del directorio «/home/german/Instalados/source/objgcc»
make[1]: *** [stage3-bubble] Error 2
make[1]: se sale del directorio «/home/german/Instalados/source/objgcc»
make: *** [all] Error 2

This is on Trisquel 6 for x86. Any advice? Thanks.

Germán.
Germán Arias
2014-07-26 00:48:49 UTC
Permalink
.../gcc-4.9.1/configure --enable-languages=objc --enable-threads
-I../../gcc-4.9.1/gcc/. -I../../gcc-4.9.1/gcc/../include
-I../../gcc-4.9.1/gcc/../libcpp/include
-I../../gcc-4.9.1/gcc/../libdecnumber
-I../../gcc-4..9.1/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc-4.9.1/gcc/../libbacktrace -o insn-recog.o -MT insn-recog.o
-MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c
/tmp/ccNhO7ry.s:225716: Warning: end of file not at end of a line; newline inserted
/tmp/ccNhO7ry.s:227059: Error: number of operands mismatch for `je'
/tmp/ccNhO7ry.s: Error: open CFI at the end of file; missing .cfi_endproc directive
make[3]: *** [insn-recog.o] Error 1
make[3]: se sale del directorio «/home/german/Instalados/source/objgcc/gcc»
make[2]: *** [all-stage3-gcc] Error 2
make[2]: se sale del directorio «/home/german/Instalados/source/objgcc»
make[1]: *** [stage3-bubble] Error 2
make[1]: se sale del directorio «/home/german/Instalados/source/objgcc»
make: *** [all] Error 2
This is on Trisquel 6 for x86. Any advice? Thanks.
Germán.
Adding the option --disable-bootstrap solve the problem. Maybe a problem with comparison?.

Germán.
Andrew Haley
2014-07-28 08:25:18 UTC
Permalink
Post by Germán Arias
.../gcc-4.9.1/configure --enable-languages=objc --enable-threads
-I../../gcc-4.9.1/gcc/. -I../../gcc-4.9.1/gcc/../include
-I../../gcc-4.9.1/gcc/../libcpp/include
-I../../gcc-4.9.1/gcc/../libdecnumber
-I../../gcc-4..9.1/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc-4.9.1/gcc/../libbacktrace -o insn-recog.o -MT insn-recog.o
-MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c
/tmp/ccNhO7ry.s:225716: Warning: end of file not at end of a line; newline inserted
/tmp/ccNhO7ry.s:227059: Error: number of operands mismatch for `je'
/tmp/ccNhO7ry.s: Error: open CFI at the end of file; missing .cfi_endproc directive
make[3]: *** [insn-recog.o] Error 1
make[3]: se sale del directorio «/home/german/Instalados/source/objgcc/gcc»
make[2]: *** [all-stage3-gcc] Error 2
make[2]: se sale del directorio «/home/german/Instalados/source/objgcc»
make[1]: *** [stage3-bubble] Error 2
make[1]: se sale del directorio «/home/german/Instalados/source/objgcc»
make: *** [all] Error 2
This is on Trisquel 6 for x86. Any advice? Thanks.
Adding the option --disable-bootstrap solve the problem.
Not really: it just means that your compiler hasn't been tested. There is
certainly something wrong, and it needs debugging, but I don't know what
it might be.

Andrew.
Germán Arias
2014-07-28 23:36:23 UTC
Permalink
Post by Andrew Haley
Post by Germán Arias
.../gcc-4.9.1/configure --enable-languages=objc --enable-threads
-I../../gcc-4.9.1/gcc/. -I../../gcc-4.9.1/gcc/../include
-I../../gcc-4.9.1/gcc/../libcpp/include
-I../../gcc-4.9.1/gcc/../libdecnumber
-I../../gcc-4..9.1/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc-4.9.1/gcc/../libbacktrace -o insn-recog.o -MT insn-recog.o
-MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c
/tmp/ccNhO7ry.s:225716: Warning: end of file not at end of a line; newline inserted
/tmp/ccNhO7ry.s:227059: Error: number of operands mismatch for `je'
/tmp/ccNhO7ry.s: Error: open CFI at the end of file; missing .cfi_endproc directive
make[3]: *** [insn-recog.o] Error 1
make[3]: se sale del directorio
«/home/german/Instalados/source/objgcc/gcc»
make[2]: *** [all-stage3-gcc] Error 2
make[2]: se sale del directorio «/home/german/Instalados/source/objgcc»
make[1]: *** [stage3-bubble] Error 2
make[1]: se sale del directorio «/home/german/Instalados/source/objgcc»
make: *** [all] Error 2
This is on Trisquel 6 for x86. Any advice? Thanks.
Adding the option --disable-bootstrap solve the problem.
Not really: it just means that your compiler hasn't been tested. There is
certainly something wrong, and it needs debugging, but I don't know what
it might be.
Andrew.
Yes, I noticed the objc compiler doesn't work :( For the moment I will use the version 4.8.3, I'm looking for an objc runtime with thread safe.

Thanks.
Germán.
Germán Arias
2014-07-31 23:54:25 UTC
Permalink
On 2014-07-28 17:36:23 -0600 Germán Arias <***@gmx.es> wrote:
[...]
Post by Germán Arias
Yes, I noticed the objc compiler doesn't work :( For the moment I will use
the version 4.8.3, I'm looking for an objc runtime with thread safe.
Thanks.
Germán.
I'm tring again with 4.9.1. I had no libisl, but the settings did not show me any errors. After install this library, along libcloog, I get this error:

/home/german/Instalados/source/objdir/./prev-gcc/xg++ -B/home/german/Instalados/source/objdir/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -nostdinc++ -B/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/include -I/home/german/Instalados/source/gcc-4.9.1/libstdc++-v3/libsupc++ -L/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/german/Instalados/source/objdir/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I../../gcc-4.9.1/gcc -I../../gcc-4.9.1/gcc/cp -I../../gcc-4.9.1/gcc/../include -I../../gcc-4.9.1/gcc/../libcpp/include -I../../gcc-4.9.1/gcc/../libdecnumber -I../../gcc-4.9.1/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc-4.9.1/gcc/../libbacktrace -DCLOOG_INT_GMP -I/usr/local/include -I/usr/local/include -o cp/vtable-class-hierarchy.o -MT cp/vtable-class-hierarchy.o -MMD -MP -MF cp/.deps/vtable-class-hierarchy.TPo ../../gcc-4.9.1/gcc/cp/vtable-class-hierarchy.c
build/genchecksum 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 libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
checksum-options > cc1plus-checksum.c.tmp && \
../../gcc-4.9.1/gcc/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c
make[2]: ***[cc1plus-checksum.c] Error 1
make[2]: Leaving directory `/home/german/Instalados/source/objdir/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/german/Instalados/source/objdir'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/german/Instalados/source/objdir'


Any advice? Thanks.

Germán.
Andrew Haley
2014-08-01 08:05:37 UTC
Permalink
Post by Germán Arias
Any advice? Thanks.
You haven't included the error message. It will be in the output,
you just have to look for it.

Andrew.

Continue reading on narkive:
Loading...