Home > Internal Compiler > Internal Compiler Error In Do_subst At Combine.c

Internal Compiler Error In Do_subst At Combine.c

comment:7 Changed 4 years ago by jow Resolution set to wontfix Status changed from reopened to closed OpenWrt does not maintain the Linaro gcc variant, therfore we're unable to solve your I just downloaded and run menuconfig??? My configure line was ../gcc-4.1.1/configure --target=m68k-elf --prefix=/home/lpowell/m68k-gcc --disable-shared --with-gnu-as --with-gnu-ld --with-newlib --without-headers --enable-languages=c --with-local-prefix=/home/lpowell/m68k-gcc/m68k-elf The final command and output was /home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/ -B/home/lpowell/m68k-gcc/m68k-elf/bin/ -B/home/lpowell/m68k-gcc/m68k-elf/lib/ -isystem /home/lpowell/m68k-gcc/m68k-elf/include -isystem /home/lpowell/m68k-gcc/m68k-elf/sys-include -O2 -O2 -g Description Hamish Moffatt 2005-08-17 13:46:42 UTC Attempting to build a cross-compiler for m68k-unknown-elf on x86_64-linux-gnu fails with an internal error: /home/hamish/projects/rockbox/gcc-4/orig/build/gcc/xgcc -B/home/hamish/projects/rockbox/gcc-4/orig/build/gcc/ -B/home/hamish/m68k-amd64/m68k-elf/bin/ -B/home/hamish/m68k-amd64/m68k-elf/lib/ -isystem /home/hamish/m68k-amd64/m68k-elf/include -isystem /home/hamish/m68k-amd64/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE check over here

Follow-Ups: [Bug rtl-optimization/58079] internal compiler error: in do_SUBST, at combine.c:711 From: jbglaw at lug-owl dot de [Bug rtl-optimization/58079] internal compiler error: in do_SUBST, at combine.c:711 From: mikpe at it dot uu.se comment:3 Changed 4 years ago by anonymous Ok, tried... This might be a bug in the target files not understanding HWI as 64bits. package/click/Makefile (note, compiling the userlevel click only) config.log​ (11.2 KB) - added by anonymous 4 years ago. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23442

Comment 6 Jorn Wolfgang Rennecke 2011-12-07 14:13:15 UTC (In reply to comment #5) > Actually, it is not enough to ensure that the mode matches; we must ensure > that the Bug26906 - internal compiler error: in do_SUBST, at combine.c:447 Summary: internal compiler error: in do_SUBST, at combine.c:447 Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: middle-end (show other bugs) Please try with a more recent version. Here's the relevant part of the compilation: /home/guest/buildscripts/m68k-elf/gcc/gcc/xgcc -B/home/guest/buildscripts/m68k-elf/gcc/gcc/ -B/opt/toolchains/m68k-elf-old/m68k-elf/bin/ -B/opt/toolchains/m68k-elf-old/m68k-elf/lib/ -isystem /opt/toolchains/m68k-elf-old/m68k-elf/include -isystem /opt/toolchains/m68k-elf-old/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.

CXX ../elements/standard/classification.cc ../elements/standard/classification.cc: In function 'void Classification::Wordwise::jump_accum(StringAccum&, int)': ../elements/standard/classification.cc:143: internal compiler error: in do_SUBST, at combine.c:676 Please submit a full bug report, with preprocessed source if appropriate. Description fdarkangel 2012-04-06 23:27:41 UTC I got this when cross-compiling gcc-3.4.6 for m68k-elf on x86_64 host (gcc-4.7.0). Please include the complete backtrace with any bug report. You can nevertheless proceed and submit your changes if you wish so.

armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.8.9\" -DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"armeb-unknown-linux-gnu\" -DGTK_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -Wall -c org [Download message RAW] ------- Comment #2 from arnold-j at t-online dot de 2006-03-21 21:11 ------- This happens with *all* versions of m68k-elf-gcc I tried to build (3.3.6, 3.4.5, 3.4.6, 4.0.2, See also existing bug 23442 on a different platform. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52896 Do you need "set solib-search-path" or "set sysroot"?

comment:4 Changed 4 years ago by anonymous Oh, and I'm trying this on Ubuntu 12.10 comment:5 Changed 4 years ago by [email protected]… Resolution wontfix deleted Status changed from closed to reopened Comment 3 Leon Woestenberg 2006-03-28 16:47:33 UTC Created attachment 11140 [details] preprocessed C file (bzip2'd) Comment 4 Andrew Pinski 2006-03-30 22:01:34 UTC 3.4.x is no longer being updated, can you try Presumed fixed. -- rearnsha at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Host gcc: gcc version 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) Example: m68k-elf-gcc 3.4.6, configured with: ../../gcc-3.4.6/configure --target=m68k-elf --prefix=/opt/m68k --enable-languages=c Result: /home/jens/build/gcc/gcc/xgcc -B/home/jens/build/gcc/gcc/ -B/opt/m68k/m68k-elf/bin/ -B/opt/m68k/m68k-elf/lib/ -isystem /opt/m68k/m68k-elf/include -isystem /opt/m68k/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W

Earlier we did have the compiler error thing to happen, and got over it by using buildroot system and changing the compiler not to use "linaro"... https://gcc.gnu.org/ml/gcc-bugs/2013-08/msg00243.html Add Comment This ticket has been modified since you started editing. See also existing bug 23442 on a different platform. Comment 1 Eric Botcazou 2012-04-07 06:58:37 UTC GCC 3.4.x is no longer supported.

svn co ​svn://svn.openwrt.org/openwrt/branches/attitude_adjustment ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig + Image Builder, SDK, ToolChain make ... http://wiiplay.net/internal-compiler/internal-compiler-error-cl-exe.html I used mips64r5900el, but it doesn't seem to be related to this. Bug52896 - internal compiler error: in do_SUBST, at combine.c:447 Summary: internal compiler error: in do_SUBST, at combine.c:447 Status: RESOLVED WONTFIX Alias: None Product: gcc Classification: Unclassified Component: c (show other bugs) reopen The resolution will be deleted.

make package/click/compile V=99 DEVELOPER=1 WARNING: your configuration is out of sync. Description Leon Woestenberg 2006-03-28 16:33:31 UTC ICE when cross-compiling on x86_64 host for armeb target. Ssidenote: I first cross-compiled & installed binutils-2.22. http://wiiplay.net/internal-compiler/internal-compiler-error-gcc.html make[2]: *** [libgcc/m68000/_fixdfdi.o] Fehler 1 make[2]: Leaving directory `/home/jens/build/gcc/gcc' make[1]: *** [stmp-multilib] Fehler 2 make[1]: Leaving directory `/home/jens/build/gcc/gcc' make: *** [all-gcc] Fehler 2 The line numbers vary with gcc versions, but

Not using the parameters "-Os", "-mno-abicalls" or "-mlong-calls" fix the problem. and_optab : xor_optab, Value returned is $7 = (struct rtx_def *) 0xfffa9459720 (gdb) call debug_rtx($5) (insn 511 510 0 (parallel [ (set (subreg:SI (reg:SF 493) 0) (xor:SI (reg:SI 494) (reg:SI 495))) gnu !

Start it from the beginning? (y or n) y Starting program: /home/amylaar/epiphany/bld-epiphany-20111107/gcc/cc1plus -fpreprocessed check_nan.ii -quiet -dumpbase check_nan.cc -auxbase check_nan -g -g -g -O2 -O2 -O2 -version -fmessage-length=0 -ffunction-sections -fdata-sections -o check_nan.s

I used GCC r201473 from SVN. org> Date: 2006-03-21 21:11:47 Message-ID: 20060321211147.26540.qmail () sourceware ! Reduce the observed ICE to a simple code testcase and report the gathered information to the Linaro GCC project at ​https://launchpad.net/gcc-linaro. Changed by anonymous Author Your email or username: E-mail address and user name can be saved in the Preferences.

GNU C++ (GCC) version 4.7.0 20111107 (experimental) (epiphany-elf) compiled by GNU C version 4.6.1 20111003 (Red Hat 4.6.1-10), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=30 SImode. The comment in the source code above the gcc_assert() is: "Sanity check that we're replacing oldval with a CONST_INT that is a valid sign-extension for the original mode.". http://wiiplay.net/internal-compiler/internal-compiler-error-net.html Format For Printing -XML -Clone This Bug -Top of page Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In Remember [x] |

Also, -O1, -O2, -O3 are OK. -- likewise at gmx dot net changed: What |Removed and then ... Comment 5 Kazu Hirata 2006-05-08 16:44:51 UTC Not reproducible. I will attach the preprocessed C file in a direct follow-up.

Bug23442 - Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462 Summary: Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462 Status: RESOLVED FIXED Alias: Also, -O1, -O2, -O3 are OK. -- likewise at gmx dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |likewise at gmx dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26906 References: [Bug c/26906] New: internal compiler error: Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext] Other format: [Raw text] [Bug c/58079] New: internal compiler error: in do_SUBST, at combine.c:711 From: "JuergenUrban at gmx dot de"

FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc (test for excess errors) FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/compile.cc (test for excess errors) FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/compile_2.cc (test for excess errors) expand_absneg_bit sets a REG_EQUAL note in SFmode on an instruction that sets an Description Ryan Mansfield 2009-05-15 02:21:09 UTC ryan@ryan:~/gcc/trunk/gcc/build/gcc$ ./xgcc -v Using built-in specs. Fails in gcc 4.4.0 and trunk (4.5.0 20090515) Comment 1 Kazumoto Kojima 2009-05-16 00:08:04 UTC I've tried to see what is going on with -da. .expand rtl dump shows that t Target: sh4-unknown-linux-gnu Configured with: ../configure --build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu --target=sh4-unknown-linux-gnu --prefix=/home/ryan/crosstool-ng-1.3.1/targets/sh4-unknown-linux-gnu/build/gcc-core-static --with-local-prefix=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root --disable-multilib --with-sysroot=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root --with-newlib --enable-threads=no --disable-shared --enable-__cxa_atexit --disable-nls --enable-symvers=gnu --enable-languages=c --enable-target-optspace Thread model: single gcc version 4.5.0 20090515 (experimental) [trunk revision 147550]

org [Download message RAW] ------- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-30 22:01 ------- 3.4.x is no longer being updated, can you try 4.0.x or 4.1.0? -- Comment 6 Richard Earnshaw 2009-10-14 14:17:16 UTC No feedback. Changed 4 years ago by anonymous Attachment config.log​ added comment:2 Changed 4 years ago by anonymous Trying with ​http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2 The click configure fails unexpectedly. Comment 10 Jeffrey A.

Comment 6 Luke Powell 2006-08-29 14:21:45 UTC (In reply to comment #5) > Not reproducible. > > I built a m68k-elf toolchain on x86_64-pc-linux-gnu and compiled the testcase. > No ICE Next status will be 'reopened'. make[3]: * [classification.o] Error 1 Attachments (2) Makefile​ (1.8 KB) - added by [email protected]… 4 years ago. Presumed fixed.

Included the command that makes GCC fail (minus all -I include paths) with an ICE, the output. Comment 3 Jorn Wolfgang Rennecke 2011-11-07 22:37:22 UTC I see a similar problem on epiphany-elf in three libstdc++-v3 tests. This also happens when changing the ABI or the CPU type (still mips).