[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
** Changed in: gcc-linaro Importance: High => Low ** Changed in: gcc-linaro/4.4 Importance: Undecided => Low ** Changed in: gcc-linaro/4.4 Status: New => Won't Fix ** Changed in: gcc-linaro Status: New => Fix Released -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
** Also affects: gcc-linaro/4.4 Importance: Undecided Status: New -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
Low since it mainly affects testsuite code, moving to gcc-4.5 where it's Fix released ** Package changed: gcc-4.4 (Ubuntu) => gcc-4.5 (Ubuntu) ** Changed in: gcc-4.5 (Ubuntu) Importance: High => Low ** Changed in: gcc-4.5 (Ubuntu) Status: Confirmed => Fix Released -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
Since this only occurs with pathological source code, my recommendation would be to leave this as won't fix for 4.4; with 4.5 we get the fix from upstream anyway. -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
Looks like this has been addressed in 4.5 and later by Bernd Schmidt's patch for PR 41718: http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00682.html and Michael Matz's subsequent patch for PR 38582: http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00144.html -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
The problem is that cfgexpand.c wants to track "conflicts" between each pair of stack variables in order to decide whether they can share a stack slot or not -- and this test case has 10 variables, which means 5 billion potential conflict pairs. This overflows a size_t value on 32-bit host machines. Now this happens only with -O0 -fstack-protector, because if optimization is on, the 10 variables are eliminated early on (nothing is ever done to them), and if optimization is off, the pass to compute all those conflicts is normally bypassed -- except if stack protection is enabled, in which case all stack variables always need to be tracked. -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
I'm getting the ICE on this test case even on a *native* x86 build of vanilla GCC 4.4.4 release (only when using -fstack-protector, of course). Native PPC test fails as well (a bit differently). So this does not appear to be specific to either ARM or the Linaro patches. -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
Get ICE on maverick/x86 also. Cross compile linaro gcc *without* patches, ICE goes away. After compare 4.4.4-7ubuntu3 and linaro gcc, one difference is that -fstack-protector is put in 4.4.4-7ubuntu3 gcc's spec. Remove gcc-default-ssp.diff from rules.patch, and rebuild gcc on x86. No ICE any more. GCC build on ARM is still onging. Can we remove patch gcc-default-ssp.diff to fix this problem? -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
ICE is still there on gcc 4.4.4-7ubuntu1~ppa2, $ /usr/lib/gcc/arm-linux-gnueabi/4.4.4/cc1 -quiet -v limits-blockid.c -D_FORTIFY_SOURCE=2 -quiet -dumpbase limits-blockid.c -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -auxbase limits-blockid -g -O0 -w -version -fstack-protector ignoring nonexistent directory "//usr/local/include/arm-linux-gnueabi" ignoring nonexistent directory "/usr/lib/gcc/arm-linux-gnueabi/4.4.4/../../../../arm-linux-gnueabi/include" ignoring nonexistent directory "//usr/include/arm-linux-gnueabi" #include "..." search starts here: #include <...> search starts here: //usr/local/include /usr/lib/gcc/arm-linux-gnueabi/4.4.4/include /usr/lib/gcc/arm-linux-gnueabi/4.4.4/include-fixed //usr/include End of search list. GNU C (Ubuntu 4.4.4-7ubuntu1~ppa2) version 4.4.4 20100712 (Linaro) [release 2010.07-0] (arm-linux-gnueabi) compiled by GNU C version 4.4.4 20100712 (Linaro) [release 2010.07-0], GMP version 4.3.2, MPFR version 2.4.2-p1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: fb258f30a01ee336fbd134f4682fdbdc limits-blockid.c: In function 'q9_func': limits-blockid.c:15: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:573 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Get ICE more simple like this, and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39227 is similar to this bug. $ /usr/lib/gcc/arm-linux-gnueabi/4.4.4/cc1 -fstack-protector -O0 limits-blockid.c q9_func {GC 23942k -> 16083k} Analyzing compilation unit Performing interprocedural optimizations Assembling functions: q9_func limits-blockid.c: In function 'q9_func': limits-blockid.c:15: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:573 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ** Bug watch added: GCC Bugzilla #39227 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39227 -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
** Also affects: gcc-linaro Importance: Undecided Status: New ** Changed in: gcc-linaro Importance: Undecided => High -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
** Tags added: thumb -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
** Tags added: toolchain -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
on Debian/unstable this doesn't fail: gcc -c -v -w -g -O0 -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 src/gcc/testsuite/gcc.c-torture/compile/limits-blockid.c ** Changed in: gcc-4.4 (Ubuntu) Importance: Undecided => High ** Changed in: gcc-4.4 (Ubuntu) Status: New => Confirmed -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
except for the ICE -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
The sibcall failures are due to sibcalls not being implemented for Thumb2 in comparison to ARM. -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)
These look normal to me - I don't see any special execution failures comparing ARM and Thumb2. -- [armel] additional testsuite failures with -mthumb (compared to -marm) https://bugs.launchpad.net/bugs/497295 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs