public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25720] New: Compilation error in gcc-4.0.2
@ 2006-01-09 6:39 bhanu dot bachu at catalytic dot com
2006-01-09 10:05 ` [Bug c/25720] " rguenth at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bhanu dot bachu at catalytic dot com @ 2006-01-09 6:39 UTC (permalink / raw)
To: gcc-bugs
Took the tarball gcc-4.0.2 and extracted. Configured using the below command.
configure --target=avr --enable-languages=c
Did a "make", got the compilation errors. Below are the errors I got.
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/bhanup/STKgcc/gcc/xgcc -B/home/bhanup/STKgcc/gcc/
-B/home/bhanup/4.0.2gcc/avr/bin/ -B/home/bhanup/4.0.2gcc/avr/lib/ -isystem
/home/bhanup/4.0.2gcc/avr/include -isystem
/home/bhanup/4.0.2gcc/avr/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -DDF=SF -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../gcc-4.0.2/gcc
-I../gcc-4.0.2/gcc/. -I../gcc-4.0.2/gcc/../include
-I../gcc-4.0.2/gcc/../libcpp/include -DL_mulqi3 -xassembler-with-cpp -c
../gcc-4.0.2/gcc/config/avr/libgcc.S -o libgcc/./_mulqi3.o
../gcc-4.0.2/gcc/config/avr/libgcc.S: Assembler messages:
../gcc-4.0.2/gcc/config/avr/libgcc.S:72: Error: suffix or operands invalid for
`clr'
../gcc-4.0.2/gcc/config/avr/libgcc.S:72: Error: no such instruction: `clear
result'
../gcc-4.0.2/gcc/config/avr/libgcc.S:74: Error: no such instruction: `sbrc
r24,0'
../gcc-4.0.2/gcc/config/avr/libgcc.S:75: Error: too many memory references for
`add'
../gcc-4.0.2/gcc/config/avr/libgcc.S:76: Error: too many memory references for
`add'
../gcc-4.0.2/gcc/config/avr/libgcc.S:76: Error: no such instruction: `shift
multiplicand'
../gcc-4.0.2/gcc/config/avr/libgcc.S:77: Error: no such instruction: `breq
__mulqi3_exit'
../gcc-4.0.2/gcc/config/avr/libgcc.S:77: Error: no such instruction: `while
multiplicand!=0'
../gcc-4.0.2/gcc/config/avr/libgcc.S:78: Error: no such instruction: `lsr r24'
../gcc-4.0.2/gcc/config/avr/libgcc.S:79: Error: no such instruction: `brne
__mulqi3_loop'
../gcc-4.0.2/gcc/config/avr/libgcc.S:79: Error: no such instruction: `exit if
multiplier=0'
../gcc-4.0.2/gcc/config/avr/libgcc.S:81: Error: too many memory references for
`mov'
../gcc-4.0.2/gcc/config/avr/libgcc.S:81: Error: no such instruction: `result to
return register'
make[2]: *** [libgcc/./_mulqi3.o] Error 1
make[2]: Leaving directory `/home/bhanup/STKgcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/bhanup/STKgcc/gcc'
make: *** [all-gcc] Error 2
--
Summary: Compilation error in gcc-4.0.2
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bhanu dot bachu at catalytic dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25720
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/25720] Compilation error in gcc-4.0.2
2006-01-09 6:39 [Bug c/25720] New: Compilation error in gcc-4.0.2 bhanu dot bachu at catalytic dot com
@ 2006-01-09 10:05 ` rguenth at gcc dot gnu dot org
2006-01-19 16:18 ` eweddington at cso dot atmel dot com
2006-01-26 12:35 ` denisc at overta dot ru
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-01-09 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-01-09 10:05 -------
I can only guess your host arch is i686. As it fails assembling libgcc, I
guess you don't have a target assembler installed. Check your configure
output.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
GCC build triplet| |i686-pc-linux-gnu
GCC host triplet| |i686-pc-linux-gnu
GCC target triplet| |avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25720
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/25720] Compilation error in gcc-4.0.2
2006-01-09 6:39 [Bug c/25720] New: Compilation error in gcc-4.0.2 bhanu dot bachu at catalytic dot com
2006-01-09 10:05 ` [Bug c/25720] " rguenth at gcc dot gnu dot org
@ 2006-01-19 16:18 ` eweddington at cso dot atmel dot com
2006-01-26 12:35 ` denisc at overta dot ru
2 siblings, 0 replies; 4+ messages in thread
From: eweddington at cso dot atmel dot com @ 2006-01-19 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from eweddington at cso dot atmel dot com 2006-01-19 16:18 -------
I would concur with Richard. The fact that you're getting "no such instruction"
points to an issue with the assembler, and that you probably don't have a
target assembler (AVR assembler) installed, or you forgot to put the assembler
directory in your path.
Also, I have successfully build GCC 4.0.2 for the AVR target for MinGW host.
Could somebody with the correct permissions change the severity of this bug
from "blocker" to "normal"?
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eweddington at cso dot atmel
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25720
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/25720] Compilation error in gcc-4.0.2
2006-01-09 6:39 [Bug c/25720] New: Compilation error in gcc-4.0.2 bhanu dot bachu at catalytic dot com
2006-01-09 10:05 ` [Bug c/25720] " rguenth at gcc dot gnu dot org
2006-01-19 16:18 ` eweddington at cso dot atmel dot com
@ 2006-01-26 12:35 ` denisc at overta dot ru
2 siblings, 0 replies; 4+ messages in thread
From: denisc at overta dot ru @ 2006-01-26 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from denisc at overta dot ru 2006-01-26 12:35 -------
Done.
--
denisc at overta dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25720
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-26 12:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-09 6:39 [Bug c/25720] New: Compilation error in gcc-4.0.2 bhanu dot bachu at catalytic dot com
2006-01-09 10:05 ` [Bug c/25720] " rguenth at gcc dot gnu dot org
2006-01-19 16:18 ` eweddington at cso dot atmel dot com
2006-01-26 12:35 ` denisc at overta dot ru
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).