Re: coldfire and soft-float

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

 



The issue (unresolved __umoddi3 /( __udivi3) is a kernel trouble:

http://bbs.archlinux.org/viewtopic.php?id=46528

Kai, thanks again! you help is been fundamental!

ciao

luigi


> > > > 
> > > > The target m68k-*-linux* doesn't set any tmake_file... I think that the
> > > > following should be added :
> > > > 
> > > >         tmake_file="m68k/t-floatlib m68k/t-mlibs m68k/t-m68kbare"
> 
> I modified this to:
> 
>     tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs"
> 
> and the compilation seems to be ok...
> 
> Now I'm this error in Kernel building:
> 
> kernel/built-in.o: In function `timespec_add_ns':
> /mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/include/linux/time.h:177: undefined reference to `__umoddi3'
> /mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/include/linux/time.h:177: undefined reference to `__udivdi3'
> make[5]: *** [.tmp_vmlinux1] Error 1
> make[5]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23'
> make[4]: *** [/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/.image] Error 2
> make[4]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git/target/linux/cf547x'
> make[3]: *** [install] Error 2
> make[3]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git/target/linux'
> make[2]: *** [target/linux/install] Error 2
> make[2]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git'
> make[1]: *** [/mnt/devel/openwrt/OpenWRT.git/staging_dir/m68k/stamp/.target_install] Error 2
> make[1]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git'
> make: *** [world] Error 2
> comio@cartesio:/mnt/devel/openwrt/OpenWRT.git$ cd /mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/
> comio@cartesio:/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23$ mc
> 

-- 
     ______       Luigi Mantellini
   .'______'.     R&D - Software
  (.'      '.)    Industrie Dial Face S.p.A.
  ( :=----=: )    Via Canzo, 4
  ('.______.')    20068 Peschiera Borromeo (MI), Italy
   '.______.'     Tel.: +39 02 5167 2813
                  Fax:  +39 02 5167 2459
Ind.  Dial Face   Email: luigi.mantellini@xxxxxxxxxxx
www.idf-hit.com   GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
                                   B003 175F E979 907E 1650





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux