public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67919] New: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand"
@ 2015-10-10 14:42 spsarolkar at gmail dot com
  2015-10-10 14:47 ` [Bug c++/67919] " spsarolkar at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: spsarolkar at gmail dot com @ 2015-10-10 14:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67919
           Summary: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1:
                    internal compiler error: output_operand: invalid shift
                    operand"
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spsarolkar at gmail dot com
  Target Milestone: ---

I am trying to build my own lfs system for Raspberry PI 2.

As a part of it I am trying to compile gcc on Raspberry PI 2, with raspbian as
a base operating system.

I could build the binutils using the instructions on lfs development version.
But while compiling gcc I am getting below error

g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/. -I../../gcc-5.2.0/gcc/../include
-I../../gcc-5.2.0/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp
-I/mnt/lfs/sources/gcc-5.2.0/gmp -I/mnt/lfs/sources/gcc-build/./mpfr/src
-I/mnt/lfs/sources/gcc-5.2.0/mpfr/src -I/mnt/lfs/sources/gcc-5.2.0/mpc/src 
-I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace   -o except.o -MT
except.o -MMD -MP -MF ./.deps/except.TPo ../../gcc-5.2.0/gcc/except.c   
g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/. -I../../gcc-5.2.0/gcc/../include
-I../../gcc-5.2.0/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp
-I/mnt/lfs/sources/gcc-5.2.0/gmp -I/mnt/lfs/sources/gcc-build/./mpfr/src
-I/mnt/lfs/sources/gcc-5.2.0/mpfr/src -I/mnt/lfs/sources/gcc-5.2.0/mpc/src 
-I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace   -o explow.o -MT
explow.o -MMD -MP -MF ./.deps/explow.TPo ../../gcc-5.2.0/gcc/explow.c   
g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/. -I../../gcc-5.2.0/gcc/../include
-I../../gcc-5.2.0/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp
-I/mnt/lfs/sources/gcc-5.2.0/gmp -I/mnt/lfs/sources/gcc-build/./mpfr/src
-I/mnt/lfs/sources/gcc-5.2.0/mpfr/src -I/mnt/lfs/sources/gcc-5.2.0/mpc/src 
-I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace   -o expmed.o -MT
expmed.o -MMD -MP -MF ./.deps/expmed.TPo ../../gcc-5.2.0/gcc/expmed.c   
../../gcc-5.2.0/gcc/wide-int.h: In function 'long long unsigned int
choose_multiplier(long long unsigned int, int, int, long long unsigned int*,
int*, int*)':                                               
../../gcc-5.2.0/gcc/wide-int.h:798:57: warning: array subscript is below array
bounds [-Warray-bounds]                                                         
../../gcc-5.2.0/gcc/wide-int.h:798:57: warning: array subscript is below array
bounds [-Warray-bounds]                                                         
g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/. -I../../gcc-5.2.0/gcc/../include
-I../../gcc-5.2.0/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp
-I/mnt/lfs/sources/gcc-5.2.0/gmp -I/mnt/lfs/sources/gcc-build/./mpfr/src
-I/mnt/lfs/sources/gcc-5.2.0/mpfr/src -I/mnt/lfs/sources/gcc-5.2.0/mpc/src 
-I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace   -o expr.o -MT expr.o
-MMD -MP -MF ./.deps/expr.TPo ../../gcc-5.2.0/gcc/expr.c           
../../gcc-5.2.0/gcc/expr.c: In function 'void store_constructor(tree, rtx, int,
long long int)':                                                                
../../gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand:
invalid shift operand                                                           
Please submit a full bug report,                                                
with preprocessed source if appropriate.                                        
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.               
Preprocessed source stored into /tmp/ccAUc9Pu.out file, please attach this to
your bugreport.                                                                 
Makefile:1065: recipe for target 'expr.o' failed                                
make[2]: *** [expr.o] Error 1                                                   
make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'                     
Makefile:4105: recipe for target 'all-gcc' failed                               
make[1]: *** [all-gcc] Error 2                                                  
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build'                         
Makefile:858: recipe for target 'all' failed                                    
make: *** [all] Error 2


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

* [Bug c++/67919] GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand"
  2015-10-10 14:42 [Bug c++/67919] New: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand" spsarolkar at gmail dot com
@ 2015-10-10 14:47 ` spsarolkar at gmail dot com
  2015-10-12  1:59 ` [Bug c/67919] " spsarolkar at gmail dot com
  2015-10-12 13:27 ` [Bug target/67919] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: spsarolkar at gmail dot com @ 2015-10-10 14:47 UTC (permalink / raw)
  To: gcc-bugs

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

Xinus <spsarolkar at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spsarolkar at gmail dot com

--- Comment #1 from Xinus <spsarolkar at gmail dot com> ---
Created attachment 36476
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36476&action=edit
preprocessed source

Attached is the processor source


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

* [Bug c/67919] GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand"
  2015-10-10 14:42 [Bug c++/67919] New: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand" spsarolkar at gmail dot com
  2015-10-10 14:47 ` [Bug c++/67919] " spsarolkar at gmail dot com
@ 2015-10-12  1:59 ` spsarolkar at gmail dot com
  2015-10-12 13:27 ` [Bug target/67919] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: spsarolkar at gmail dot com @ 2015-10-12  1:59 UTC (permalink / raw)
  To: gcc-bugs

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

Xinus <spsarolkar at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


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

* [Bug target/67919] GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand"
  2015-10-10 14:42 [Bug c++/67919] New: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand" spsarolkar at gmail dot com
  2015-10-10 14:47 ` [Bug c++/67919] " spsarolkar at gmail dot com
  2015-10-12  1:59 ` [Bug c/67919] " spsarolkar at gmail dot com
@ 2015-10-12 13:27 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-10-12 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
            Version|5.2.0                       |4.6.0
           Severity|blocker                     |normal

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is not with gcc 5.2 but rather with the 4.6 that is included with
your machine. Try building 4.7 and then build 5.2.


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

end of thread, other threads:[~2015-10-12 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-10 14:42 [Bug c++/67919] New: GCC Compiler failed with "gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: invalid shift operand" spsarolkar at gmail dot com
2015-10-10 14:47 ` [Bug c++/67919] " spsarolkar at gmail dot com
2015-10-12  1:59 ` [Bug c/67919] " spsarolkar at gmail dot com
2015-10-12 13:27 ` [Bug target/67919] " pinskia at gcc dot gnu.org

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