public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
@ 2012-07-31 13:46 mikpe at it dot uu.se
2012-08-16 11:06 ` [Bug testsuite/54139] " rguenth at gcc dot gnu.org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: mikpe at it dot uu.se @ 2012-07-31 13:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Bug #: 54139
Summary: [4.8 regression] some ARM Thumb-2 tests appear to be
run on ARMv5TE hardware causing unhandled exceptions
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikpe@it.uu.se
Bootstrapping gcc-4.8 on armv5tel-linux-gnueabi and running the test suite now
results in kernel messages about unhandled exceptions from (what appears to be)
Thumb-2 specific test cases:
Alignment trap: ftest-armv6t2-t (1910) PC=0x0000842e Instr=0x3304601a
Address=0x00008501 FSR 0x801
Alignment trap: not handling instruction 3304601a at [<0000842e>]
Unhandled fault: alignment exception (0x801) at 0x00008501
Alignment trap: ftest-armv7a-th (1982) PC=0x0000842e Instr=0x3304601a
Address=0x00008509 FSR 0x801
Alignment trap: not handling instruction 3304601a at [<0000842e>]
Unhandled fault: alignment exception (0x801) at 0x00008509
Alignment trap: ftest-armv7r-th (2042) PC=0x0000842e Instr=0x3304601a
Address=0x00008509 FSR 0x801
Alignment trap: not handling instruction 3304601a at [<0000842e>]
Unhandled fault: alignment exception (0x801) at 0x00008509
The program names are truncated, but clearly correspond to
ftest-armv6t2-thumb.c, ftest-armv7a-thumb.c, and ftest-armv7r-thumb.c in
gcc/testsuite/gcc.target/arm/.
This seems to have started some time between 20120624 and 20120701. The test
suite results between those two dates show:
+FAIL: gcc.target/arm/ftest-armv6t2-thumb.c execution test
+FAIL: gcc.target/arm/ftest-armv7a-thumb.c execution test
+FAIL: gcc.target/arm/ftest-armv7r-thumb.c execution test
As the same time ARM's mmx-2.c test case started failing at compile-time:
+FAIL: gcc.target/arm/mmx-2.c (test for excess errors)
and a look in the detailed log show 100+ lines of warnings and errors related
to numerous __builtin_arm_${foo} not being recognized.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
@ 2012-08-16 11:06 ` rguenth at gcc dot gnu.org
2012-09-19 14:12 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-08-16 11:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
2012-08-16 11:06 ` [Bug testsuite/54139] " rguenth at gcc dot gnu.org
@ 2012-09-19 14:12 ` rguenth at gcc dot gnu.org
2012-10-23 16:36 ` ramana at gcc dot gnu.org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-19 14:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
Priority|P3 |P1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
2012-08-16 11:06 ` [Bug testsuite/54139] " rguenth at gcc dot gnu.org
2012-09-19 14:12 ` rguenth at gcc dot gnu.org
@ 2012-10-23 16:36 ` ramana at gcc dot gnu.org
2013-01-10 19:32 ` aldyh at gcc dot gnu.org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-10-23 16:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-23
CC| |ramana at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (2 preceding siblings ...)
2012-10-23 16:36 ` ramana at gcc dot gnu.org
@ 2013-01-10 19:32 ` aldyh at gcc dot gnu.org
2013-01-11 18:02 ` aldyh at gcc dot gnu.org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-01-10 19:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldyh at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org
|gnu.org |
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-10 19:31:42 UTC ---
I'll take a look.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (3 preceding siblings ...)
2013-01-10 19:32 ` aldyh at gcc dot gnu.org
@ 2013-01-11 18:02 ` aldyh at gcc dot gnu.org
2013-01-15 9:26 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-01-11 18:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-11 18:01:57 UTC ---
I have built a cross cc1/cc1plus with:
blah/configure --enable-languages=c,c++ --target=armv5tel-unknown-linux-gnueabi
but I get a totally different error on testsuite/gcc.target/arm/mmx-2.c, not
the unrecognized __builtin_arm* errors reported. I get an IRA ice:
cp /source_dir/gcc/testsuite/gcc.target/arm/mmx-2.c a.c
./cc1 -quiet -mcpu=iwmmxt -flax-vector-conversions -std=gnu99 a.c -I /tmp
a.c: In function 'foo':
a.c:166:1: internal compiler error: in find_costs_and_classes, at
ira-costs.c:1710
}
^
0x7a7fdf find_costs_and_classes
/source/gcc/gcc/ira-costs.c:1709
0x7a8147 ira_costs()
/source/gcc/gcc/ira-costs.c:2043
0x7a321c ira_build()
/source/gcc/gcc/ira-build.c:3195
0x79bc0b ira
/source/gcc/gcc/ira.c:4475
0x79bc0b rest_of_handle_ira
/source/gcc/gcc/ira.c:4709
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Unrecognized __builtin* sound like -mcpu=iwmmxt is not being passed to the
compiler command line.
Can you try "make check-gcc RUNTESTFLAGS=arm.exp" in your build/gcc directory
and attach the the entire gcc/testsuite/gcc/gcc.log file?
And just for kicks, could you include the result from:
/build_directory$ grep 'with options' config.status
and
/build_directory$ grep 'with options' gcc/config.status
This would help enormously, as I don't have an armv5tel machine to test on.
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (4 preceding siblings ...)
2013-01-11 18:02 ` aldyh at gcc dot gnu.org
@ 2013-01-15 9:26 ` jakub at gcc dot gnu.org
2013-01-15 15:49 ` aldyh at gcc dot gnu.org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-15 9:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-15 09:25:45 UTC ---
http://gcc.gnu.org/ml/gcc-testresults/2013-01/msg01425.html
as an example of armv5tel-*-linux-gnueabi shows
FAIL: gcc.target/arm/ftest-armv6t2-arm.c execution test
FAIL: gcc.target/arm/ftest-armv6t2-thumb.c execution test
FAIL: gcc.target/arm/ftest-armv7a-arm.c execution test
FAIL: gcc.target/arm/ftest-armv7a-thumb.c execution test
FAIL: gcc.target/arm/ftest-armv7r-arm.c execution test
FAIL: gcc.target/arm/ftest-armv7r-thumb.c execution test
(not sure on what hw has it been run) and
http://gcc.gnu.org/ml/gcc-testresults/2013-01/msg01494.html
(armv7hl-*-linux-gnueabi), which shows
FAIL: gcc.target/arm/ftest-armv4t-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv4t-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/ftest-armv5t-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv5t-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/ftest-armv5te-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv5te-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/ftest-armv6-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv6-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/ftest-armv6k-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv6k-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/ftest-armv6z-thumb.c (test for excess errors)
UNRESOLVED: gcc.target/arm/ftest-armv6z-thumb.c compilation failed to produce
executable
FAIL: gcc.target/arm/mmx-2.c (internal compiler error)
FAIL: gcc.target/arm/mmx-2.c (test for excess errors)
All these tests are new for 4.8 and all test new functionality in 4.8, so the
regression status (beyond having some extra FAILs) is questionable.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (5 preceding siblings ...)
2013-01-15 9:26 ` jakub at gcc dot gnu.org
@ 2013-01-15 15:49 ` aldyh at gcc dot gnu.org
2013-01-15 16:33 ` janis at gcc dot gnu.org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-01-15 15:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-15 15:49:04 UTC ---
Perhaps this is a duplicate of PR55780? If it is, there is already a proposed
patch here:
http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01339.html
which has been pinged here:
http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00749.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (6 preceding siblings ...)
2013-01-15 15:49 ` aldyh at gcc dot gnu.org
@ 2013-01-15 16:33 ` janis at gcc dot gnu.org
2013-01-15 16:50 ` aldyh at redhat dot com
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: janis at gcc dot gnu.org @ 2013-01-15 16:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Janis Johnson <janis at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu.org
--- Comment #5 from Janis Johnson <janis at gcc dot gnu.org> 2013-01-15 16:32:54 UTC ---
There are 3 separate problems described in this PR.
The first is about the effective target tests used by gcc.target/arm and is a
duplicate of PR55780.
The second, the ICE for test mmx-2.c, is described in PR54338.
The third is for failures like "FAIL: gcc.c-torture/execute/builtins/memset.c
compilation, -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects" that fail to
link due to multiple definitions of memset or strlen; I see this for
arm-none-eabi (and I think some other EABI targets) but not for GNU/Linux
targets. The same tests fail for GCC 4.7 so it's not a regression. I'll file
a PR if there isn't one already.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (7 preceding siblings ...)
2013-01-15 16:33 ` janis at gcc dot gnu.org
@ 2013-01-15 16:50 ` aldyh at redhat dot com
2013-01-15 16:52 ` aldyh at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at redhat dot com @ 2013-01-15 16:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
--- Comment #6 from Aldy Hernandez <aldyh at redhat dot com> 2013-01-15 16:49:24 UTC ---
> The third is for failures like "FAIL: gcc.c-torture/execute/builtins/memset.c
> compilation, -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects" that fail to
> link due to multiple definitions of memset or strlen; I see this for
> arm-none-eabi (and I think some other EABI targets) but not for GNU/Linux
> targets. The same tests fail for GCC 4.7 so it's not a regression. I'll file
> a PR if there isn't one already.
>
Janis, please do. This way we can close this PR as the duplicate of 3
individual PRs.
Thank you so much.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (8 preceding siblings ...)
2013-01-15 16:50 ` aldyh at redhat dot com
@ 2013-01-15 16:52 ` aldyh at gcc dot gnu.org
2013-01-15 17:12 ` janis at gcc dot gnu.org
2013-01-15 17:16 ` aldyh at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-01-15 16:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
--- Comment #7 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-15 16:51:54 UTC ---
Oh Janis, and when you do, please reference the new PR here so we can close
this PR in deference to those 3 individual PRs.
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (9 preceding siblings ...)
2013-01-15 16:52 ` aldyh at gcc dot gnu.org
@ 2013-01-15 17:12 ` janis at gcc dot gnu.org
2013-01-15 17:16 ` aldyh at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: janis at gcc dot gnu.org @ 2013-01-15 17:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
--- Comment #8 from Janis Johnson <janis at gcc dot gnu.org> 2013-01-15 17:11:40 UTC ---
The gcc.c-torture/execute/builtins failures with LTO options are now covered by
PR55994.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
` (10 preceding siblings ...)
2013-01-15 17:12 ` janis at gcc dot gnu.org
@ 2013-01-15 17:16 ` aldyh at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-01-15 17:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-15 17:15:23 UTC ---
Alright...so this is a duplicate of PR55780, PR54338, PR55994. Closing PR.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-01-15 17:16 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31 13:46 [Bug testsuite/54139] New: [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions mikpe at it dot uu.se
2012-08-16 11:06 ` [Bug testsuite/54139] " rguenth at gcc dot gnu.org
2012-09-19 14:12 ` rguenth at gcc dot gnu.org
2012-10-23 16:36 ` ramana at gcc dot gnu.org
2013-01-10 19:32 ` aldyh at gcc dot gnu.org
2013-01-11 18:02 ` aldyh at gcc dot gnu.org
2013-01-15 9:26 ` jakub at gcc dot gnu.org
2013-01-15 15:49 ` aldyh at gcc dot gnu.org
2013-01-15 16:33 ` janis at gcc dot gnu.org
2013-01-15 16:50 ` aldyh at redhat dot com
2013-01-15 16:52 ` aldyh at gcc dot gnu.org
2013-01-15 17:12 ` janis at gcc dot gnu.org
2013-01-15 17:16 ` aldyh 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).