[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#188513: gcc generates invalid assembler on arm



Please can you recheck with g++-3.3?

Eric Schwartz writes:
> Package: gcc-3.2
> Version: 3.2.3-0pre7
> 
> When the buildds try to compile gforth for arm, I get the following  
> error messages:
> 
> gcc  -I./../arch/generic -I. -O2 -Wall -g -O2 -DHAVE_CONFIG_H  
> -DDEFAULTPATH=\".:/usr/lib/gforth/site-forth:/usr/share/gforth/site- 
> forth:/usr/lib/gforth/0.6.1:/usr/share/gforth/0.6.1\" -fno-gcse  
> -fno-strict-aliasing -fno-defer-pop -fcaller-saves -DGFORTH_DEBUGGING  
> -DENGINE=2 -o engine2.o -c ./engine.c
> In file included from engine.c:23:
> forth.h:186:2: warning: #warning flush-icache probably will not work  
> (see manual)
> forth.h:188:2: warning: #warning no FLUSH_ICACHE, turning off dynamic  
> native code by default
> In file included from engine.c:32:
> threaded.h:222:2: warning: #warning direct threading scheme 6: long  
> latency, cfa dead
> /tmp/cchEYzjY.s: Assembler messages:
> /tmp/cchEYzjY.s:5056: Warning: source register same as write-back base
> /tmp/cchEYzjY.s:5148: Error: bad immediate value for offset (4116)
> /tmp/cchEYzjY.s:5166: Error: bad immediate value for offset (4152)
> /tmp/cchEYzjY.s:5170: Error: bad immediate value for offset (4156)
> /tmp/cchEYzjY.s:5193: Error: bad immediate value for offset (4208)
> /tmp/cchEYzjY.s:5197: Error: bad immediate value for offset (4212)
> /tmp/cchEYzjY.s:5218: Error: bad immediate value for offset (4108)
> /tmp/cchEYzjY.s:5222: Error: bad immediate value for offset (4104)
> /tmp/cchEYzjY.s:9304: Error: bad immediate value for offset (4164)
> /tmp/cchEYzjY.s:9329: Error: bad immediate value for offset (4216)
> /tmp/cchEYzjY.s:9351: Error: bad immediate value for offset (4260)
> /tmp/cchEYzjY.s:9373: Error: bad immediate value for offset (4304)
> /tmp/cchEYzjY.s:9395: Error: bad immediate value for offset (4304)
> /tmp/cchEYzjY.s:9417: Error: bad immediate value for offset (4260)
> /tmp/cchEYzjY.s:9439: Error: bad immediate value for offset (4216)
> /tmp/cchEYzjY.s:9461: Error: bad immediate value for offset (4172)
> /tmp/cchEYzjY.s:9483: Error: bad immediate value for offset (4128)
> 
> This only happens on arm; all other arches are fine.  I've tried with  
> -O2, -O1, -O0; the only thing that changes is how many of those errors  
> I see.



Reply to: