public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43469] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
@ 2010-03-21 19:05 ` siarhei dot siamashka at gmail dot com
  2010-03-21 19:07 ` siarhei dot siamashka at gmail dot com
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: siarhei dot siamashka at gmail dot com @ 2010-03-21 19:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from siarhei dot siamashka at gmail dot com  2010-03-21 19:05 -------
Created an attachment (id=20152)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20152&action=view)
localealias.i


-- 


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


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

* [Bug c/43469]  New: ICE trying to compile glibc for ARM thumb2
@ 2010-03-21 19:05 siarhei dot siamashka at gmail dot com
  2010-03-21 19:05 ` [Bug c/43469] " siarhei dot siamashka at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: siarhei dot siamashka at gmail dot com @ 2010-03-21 19:05 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

========= the exact version of GCC

Freshly checked out SVN trunk for gcc 4.5.0 (r157602)

========= the options given when GCC was configured/built;

--target=armv7a-unknown-linux-gnueabi --enable-languages=c --without-headers

========= the complete command line that triggers the bug;

armv7a-unknown-linux-gnueabi-gcc -mcpu=cortex-a8 -mthumb -O1 -c localealias.i

========= the compiler output (error messages, warnings, etc.);

localealias.c: In function ‘read_alias_file’:
localealias.c:362:1: error: unrecognizable insn:
(insn 863 209 212 7 ../include/ctype.h:30 (set (const:SI (unspec:SI [
                    (symbol_ref:SI ("__libc_tsd_CTYPE_B") [flags 0xe0]
<var_decl 0xfff95204b40 __libc_tsd_CTYPE_B>)
                    (const_int 3 [0x3])
                    (const (unspec:SI [
                                (const_int 2 [0x2])
                            ] 21))
                    (const_int 4 [0x4])
                ] 20))
        (reg:SI 10 sl)) -1 (nil))
localealias.c:362:1: internal compiler error: in extract_insn, at recog.c:2097
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE trying to compile glibc for ARM thumb2
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: siarhei dot siamashka at gmail dot com
GCC target triplet: armv7a-unknown-linux-gnueabi


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


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

* [Bug c/43469] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
  2010-03-21 19:05 ` [Bug c/43469] " siarhei dot siamashka at gmail dot com
@ 2010-03-21 19:07 ` siarhei dot siamashka at gmail dot com
  2010-03-22  8:56 ` [Bug c/43469] [4.5 Regression] " ramana at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: siarhei dot siamashka at gmail dot com @ 2010-03-21 19:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from siarhei dot siamashka at gmail dot com  2010-03-21 19:07 -------
works fine with gcc 4.4.3


-- 


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


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

* [Bug c/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
  2010-03-21 19:05 ` [Bug c/43469] " siarhei dot siamashka at gmail dot com
  2010-03-21 19:07 ` siarhei dot siamashka at gmail dot com
@ 2010-03-22  8:56 ` ramana at gcc dot gnu dot org
  2010-03-22  9:11 ` ramana at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-03-22  8:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-22 08:56:27
               date|                            |
            Summary|ICE trying to compile glibc |[4.5 Regression] ICE trying
                   |for ARM thumb2              |to compile glibc for ARM
                   |                            |thumb2


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


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

* [Bug c/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (2 preceding siblings ...)
  2010-03-22  8:56 ` [Bug c/43469] [4.5 Regression] " ramana at gcc dot gnu dot org
@ 2010-03-22  9:11 ` ramana at gcc dot gnu dot org
  2010-03-22  9:57 ` [Bug target/43469] " rguenth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-03-22  9:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ramana at gcc dot gnu dot org  2010-03-22 09:11 -------
Created an attachment (id=20156)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20156&action=view)
Reduced testcase.

Reduced testcase. 


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20152|0                           |1
        is obsolete|                            |


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (3 preceding siblings ...)
  2010-03-22  9:11 ` ramana at gcc dot gnu dot org
@ 2010-03-22  9:57 ` rguenth at gcc dot gnu dot org
  2010-03-23 13:41 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-22  9:57 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rguenth at gcc dot gnu dot  |
                   |org                         |
          Component|c                           |target
   Target Milestone|---                         |4.5.0


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (4 preceding siblings ...)
  2010-03-22  9:57 ` [Bug target/43469] " rguenth at gcc dot gnu dot org
@ 2010-03-23 13:41 ` rguenth at gcc dot gnu dot org
  2010-03-23 14:14 ` tschwinge at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-23 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-03-23 13:41 -------
Not exactly a primary or secondary target.  CCing maintainer.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (5 preceding siblings ...)
  2010-03-23 13:41 ` rguenth at gcc dot gnu dot org
@ 2010-03-23 14:14 ` tschwinge at gcc dot gnu dot org
  2010-03-24  0:12 ` rearnsha at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tschwinge at gcc dot gnu dot org @ 2010-03-23 14:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tschwinge at gcc dot gnu dot org  2010-03-23 14:14 -------
Also got hit by this.


-- 

tschwinge at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tschwinge at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2010-03-22 08:56:27         |2010-03-23 14:14:37
               date|                            |


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (6 preceding siblings ...)
  2010-03-23 14:14 ` tschwinge at gcc dot gnu dot org
@ 2010-03-24  0:12 ` rearnsha at gcc dot gnu dot org
  2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-03-24  0:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rearnsha at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-03-23 14:14:37         |2010-03-24 00:12:06
               date|                            |


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (7 preceding siblings ...)
  2010-03-24  0:12 ` rearnsha at gcc dot gnu dot org
@ 2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
  2010-03-31 22:50 ` siarhei dot siamashka at gmail dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-26 15:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (8 preceding siblings ...)
  2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
@ 2010-03-31 22:50 ` siarhei dot siamashka at gmail dot com
  2010-03-31 22:55 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: siarhei dot siamashka at gmail dot com @ 2010-03-31 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from siarhei dot siamashka at gmail dot com  2010-03-31 22:50 -------
(In reply to comment #4)
> Not exactly a primary or secondary target.  CCing maintainer.

I have been trying to find a complete list of gcc primary and secondary targets
with no luck so far. But at least this this post refers to 'arm-eabi' as a
primary target: http://gcc.gnu.org/ml/gcc/2010-03/msg00175.html

This bug is also reproducible with 'arm-eabi' target triplet. Sorry for stating
the obvious, but arm thumb2 support is getting pretty interesting nowadays and
for example ubuntu is switching to it for the whole distro.


-- 

siarhei dot siamashka at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|armv7a-unknown-linux-gnueabi|armv7a-unknown-linux-
                   |                            |gnueabi, arm-eabi


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (9 preceding siblings ...)
  2010-03-31 22:50 ` siarhei dot siamashka at gmail dot com
@ 2010-03-31 22:55 ` steven at gcc dot gnu dot org
  2010-04-02  8:32 ` rearnsha at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-03-31 22:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from steven at gcc dot gnu dot org  2010-03-31 22:55 -------
Primary/secondary targets are listed on
http://gcc.gnu.org/gcc-4.5/criteria.html. That list should probably be
clarified for GCC 4.6 to explain what arm-eabi means, exactly. It makes little
sense to me, to make arm-eabi a primary target but dropping thumb2 bugs off the
P1-P3 list.

Anyway, also reproducible on arm-eabi, so it should be >= P3 anyway.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P4                          |P3


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (10 preceding siblings ...)
  2010-03-31 22:55 ` steven at gcc dot gnu dot org
@ 2010-04-02  8:32 ` rearnsha at gcc dot gnu dot org
  2010-04-02  8:37 ` rearnsha at gcc dot gnu dot org
  2010-04-03 15:19 ` tschwinge at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-04-02  8:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rearnsha at gcc dot gnu dot org  2010-04-02 08:32 -------
Subject: Bug 43469

Author: rearnsha
Date: Fri Apr  2 08:32:00 2010
New Revision: 157942

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157942
Log:
        PR target/43469
        * arm.c (legitimize_tls_address): Adjust call to 
        gen_tls_load_dot_plus_four.
        (arm_note_pic_base): New function.
        (arm_cannot_copy_insn_p): Use it.
        * thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in
        constraint.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/thumb2.md


-- 


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (11 preceding siblings ...)
  2010-04-02  8:32 ` rearnsha at gcc dot gnu dot org
@ 2010-04-02  8:37 ` rearnsha at gcc dot gnu dot org
  2010-04-03 15:19 ` tschwinge at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-04-02  8:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rearnsha at gcc dot gnu dot org  2010-04-02 08:36 -------
Fixed


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2
  2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
                   ` (12 preceding siblings ...)
  2010-04-02  8:37 ` rearnsha at gcc dot gnu dot org
@ 2010-04-03 15:19 ` tschwinge at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: tschwinge at gcc dot gnu dot org @ 2010-04-03 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from tschwinge at gcc dot gnu dot org  2010-04-03 15:18 -------
Confirmed.


-- 

tschwinge at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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

end of thread, other threads:[~2010-04-03 15:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-21 19:05 [Bug c/43469] New: ICE trying to compile glibc for ARM thumb2 siarhei dot siamashka at gmail dot com
2010-03-21 19:05 ` [Bug c/43469] " siarhei dot siamashka at gmail dot com
2010-03-21 19:07 ` siarhei dot siamashka at gmail dot com
2010-03-22  8:56 ` [Bug c/43469] [4.5 Regression] " ramana at gcc dot gnu dot org
2010-03-22  9:11 ` ramana at gcc dot gnu dot org
2010-03-22  9:57 ` [Bug target/43469] " rguenth at gcc dot gnu dot org
2010-03-23 13:41 ` rguenth at gcc dot gnu dot org
2010-03-23 14:14 ` tschwinge at gcc dot gnu dot org
2010-03-24  0:12 ` rearnsha at gcc dot gnu dot org
2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
2010-03-31 22:50 ` siarhei dot siamashka at gmail dot com
2010-03-31 22:55 ` steven at gcc dot gnu dot org
2010-04-02  8:32 ` rearnsha at gcc dot gnu dot org
2010-04-02  8:37 ` rearnsha at gcc dot gnu dot org
2010-04-03 15:19 ` tschwinge at gcc dot gnu dot 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).