[uClinux-dev] address error

John D. Charlton j.d.charlton at ieee.org
Thu Nov 1 11:17:43 EST 2001


David,

I removed the -msoft-float but am still getting the same crash problem.  I 
must be adding or missing another switch.  I am using the crt0.o and libc.a 
that comes with the uClinux-distribution-20010622.tar.gz which is different 
than the one that comes with the m68k-elf-tools-20010716.tar.gz.  I assume I 
am to use the one that comes with the uClinux-distribution since that is the 
one that the userland apps use in the uClinux-distribution and they work.

--John

make -k
m68k-elf-gcc -m68000 -Os -g -fomit-frame-pointer -DCONFIG_LINEO   -Dlinux 
-D__linux__ -Dunix -D__uClinux__ -DEMBED -fno-builtin -msep-data -I. -I 
/opt/uClinux/linux-2.4.x/include -I /opt/uClinux/lib/libc/include -o testFP 
testFP.c -Wl,-elf2flt -nostartfiles /opt/uClinux/lib/libc/crt0.o 
/opt/uClinux/lib/libc/libc.a -L/opt/uClinux/lib/libc 
-L/usr/local/lib/gcc-lib/m68k-elf/2.95.3/m68000/msep-data -lgcc


# ./testFP
address error
PC[0014d046] SSP[00151ff0] USP[0014bf8c]     BootstrapSP[0001ffb6]

    D0       D1       D2       D3       D4       D5       D6       D7   
00000000 000b52e0 000a0404 000a0398 000a03e8 0014a000 00000001 00000000 
    A0       A1       A2       A3       A4       A5       A6   
000b45e1 000a03ea 000b4af4 000b52e9 000b47d0 000b4000 10d2f450 
B$ 


On Wednesday 31 October 2001 22:54, you wrote:
> John,
>
> Do not use -msoft-float,  it will break your build by actually generating
> 68020 code,  the -m68000 implies soft float because it never had hard
> float ;-)
>
> Cheers,
> Davidm
>
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list