https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63771

            Bug ID: 63771
           Summary: internal compiler error: in lra_create_copy, at
                    lra.c:1532
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: AythanGCC at hotmail dot com

I am try to build gcc-4.9.2 on QNAP TS 212 .

"uanme -a" output:
Linux Host 3.4.6 #1 Fri Oct 3 15:48:12 CST 2014 armv5tel unknown

Old compiler is: "g++ -v"
-----------------------------------------------------------------------------   
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: ../gcc-4.2/configure --build=i386-pc-linux-gnu
--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/opt
--disable-nls --disable-static
--with-as=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-as
--with-ld=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-ld
--enable-languages=c,c++ --disable-multilib --enable-threads
--disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch
--enable-shared --enable-symvers=gnu --enable-__cxa_atexit
Thread model: posix
gcc version 4.2.3
---------------------------------------------------------------------------

configure command was:
---------------------------------------------------------------------------
/share/homes/admin/gcc/gcc-4.9.2/configure           \
    --prefix=/share/homes/admin/gcc/gcc-4.9.2-bin    \
    --enable-shared                                  \
    --enable-threads=posix                           \
    --enable-__cxa_atexit                            \
    --enable-clocale=gnu                             \
    --disable-multilib                               \
    --with-system-zlib                               \
    --enable-languages=c,c++,fortran,go,objc,obj-c++ \
    --program-suffix=-4.9.2
---------------------------------------------------------------------------

On "make" phase, (after two days of chewing bits and spitting them out) the
process finally reached the command:
----------------------------------------------------------------------------
/share/homes/admin/gcc/gcc-4.9.2-build/./prev-gcc/xg++
-B/share/homes/admin/gcc/gcc-4.9.2-build/./prev-gcc/
-B/share/homes/admin/gcc/gcc-4.9.2-bin/armv5tel-unknown-linux-gnueabi/bin/
-nostdinc++
-B/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-B/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs

-I/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include/armv5tel-unknown-linux-gnueabi

-I/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include
 -I/share/homes/admin/gcc/gcc-4.9.2/libstdc++-v3/libsupc++
-L/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-L/share/homes/admin/gcc/gcc-4.9.2-build/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-c   -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. -I.
-I/share/homes/admin/gcc/gcc-4.9.2/gcc -I/share/homes/admin/gcc/gcc-4.9.2/gcc/.
-I/share/homes/admin/gcc/gcc-4.9.2/gcc/../include
-I/share/homes/admin/gcc/gcc-4.9.2/gcc/../libcpp/include
-I/share/homes/admin/gcc/gcc-4.9.2-build/./gmp
-I/share/homes/admin/gcc/gcc-4.9.2/gmp
-I/share/homes/admin/gcc/gcc-4.9.2-build/./mpfr
-I/share/homes/admin/gcc/gcc-4.9.2/mpfr
-I/share/homes/admin/gcc/gcc-4.9.2/mpc/src 
-I/share/homes/admin/gcc/gcc-4.9.2/gcc/../libdecnumber
-I/share/homes/admin/gcc/gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber
-I/share/homes/admin/gcc/gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP
-I/share/homes/admin/gcc/gcc-4.9.2-build/./cloog/include
-I/share/homes/admin/gcc/gcc-4.9.2/cloog/include
-I/share/homes/admin/gcc/gcc-4.9.2/cloog/include 
-I/share/homes/admin/gcc/gcc-4.9.2-build/./isl/include
-I/share/homes/admin/gcc/gcc-4.9.2/isl/include  -o haifa-sched.o -MT
haifa-sched.o -MMD -MP -MF ./.deps/haifa-sched.TPo
/share/homes/admin/gcc/gcc-4.9.2/gcc/haifa-sched.c
---------------------------------------------------------------------------

and fails with the following message:
---------------------------------------------------------------------------
/share/homes/admin/gcc/gcc-4.9.2/gcc/haifa-sched.c: In function âbool
schedule_block(basic_block_def**, state_t)â:
/share/homes/admin/gcc/gcc-4.9.2/gcc/haifa-sched.c:6507:1: internal compiler
error: in lra_create_copy, at lra.c:1532
 }
 ^
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [haifa-sched.o] Error 1
make[3]: Leaving directory
`/share/MD0_DATA/homes/admin/gcc/gcc-4.9.2-build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/share/MD0_DATA/homes/admin/gcc/gcc-4.9.2-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/share/MD0_DATA/homes/admin/gcc/gcc-4.9.2-build'
make: *** [all] Error 2
----------------------------------------------------------------------------


I don't know if it is connected, but I must mention that while in the process,
(two day ago) I had to manually edit one of the source files:
gcc-4.9.2/gcc/config/arm/arm.md .
"diff arm.md arm.md.org" says:
------------------------------------------------------------------------------
9828c9828
<     return \".word\\t0xe7f000f0\";
---
>     return \".inst\\t0xe7f000f0\";
9830c9830
<     return \".word\\t0xdeff\";
---
>     return \".inst\\t0xdeff\";
------------------------------------------------------------------------------

This is due to the fact that with the original version one of the source files
(I cannot recall now which) failed to compile, with the error message from the
assembler, complaining thatthat ".inst" is an illegal pseudo-op.

Reply via email to