[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
The Precise Pangolin has reached end of life, so this bug will not be fixed for that release ** Changed in: gcc-4.6 (Ubuntu Precise) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
This says status: fix released and milestone: precise-updates since 2012-05. Is the bug forgotten or expired? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Any hope waiting a release of this fix to precise-backports? I'm really disappointed with my situation, I'm trying hard to compile something that needs gcc-4.7. The only way to achieve that without compiling it myself is installing a test ppa, https://launchpad.net/~ubuntu-toolchain-r/+archive/test, which doesn't seem safe to a production server, so I decided to compile it myself. An then... I found this bug trying to compile mpfr. Really sad... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Yes, it's sad Precise's gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) is still broken. If you want to (re)build MPFR with that, use (just) '-O2', or '-O3 -fno- tree-vectorize'. Or (build and) use any of FSF's / vanilla GCC 4.7.{0,1,2,3} or 4.8.0 ... :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Changed in: gcc-linaro/4.7 Status: Fix Committed = Fix Released ** Changed in: gcc-linaro/4.6 Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
This bug was fixed in the package gcc-4.6 - 4.6.3-4ubuntu1 --- gcc-4.6 (4.6.3-4ubuntu1) quantal; urgency=low * Update to SVN 20120425 (r186817) from the gcc-4_6-branch. - Fix PR middle-end/53084, PR lto/48246. * Default to armv5t, soft float on armel. gcc-4.6 (4.6.3-4) unstable; urgency=low [ Matthias Klose ] * Update to SVN 20120416 (r186492) from the gcc-4_6-branch. - Fix PR middle-end/52894, PR target/52717, PR target/52775, PR target/52775. * Update the Linaro support to the 4.6-2012.04 release. * Fix PR middle-end/52870, taken from the trunk (Ulrich Weigand). Linaro only. LP: #968766. * Fix ICE (regression) in Linaro gcc-4.6 (Ulrich Weigand). LP: #972648. * Don't build ARM biarch runtime libraries, now built from the gcc-4.7 sources. * Set the ARM hard-float linker path according to the consensus: http://lists.linaro.org/pipermail/cross-distro/2012-April/000261.html [ Samuel Thibault ] * ada-s-osinte-gnu.adb.diff, ada-s-osinte-gnu.ads.diff, ada-s-taprop-gnu.adb.diff, gcc_ada_gcc-interface_Makefile.in.diff: Add ada support for GNU/Hurd, thanks Svante Signell for the patches and bootstrap! (Closes: #668425). -- Matthias Klose d...@ubuntu.com Wed, 25 Apr 2012 16:26:46 +0200 ** Changed in: gcc-4.6 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Branch linked: lp:debian/gnat-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Branch linked: lp:debian/gcc-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Committed backports to Linaro GCC 4.6 and 4.7. ** Also affects: gcc-linaro/4.6 Importance: Undecided Status: New ** Also affects: gcc-linaro/4.7 Importance: Medium Assignee: Ulrich Weigand (uweigand) Status: In Progress ** Changed in: gcc-linaro/4.6 Importance: Undecided = Medium ** Changed in: gcc-linaro/4.6 Assignee: (unassigned) = Ulrich Weigand (uweigand) ** Changed in: gcc-linaro/4.6 Status: New = In Progress ** Changed in: gcc-linaro/4.6 Milestone: None = 4.6-2012.05 ** Changed in: gcc-linaro/4.7 Milestone: None = 4.7-2012.05 ** Changed in: gcc-linaro/4.6 Status: In Progress = Fix Committed ** Changed in: gcc-linaro/4.7 Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Changed in: gcc Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Branch linked: lp:~uweigand/gcc-linaro/lp-968766-4.7 ** Branch linked: lp:~uweigand/gcc-linaro/lp-968766-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Launchpad has imported 2 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52870. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-04-04T15:53:26+00:00 Uweigand-gcc wrote: Building the following testcase with -O -ftree-vectorize on x86_64: long test (int *x) { unsigned long sx, xprec; sx = *x = 0 ? *x : -*x; xprec = sx * 64; if (sx 16384) foo (sx); return xprec; } results in an ICE: crash1.c:5:1: internal compiler error: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:628 (When building with --disable-checking, we get a segmentation fault instead.) Reply at: https://bugs.launchpad.net/gcc/+bug/968766/comments/14 On 2012-04-04T15:56:06+00:00 Uweigand-gcc wrote: It seems the problem is that vect_recog_widen_mult_pattern includes a statement into a pattern it detects which is actually outside of the basic block that SLP is currently operating on. This later on causes the ICE since the statement does not have an assigned stmt_vinfo. I'm testing a fix. Reply at: https://bugs.launchpad.net/gcc/+bug/968766/comments/15 ** Changed in: gcc Status: Unknown = In Progress ** Changed in: gcc Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Thanks for taking the time to report this bug in the upstream bug tracking system this is a tremendous help. Launchpad has the ability to watch lots of upstream bug trackers and this can be done by following the procedure documented at https://wiki.ubuntu.com/Bugs/Watches. I've added the bug watch for this bug report. ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52870 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
This affects current FSF mainline as well. I've opened a GCC bugzilla report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52870 ** Bug watch added: GCC Bugzilla #52870 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52870 ** Changed in: gcc-linaro Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
You mean current svn trunk? I don't get this error with (released) GCC 4.6.3 nor 4.7.0, just with Ubuntu's 4.6.3-1ubuntu3. Also your test case from bugzilla works for me with both of these. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Yip, in trunk. The fault is in the SLP vectoriser that are in trunk, our 4.7, and our 4.6. They're not in the FSF 4.7.0 release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Program received signal SIGSEGV, Segmentation fault. 0x00806eb8 in supportable_widening_operation () (gdb) bt #0 0x00806eb8 in supportable_widening_operation () #1 0x00b2b164 in ?? () #2 0x00b2bc12 in vect_pattern_recog () #3 0x00821045 in vect_slp_analyze_bb () #4 0x00821d1b in ?? () #5 0x0068eab9 in execute_one_pass () #6 0x0068ed75 in execute_pass_list () #7 0x0068ed87 in execute_pass_list () #8 0x0068ed87 in execute_pass_list () #9 0x0075bf51 in tree_rest_of_compilation () #10 0x008a074f in ?? () #11 0x008a23fa in cgraph_optimize () #12 0x008a27fa in cgraph_finalize_compilation_unit () #13 0x004a3925 in c_write_global_declarations () #14 0x007207be in toplev_main () #15 0x76f4576d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #16 0x004932b9 in _start () -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Changed in: gcc-4.6 (Ubuntu) Importance: Undecided = Medium ** Changed in: gcc-4.6 (Ubuntu) Status: New = Confirmed ** Changed in: gcc-4.6 (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
not seen with the FSF branch, but with the Linaro 4.6 branch ** Also affects: gcc-linaro Importance: Undecided Status: New ** Also affects: gcc-4.6 (Ubuntu Precise) Importance: Medium Status: Triaged ** Changed in: gcc-4.6 (Ubuntu Precise) Milestone: None = precise-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
could you provide the preprocessed source for the singular ICE as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Sure. g++ -march=native -O3 -g -fno-strict-aliasing -DHONORS_CXXFLAGS -O2 -g -fPIC -pipe -fno-implicit-templates -I. -I.. -I/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/local -I/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/local/include -I/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/local/include -I/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/local/include -march=native -O3 -g -DHONORS_CPPFLAGS -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -c sparsmat.cc sparsmat.cc: In function ‘long int smExpBound(ideal, int, int, int)’: sparsmat.cc:216:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sparsmat.cc:217:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sparsmat.cc: In function ‘BOOLEAN smIsNegQuot(poly, poly, poly)’: sparsmat.cc:1948:16: internal compiler error: Segmentation fault 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 /data/tmp/ccdVNSe9.out file, please attach this to your bugreport. Traceback (most recent call last): File /usr/share/apport/gcc_ice_hook, line 15, in module import apport, apport.fileutils ImportError: No module named apport make[2]: *** [sparsmat.o] Error 1 make[2]: Leaving directory `/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/spkg/build/singular-3-1-3-3.p6/src/kernel' make[1]: *** [install] Error 1 make[1]: Leaving directory `/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/spkg/build/singular-3-1-3-3.p6/src' make: *** [/mnt/linux-data-on-win7/Sage/sage-5.0.beta11-gcc-4.6.3-1ubuntu3/local/bin/Singular-3-1-3] Error 2 :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
** Attachment added: Preprocessed Singular source cc1plus crashed on (with '-O3'). https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+attachment/2997415/+files/ccdVNSe9.out -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
the cc1plus is another issue. now tracked in bug 972648 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Thank you for the bug report. I've confirmed this with gcc- linaro-4.6-2012.03+bzr106882 on x86_64: michaelh@crucis:~/linaro/gcc/build/native-4.6/gcc$ PATH=.:$PATH ./xgcc -c -O3 -march=native -fno-use-linker-plugin ~/linaro/bugs/lp968766.i ../../mpfr-3.1.0/src/set_f.c: In function ‘mpfr_set_f’: ../../mpfr-3.1.0/src/set_f.c:27:1: internal compiler error: Segmentation fault The fault occurs in the SLP vectoriser. The work-around is to compile at -O3 -fno-tree-slp-vectorize or at -O2. I'll try to reproduce it against upstream. I've set it to medium priority as it is a ftbfs, has a work around, and occurs at high optimisation levels. It seems similar to LP: #960283. The backtrace is: supportable_widening_operation (code=WIDEN_MULT_EXPR, stmt=0x75045410, vectype_out=0x7504ca80, vectype_in=0x7504c930, decl1=0x7fffdbf0, decl2=0x7fffdbf0, code1=0x7fffdc04, code2=0x7fffdc04, multi_step_cvt=0x7fffdc08, interm_types=0x7fffdbf8) at ../../../4.6/gcc/tree-vect-stmts.c:5922 5922 loop_vec_info loop_info = STMT_VINFO_LOOP_VINFO (stmt_info); (gdb) back #0 supportable_widening_operation (code=WIDEN_MULT_EXPR, stmt=0x75045410, vectype_out=0x7504ca80, vectype_in=0x7504c930, decl1=0x7fffdbf0, decl2=0x7fffdbf0, code1=0x7fffdc04, code2=0x7fffdc04, multi_step_cvt=0x7fffdc08, interm_types=0x7fffdbf8) at ../../../4.6/gcc/tree-vect-stmts.c:5922 #1 0x00b31ef4 in vect_recog_widen_mult_pattern (stmts=0x7fffdc98, type_in=0x7fffdca0, type_out=0x7fffdca8) at ../../../4.6/gcc/tree-vect-patterns.c:634 #2 0x00b329a2 in vect_pattern_recog_1 (stmts_to_replace=0x7fffdc98, vect_recog_func=0xb31b00 vect_recog_widen_mult_pattern, si=...) at ../../../4.6/gcc/tree-vect-patterns.c:1727 #3 vect_pattern_recog (loop_vinfo=optimized out, bb_vinfo=0x126bcf0) at ../../../4.6/gcc/tree-vect-patterns.c:1934 #4 0x008260a5 in vect_slp_analyze_bb_1 (bb=0x752606e8) at ../../../4.6/gcc/tree-vect-slp.c:1977 #5 vect_slp_analyze_bb (bb=0x752606e8) at ../../../4.6/gcc/tree-vect-slp.c:2108 #6 0x00826d7b in execute_vect_slp () at ../../../4.6/gcc/tree-vectorizer.c:256 ** Changed in: gcc-linaro Status: New = Triaged ** Changed in: gcc-linaro Importance: Undecided = Medium ** Changed in: gcc-linaro Assignee: (unassigned) = Ulrich Weigand (uweigand) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
FWIW, I've built a vanilla GCC 4.6.3 from scratch (along with GMP 5.0.4, MPFR 3.1.0-p8, MPC 0.9, PPL 0.12, CLooG 0.15.11 and libelf 0.8.13), installed it (as well as the libraries) under /usr/local, and don't get any crashes with that version. In particular, both MPFR and Singular build just fine with '-O3'. The crash on Singular 3-1-3-3 (cc1plus) with '-O3' also happens with GCC 4.6.3-1ubuntu3 in a 32-bit virtual machine (Precise with all recent updates), as a friend just confirmed. (To trigger this, one has to [also] put '-O3' into CPPFLAGS, not just CXXFLAGS, since otherwise the setting gets overridden by a subsequent '-O2' in the compile command.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
P.S.: $ LANG=en_US gcc-4.6.3 -v Using built-in specs. COLLECT_GCC=gcc-4.6.3 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-linux-gnu/4.6.3/lto-wrapper Target: x86_64-linux-gnu Configured with: ../gcc-4.6.3/configure -v --prefix=/usr/local --program-suffix=-4.6.3 --enable-version-specific-runtime-libs --with-included-gettext --enable-languages=all --enable-__cxa_atexit --enable-gnu-indirect-function --enable-libstdcxx-debug --enable-libgcj-debug --enable-static-libjava --enable-tls --enable-targets=all --enable-multilib-list=m32,m64,mx32 --enable-threads --enable-lto --enable-plugin --enable-multiarch --with-arch-32=prescott --with-arch-64=native --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --build=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (GCC) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Just checked: It's really only that single file of MPFR (set_f.c) Ubuntu's current GCC / cc1 crashes on with '-O3'. After 'make' failed in the first place, I just took the libtool command (/bin/bash ../libtool --tag=CC --mode=compile gcc ...), replaced the two occurrences of '-O3' by '-O2', executed that, then resumed the build by typing 'make' again. That succeeded (compiling also all remaining files with '-O3'), as well as afterwards 'make check' did (which again involves building). (This was a build outside of and completely unrelated to Sage, with GMP 5.0.4 built from scratch, but on the same machine.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 968766] Re: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0
Similar for Singular (3-1-3-3): g++ / cc1plus crashes with -O3, builds with -O2 instead. Hopefully Precise won't ship with a broken compiler... Haven't had such issues with GCC 4.6.3 installations I built myself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968766 Title: GCC 4.6.3 (cc1) crashes when compiling MPFR 3.1.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/968766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs