public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35073]  New: illegal opcode movw for mcu avr3
@ 2008-02-04  9:15 corsepiu at gcc dot gnu dot org
  2008-02-08 11:27 ` [Bug target/35073] " rguenth at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2008-02-04  9:15 UTC (permalink / raw)
  To: gcc-bugs

Building/bootstrapping today's gcc-trunk (rev. 132088/2008-02-04) for
avr-rtems4.9 fails
with:
...
/users/rtems/src/toolchains/BUILD/avr-rtems4.9/./gcc/xgcc
-B/users/rtems/src/toolchains/BUILD/avr-rtems4.9/./gcc/ -nostdinc
-B/users/rtems/src/toolchains/BUILD/avr-rtems4.9/avr-rtems4.9/newlib/ -isystem
/users/rtems/src/toolchains/BUILD/avr-rtems4.9/avr-rtems4.9/newlib/targ-include
-isystem /users/rtems/src/toolchains/gcc-trunk/newlib/libc/include
-B/opt/rtems-4.9/avr-rtems4.9/bin/ -B/opt/rtems-4.9/avr-rtems4.9/lib/ -isystem
/opt/rtems-4.9/avr-rtems4.9/include -isystem
/opt/rtems-4.9/avr-rtems4.9/sys-include -O2 -g -g -O2 -mmcu=avr35 -O2
-I../../../gcc-trunk/gcc/../newlib/libc/sys/rtems/include -O2 -g -g -O2  
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -DDF=SF -Dinhibit_libc -mcall-prologues -Os -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I../../../../../gcc-trunk/libgcc -I../../../../../gcc-trunk/libgcc/.
-I../../../../../gcc-trunk/libgcc/../gcc
-I../../../../../gcc-trunk/libgcc/../include   -o _mulsi3.o -MT _mulsi3.o -MD
-MP -MF _mulsi3.dep -DL_mulsi3 -xassembler-with-cpp \
          -c ../../../../../gcc-trunk/libgcc/../gcc/config/avr/libgcc.S
../../../../../gcc-trunk/libgcc/../gcc/config/avr/libgcc.S: Assembler messages:
../../../../../gcc-trunk/libgcc/../gcc/config/avr/libgcc.S:281: Error: illegal
opcode movw for mcu avr3
../../../../../gcc-trunk/libgcc/../gcc/config/avr/libgcc.S:283: Error: illegal
opcode movw for mcu avr3
make[4]: *** [_mulsi3.o] Error 1
make[4]: Leaving directory
`/users/rtems/src/toolchains/BUILD/avr-rtems4.9/avr-rtems4.9/avr35/libgcc'


-- 
           Summary: illegal opcode movw for mcu avr3
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: corsepiu at gcc dot gnu dot org
GCC target triplet: avr-rtems*


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
@ 2008-02-08 11:27 ` rguenth at gcc dot gnu dot org
  2008-02-11 14:50 ` joel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-08 11:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-08 11:26 -------
*** Bug 35128 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Rudolf dot Leitgeb at gmx
                   |                            |dot at


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
  2008-02-08 11:27 ` [Bug target/35073] " rguenth at gcc dot gnu dot org
@ 2008-02-11 14:50 ` joel at gcc dot gnu dot org
  2008-02-11 16:45 ` manu at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: joel at gcc dot gnu dot org @ 2008-02-11 14:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from joel at gcc dot gnu dot org  2008-02-11 14:49 -------
Sent privately... wanted to log this .. untested at this point.

Please excuse me, I could not reply earlier.

Use patch for binutils:
http://sourceware.org/ml/binutils/2008-01/msg00037.html

Anatoly.


-- 


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
  2008-02-08 11:27 ` [Bug target/35073] " rguenth at gcc dot gnu dot org
  2008-02-11 14:50 ` joel at gcc dot gnu dot org
@ 2008-02-11 16:45 ` manu at gcc dot gnu dot org
  2008-02-11 17:18 ` corsepiu at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-02-11 16:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2008-02-11 16:44 -------
This seems confirmed


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-11 16:44:30
               date|                            |


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-02-11 16:45 ` manu at gcc dot gnu dot org
@ 2008-02-11 17:18 ` corsepiu at gcc dot gnu dot org
  2008-02-11 17:49 ` Rudolf dot Leitgeb at gmx dot at
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2008-02-11 17:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from corsepiu at gcc dot gnu dot org  2008-02-11 17:17 -------
The binutils patch mentioned in comment#2 seems to fix this issue.

Today's gcc-trunk using binutils-2.18 with the patch applied doesn't expose
this breakdown anymore.

=> The cause for this breakdown was using insufficient binutils.
   Bootstrapping/building gcc-4.3 for the avr requires binutils > 2.18.


