GCC 4.1.1 m68k-rtems generating invalid code for -m5307 processor ?

Ian Caddy ianc at goanna.iinet.net.au
Mon Jun 25 22:41:02 UTC 2007


Hi Chris,


Chris Johns wrote:
> Ian Caddy wrote:
>> Hi Kevin,
>>
>> We also use the 5307 for our system, and are currently using gcc 4.1.1 
>> and we don't see your problem.
>>

<snip>

> 
>> You indicated that you built your tools.  Have you tried the standard 
>> toolsets from the RTEMS website?
> 
> The rpms on the RTEMS build machine show:
> 
> [chrisjohns at england build]$ ls /opt/rtems-4.7/m68k-rtems4.7/lib/
> crt0.o  ldscripts  libc.a  libg.a  libm.a  m5200  m68000  m68030  m68040 
> m68060  mcpu32  msoft-float
> [chrisjohns at england build]$ ls /opt/rtems-4.8/m68k-rtems4.8/lib/
> crt0.o  ldscripts  libc.a  libg.a  libm.a  m5200  m68000  m68030  m68040 
> m68060  mcpu32  msoft-float
> 
> No V3 specific builds in the released tool sets.
> 

Oops, bit slow off the mark as I just got back from overseas.  We also 
roll our own tools for use under msys, and it was a while ago and forgot 
that the standard toolchain is not built with m5307 support!

I agree that it looks like a 68020 instruction, so we need to check the 
build commands.

Kevin, you indicated in your first email that you created a new BSP. 
Would you mind sharing your config file from the rtems-4.7/make/custom 
directory so we can check your build options?

regards,

Ian Caddy

-- 
Ian Caddy
Goanna Technologies Pty Ltd
+61 8 9221 1860




More information about the users mailing list