public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big
@ 2009-08-24 6:23 raj dot khem at gmail dot com
2009-08-24 6:24 ` [Bug c/41151] " raj dot khem at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: raj dot khem at gmail dot com @ 2009-08-24 6:23 UTC (permalink / raw)
To: gcc-bugs
When compiling the test program
arm-none-linux-gnueabi-gcc -march=armv7-a -O2 -c -o ltest.o ltest.i
Assembler fails to assemble it and emits the error
Error: offset too big
If I do not use -march=armv7-a it works ok and also if I dont use O2 it
compiles fine.
--
Summary: Gas fails to consume the assembly Error: offset too big
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: raj dot khem at gmail dot com
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: arm-none-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/41151] Gas fails to consume the assembly Error: offset too big
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
@ 2009-08-24 6:24 ` raj dot khem at gmail dot com
2009-08-24 8:44 ` ramana at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: raj dot khem at gmail dot com @ 2009-08-24 6:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from raj dot khem at gmail dot com 2009-08-24 06:24 -------
Created an attachment (id=18417)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18417&action=view)
preprocessed testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/41151] Gas fails to consume the assembly Error: offset too big
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
2009-08-24 6:24 ` [Bug c/41151] " raj dot khem at gmail dot com
@ 2009-08-24 8:44 ` ramana at gcc dot gnu dot org
2009-08-24 21:18 ` raj dot khem at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-08-24 8:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ramana at gcc dot gnu dot org 2009-08-24 08:44 -------
Using binutils trunk as well as r150986 I can't reproduce this with -O2 and
-march=armv7-a.
--
ramana at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Summary|Gas fails to consume the |Gas fails to consume the
|assembly Error: offset too |assembly Error: offset too
|big |big
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/41151] Gas fails to consume the assembly Error: offset too big
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
2009-08-24 6:24 ` [Bug c/41151] " raj dot khem at gmail dot com
2009-08-24 8:44 ` ramana at gcc dot gnu dot org
@ 2009-08-24 21:18 ` raj dot khem at gmail dot com
2009-11-23 14:32 ` [Bug target/41151] " thiago at kde dot org
2009-12-11 18:10 ` ramana at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: raj dot khem at gmail dot com @ 2009-08-24 21:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from raj dot khem at gmail dot com 2009-08-24 21:17 -------
(In reply to comment #2)
> Using binutils trunk as well as r150986 I can't reproduce this with -O2 and
> -march=armv7-a.
>
I was using 2.18. I haven't tried 2.19 but it works ok with binutils from
cvs(updated from today)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/41151] Gas fails to consume the assembly Error: offset too big
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
` (2 preceding siblings ...)
2009-08-24 21:18 ` raj dot khem at gmail dot com
@ 2009-11-23 14:32 ` thiago at kde dot org
2009-12-11 18:10 ` ramana at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: thiago at kde dot org @ 2009-11-23 14:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from thiago at kde dot org 2009-11-23 14:32 -------
My experience:
gcc 4.4 + binutils 2.18.50.20070820 + no -march: ok
gcc 4.4 + binutils 2.18.50.20070820 + -march=armv7-a: error
gcc 4.4 + binutils 2.19.51.0.2.20090204: ok in both cases
The instruction I had problems with was:
movw r1, #:lower16:_ZL18qt_resource_struct
My guess is that gcc started generating these instructions for newer ARM
models, but binutils 2.18 couldn't consume them properly. But since it works
with a newer binutils, my guess is that the problem is fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/41151] Gas fails to consume the assembly Error: offset too big
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
` (3 preceding siblings ...)
2009-11-23 14:32 ` [Bug target/41151] " thiago at kde dot org
@ 2009-12-11 18:10 ` ramana at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-12-11 18:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ramana at gcc dot gnu dot org 2009-12-11 18:10 -------
Needed an update to a newer version of binutils. Invalid.
--
ramana at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-12-11 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-24 6:23 [Bug c/41151] New: Gas fails to consume the assembly Error: offset too big raj dot khem at gmail dot com
2009-08-24 6:24 ` [Bug c/41151] " raj dot khem at gmail dot com
2009-08-24 8:44 ` ramana at gcc dot gnu dot org
2009-08-24 21:18 ` raj dot khem at gmail dot com
2009-11-23 14:32 ` [Bug target/41151] " thiago at kde dot org
2009-12-11 18:10 ` ramana 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).