-- 


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-02-11 17:18 ` corsepiu at gcc dot gnu dot org
@ 2008-02-11 17:49 ` Rudolf dot Leitgeb at gmx dot at
  2008-02-11 19:26 ` Rudolf dot Leitgeb at gmx dot at
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Rudolf dot Leitgeb at gmx dot at @ 2008-02-11 17:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from Rudolf dot Leitgeb at gmx dot at  2008-02-11 17:48 -------
Subject: Re:  illegal opcode movw for mcu avr3

Please note, that this bug is also apparent in the production
version of gcc 4.2.3. This is the specific reason why I posted
a supposed copy of the original bug report: the original bug
report mentioned version 4.3, and I was unable to add version 4.2.3
to the list of affected gcc releases.

Hopefully I can get around to try out the patch tonight. Please
note that while it's perfectly acceptable for a snapshot release
like gcc 4.3 to require patched binutils, this should not happen
for a standard release version of gcc IMHO. AFAIK there is no
binutils production release newer than 2.18 at the moment.

Cheers,

Rudi

Am 11.02.2008 um 18:17 schrieb corsepiu at gcc dot gnu dot org:

>
>
> ------- Comment #4 from corsepiu at gcc dot gnu dot org  2008-02-11  
> 17:17 -------
> The binutils patch mentioned in comment#2 seems to fix this issue.
>
> Today's gcc-trunk using binutils-2.18 with the patch applied  
> doesn't expose
> this breakdown anymore.
>
> => The cause for this breakdown was using insufficient binutils.
>    Bootstrapping/building gcc-4.3 for the avr requires binutils >  
> 2.18.
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35073
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.


-- 


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-02-11 17:49 ` Rudolf dot Leitgeb at gmx dot at
@ 2008-02-11 19:26 ` Rudolf dot Leitgeb at gmx dot at
  2008-02-11 22:50 ` eric dot weddington at atmel dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Rudolf dot Leitgeb at gmx dot at @ 2008-02-11 19:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from Rudolf dot Leitgeb at gmx dot at  2008-02-11 19:25 -------
I just tried the suggested patch against binutils 2.18, gcc 4.2.3 still does
not compile. Also, the suggested patch does not apply cleanly against 2.18,
although this only affects a .texi file which is not needed for compilation. It
does indicate, though, that the patch wa snot meant for binutils 2.18 but some
preversion of binutils 2.19 instead.

I hope this new version comes of binutils out soon, since 2.18 doesn't know of
a platform avr35 :-( Hence gcc 4.2.3 uses avr3 which causes touble.

Note: I don't fully understand why the patch doesn't work. I clearly see a line
which defines the AVR3 platform to support MOVW, I did a make clean && make &&
make install of the manually patched binutils before trying gcc again (also
with make clean && configure --target=avr && make)

Maybe I have to wait for binutils 2.19 before this gets cleared up ...


-- 


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-02-11 19:26 ` Rudolf dot Leitgeb at gmx dot at
@ 2008-02-11 22:50 ` eric dot weddington at atmel dot com
  2008-03-09  5:44 ` eric dot weddington at atmel dot com
  2008-07-19 13:06 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-02-11 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from eric dot weddington at atmel dot com  2008-02-11 22:50 -------
You can also try the patch set for binutils 2.18 at the WinAVR project's CVS:
<http://winavr.cvs.sourceforge.net/winavr/>. Under the "patches" module.


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric dot weddington at atmel
                   |                            |dot com


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-02-11 22:50 ` eric dot weddington at atmel dot com
@ 2008-03-09  5:44 ` eric dot weddington at atmel dot com
  2008-07-19 13:06 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-03-09  5:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from eric dot weddington at atmel dot com  2008-03-09 05:43 -------
*** Bug 35506 has been marked as a duplicate of this bug. ***


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmixm at marine dot febras
                   |                            |dot ru


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
  2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-03-09  5:44 ` eric dot weddington at atmel dot com
@ 2008-07-19 13:06 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-07-19 13:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from eric dot weddington at atmel dot com  2008-07-19 13:05 -------
*** Bug 36845 has been marked as a duplicate of this bug. ***


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zoltan at bendor dot com dot
                   |                            |au


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


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

* [Bug target/35073] illegal opcode movw for mcu avr3
       [not found] <bug-35073-4@http.gcc.gnu.org/bugzilla/>
  2011-04-21 10:32 ` gjl at gcc dot gnu.org
@ 2014-02-16 13:15 ` jackie.rosen at hushmail dot com
  1 sibling, 0 replies; 12+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #11 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


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

* [Bug target/35073] illegal opcode movw for mcu avr3
       [not found] <bug-35073-4@http.gcc.gnu.org/bugzilla/>
@ 2011-04-21 10:32 ` gjl at gcc dot gnu.org
  2014-02-16 13:15 ` jackie.rosen at hushmail dot com
  1 sibling, 0 replies; 12+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-21 10:32 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |gjl at gcc dot gnu.org
      Known to work|                            |4.7.0
         Resolution|                            |FIXED
      Known to fail|                            |

--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-04-21 10:29:55 UTC ---
Closed as resolved+fixed.

avr-gcc builds fine as of 4.7.0 snapshot from 2011-04-16.

Both avr-binutils 2.20 and 2.21 work.


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

end of thread, other threads:[~2014-02-16 13:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04  9:15 [Bug target/35073] New: illegal opcode movw for mcu avr3 corsepiu at gcc dot gnu dot org
2008-02-08 11:27 ` [Bug target/35073] " rguenth at gcc dot gnu dot org
2008-02-11 14:50 ` joel at gcc dot gnu dot org
2008-02-11 16:45 ` manu at gcc dot gnu dot org
2008-02-11 17:18 ` corsepiu at gcc dot gnu dot org
2008-02-11 17:49 ` Rudolf dot Leitgeb at gmx dot at
2008-02-11 19:26 ` Rudolf dot Leitgeb at gmx dot at
2008-02-11 22:50 ` eric dot weddington at atmel dot com
2008-03-09  5:44 ` eric dot weddington at atmel dot com
2008-07-19 13:06 ` eric dot weddington at atmel dot com
     [not found] <bug-35073-4@http.gcc.gnu.org/bugzilla/>
2011-04-21 10:32 ` gjl at gcc dot gnu.org
2014-02-16 13:15 ` jackie.rosen at hushmail dot com

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).