public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/55113] New: internal compiler error: in emit_library_call_value_1, at calls.c:3739
@ 2012-10-28 22:26 patrick at motec dot com.au
  2012-10-28 23:27 ` [Bug lto/55113] " pinskia at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: patrick at motec dot com.au @ 2012-10-28 22:26 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55113

             Bug #: 55113
           Summary: internal compiler error: in emit_library_call_value_1,
                    at calls.c:3739
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick@motec.com.au


Created attachment 28550
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28550
Problem object files

Using cross-compile gcc (x86_64 to powerpc) the following command line results
in an internal compiler error.

I have attached the problem object files (couldn't reduce beyond these two).

Hope this is enough information, thanks.

patrick@gtr:~/bug/report2$ powerpc-eabispe-gcc -v -Os -flto=jobserver -nostdlib
-o test *.o
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
COLLECT_LTO_WRAPPER=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/lto-wrapper
Target: powerpc-eabispe
Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure
--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe
--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot
--disable-nls --disable-werror --with-newlib
--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2
--disable-shared --disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.7.2 (GCC) 
COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/
LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib/
COLLECT_GCC_OPTIONS='-v' '-Os' '-flto=jobserver' '-nostdlib' '-o' 'test'
'-mcpu=8540'

/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/collect2
-plugin
/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/liblto_plugin.so
-plugin-opt=/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/lto-wrapper
-plugin-opt=-fresolution=/tmp/ccXmIQW9.res -flto=jobserver
--sysroot=/z/src/e7/toolchain/../prex_sysroot --eh-frame-hdr -V -dn -Bstatic -o
test
-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2
-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc
-L/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib
bug0.o bug1.o
GNU ld (GNU Binutils) 2.22
  Supported emulations:
   elf32ppc
   elf32ppclinux
   elf32ppcsim powerpc-eabispe-gcc @/tmp/ccMr3FEZ.args
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
Target: powerpc-eabispe
Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure
--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe
--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot
--disable-nls --disable-werror --with-newlib
--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2
--disable-shared --disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.7.2 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'
'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'
'-fltrans-output-list=/tmp/cc06h8H9.ltrans.out' '-fwpa'
'-fresolution=/tmp/ccXmIQW9.res'

/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/lto1
-quiet -dumpdir ./ -dumpbase test.wpa -msdata=none -mno-spe -mcpu=8540
-mcpu=8540 -auxbase bug0 -Os -version
-fltrans-output-list=/tmp/cc06h8H9.ltrans.out -fwpa
-fresolution=/tmp/ccXmIQW9.res @/tmp/ccZssqpa
GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)
    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)
    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COMPILER_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../libexec/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/
LIBRARY_PATH=/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/:/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/lib/
COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'
'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.wpa'
'-fltrans-output-list=/tmp/cc06h8H9.ltrans.out' '-fwpa'
'-fresolution=/tmp/ccXmIQW9.res'
 make -f /tmp/ccI66gEF.mk all
Using built-in specs.
COLLECT_GCC=powerpc-eabispe-gcc
Target: powerpc-eabispe
Configured with: /z/src/e7/toolchain/src/gcc-4.7.2/configure
--prefix=/z/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe
--enable-languages=c,c++ --with-sysroot=/z/src/e7/toolchain/../prex_sysroot
--disable-nls --disable-werror --with-newlib
--with-gmp=/z/src/e7/toolchain/stage2 --with-mpfr=/z/src/e7/toolchain/stage2
--disable-shared --disable-debug --disable-libssp --with-cpu=8540
Thread model: single
gcc version 4.7.2 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-msdata=none' '-mno-spe' '-mcpu=8540' '-v' '-Os'
'-nostdlib' '-mcpu=8540' '-dumpdir' './' '-dumpbase' 'test.ltrans0' '-fltrans'
'-o' '/tmp/cc06h8H9.ltrans0.ltrans.o'

/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/../../libexec/gcc/powerpc-eabispe/4.7.2/lto1
-quiet -dumpdir ./ -dumpbase test.ltrans0 -msdata=none -mno-spe -mcpu=8540
-mcpu=8540 -auxbase-strip /tmp/cc06h8H9.ltrans0.ltrans.o -Os -version -fltrans
/tmp/cc06h8H9.ltrans0.o -o /tmp/ccMPWpac.s
GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)
    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.7.2 (powerpc-eabispe)
    compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.1.1, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
In file included from tpu.c:1245:0,
                 from :74:
etpu/etpu_port.c: In function 'tpu_port_status_get.isra.25':
etpu/etpu_port.c:310:33: internal compiler error: in emit_library_call_value_1,
at calls.c:3739
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/tmp/cc06h8H9.ltrans0.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/home/patrick/src/e7/toolchain/stage2/bin/../lib/gcc/powerpc-eabispe/4.7.2/../../../../powerpc-eabispe/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status


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

end of thread, other threads:[~2014-03-04 11:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 22:26 [Bug lto/55113] New: internal compiler error: in emit_library_call_value_1, at calls.c:3739 patrick at motec dot com.au
2012-10-28 23:27 ` [Bug lto/55113] " pinskia at gcc dot gnu.org
2012-10-29 14:49 ` rguenth at gcc dot gnu.org
2012-11-21  2:34 ` patrick at motec dot com.au
2012-11-21  3:06 ` patrick at motec dot com.au
2012-11-21  3:11 ` patrick at motec dot com.au
2012-11-21  3:12 ` patrick at motec dot com.au
2013-03-25  5:42 ` patrick at motec dot com.au
2013-06-05 22:17 ` [Bug lto/55113] ICE in emit_library_call_value_1, at calls.c:3757 patrick at motec dot com.au
2013-06-05 22:19 ` patrick at motec dot com.au
2014-01-20  9:34 ` [Bug lto/55113] ICE with LTO and -fshort-double rguenth at gcc dot gnu.org
2014-02-26 21:03 ` pmatos at gcc dot gnu.org
2014-02-27  8:58 ` rguenth at gcc dot gnu.org
2014-02-27  9:22 ` pmatos at gcc dot gnu.org
2014-02-28 10:17 ` pmatos at gcc dot gnu.org
2014-03-02 20:14 ` pmatos at gcc dot gnu.org
2014-03-04 11:51 ` pmatos 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).