public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem to compile gcc 4.9.1
@ 2014-07-24 23:19 Germán Arias
  2014-07-26  0:48 ` Germán Arias
  0 siblings, 1 reply; 6+ messages in thread
From: Germán Arias @ 2014-07-24 23:19 UTC (permalink / raw)
  To: GCC

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem to compile gcc 4.9.1
  2014-07-24 23:19 Problem to compile gcc 4.9.1 Germán Arias
@ 2014-07-26  0:48 ` Germán Arias
  2014-07-28  8:25   ` Andrew Haley
  0 siblings, 1 reply; 6+ messages in thread
From: Germán Arias @ 2014-07-26  0:48 UTC (permalink / raw)
  To: GCC

On 2014-07-24 17:19:45 -0600 Germán Arias <germanandre@gmx.es> wrote:

> 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.
> 

Adding the option --disable-bootstrap solve the problem. Maybe a problem with comparison?.

Germán.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem to compile gcc 4.9.1
  2014-07-26  0:48 ` Germán Arias
@ 2014-07-28  8:25   ` Andrew Haley
  2014-07-28 23:36     ` Germán Arias
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Haley @ 2014-07-28  8:25 UTC (permalink / raw)
  To: germanandre, GCC

On 26/07/14 01:48, Germán Arias wrote:
> On 2014-07-24 17:19:45 -0600 Germán Arias <germanandre@gmx.es> wrote:
> 
>> 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.
> 
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem to compile gcc 4.9.1
  2014-07-28  8:25   ` Andrew Haley
@ 2014-07-28 23:36     ` Germán Arias
  2014-07-31 23:54       ` Germán Arias
  0 siblings, 1 reply; 6+ messages in thread
From: Germán Arias @ 2014-07-28 23:36 UTC (permalink / raw)
  To: Andrew Haley; +Cc: GCC

On 2014-07-28 02:25:18 -0600 Andrew Haley <aph@redhat.com> wrote:

> On 26/07/14 01:48, Germán Arias wrote:
>> On 2014-07-24 17:19:45 -0600 Germán Arias <germanandre@gmx.es> wrote:
>> 
>>> 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.
>> 
>> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem to compile gcc 4.9.1
  2014-07-28 23:36     ` Germán Arias
@ 2014-07-31 23:54       ` Germán Arias
  2014-08-01  8:05         ` Andrew Haley
  0 siblings, 1 reply; 6+ messages in thread
From: Germán Arias @ 2014-07-31 23:54 UTC (permalink / raw)
  To: germanandre; +Cc: Andrew Haley, GCC

On 2014-07-28 17:36:23 -0600 Germán Arias <germanandre@gmx.es> wrote:
[...]
> 
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem to compile gcc 4.9.1
  2014-07-31 23:54       ` Germán Arias
@ 2014-08-01  8:05         ` Andrew Haley
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Haley @ 2014-08-01  8:05 UTC (permalink / raw)
  To: germanandre; +Cc: GCC

On 01/08/14 00:54, Germán Arias wrote:
> Any advice? Thanks.

You haven't included the error message.  It will be in the output,
you just have to look for it.

Andrew.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-01  8:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 23:19 Problem to compile gcc 4.9.1 Germán Arias
2014-07-26  0:48 ` Germán Arias
2014-07-28  8:25   ` Andrew Haley
2014-07-28 23:36     ` Germán Arias
2014-07-31 23:54       ` Germán Arias
2014-08-01  8:05         ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).