public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36559]  New: Softfloat library support absent for Coldfire
@ 2008-06-17 21:18 luigi dot mantellini at idf-hit dot com
  2008-06-17 21:58 ` [Bug target/36559] " luigi dot mantellini at idf-hit dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-17 21:18 UTC (permalink / raw)
  To: gcc-bugs

Hi,

I'm compiling a gcc4.3 based toolchain for m68k/coldfire architecture and
uclibc library. After compilation I can use the "-msoft-float" but I cannot
resolve the symbols of float emulated functions beacause libgcc.a doesn't
contain any support for float.

The --with-float=soft is absent in configure.

Thanks a lot,

luigi


-- 
           Summary: Softfloat library support absent for Coldfire
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: luigi dot mantellini at idf-hit dot com
  GCC host triplet: x86-pc-linux-gnu
GCC target triplet: m68-uclinux-


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
@ 2008-06-17 21:58 ` luigi dot mantellini at idf-hit dot com
  2008-06-17 22:09 ` luigi dot mantellini at idf-hit dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-17 21:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from luigi dot mantellini at idf-hit dot com  2008-06-17 21:57 -------
Additional information: I'm bulding my toolchain using OpenWRT environment
(with patch to include m68k arch) and gcc patches from buildroot git.

ask me for any other information.

luigi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
  2008-06-17 21:58 ` [Bug target/36559] " luigi dot mantellini at idf-hit dot com
@ 2008-06-17 22:09 ` luigi dot mantellini at idf-hit dot com
  2008-06-17 22:12 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-17 22:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from luigi dot mantellini at idf-hit dot com  2008-06-17 22:08 -------
configure call:

cd
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1-initial;
rm -f config.cache; SHELL="/bin/bash"
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1/configure
--prefix=/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1
--build=i486-linux-gnu --host=i486-linux-gnu --target=m68k-linux-uclibc
--enable-languages=c --disable-shared
--with-sysroot=/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/uClibc_dev/
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
--disable-libmudflap --disable-multilib

uClibc-0.9.29


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
  2008-06-17 21:58 ` [Bug target/36559] " luigi dot mantellini at idf-hit dot com
  2008-06-17 22:09 ` luigi dot mantellini at idf-hit dot com
@ 2008-06-17 22:12 ` pinskia at gcc dot gnu dot org
  2008-06-17 22:17 ` luigi dot mantellini at idf-hit dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-17 22:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-06-17 22:11 -------
Doesn't all Coldfire have FPUs (not the 68887 one)?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
                   ` (2 preceding siblings ...)
  2008-06-17 22:12 ` pinskia at gcc dot gnu dot org
@ 2008-06-17 22:17 ` luigi dot mantellini at idf-hit dot com
  2008-06-17 22:19 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-17 22:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from luigi dot mantellini at idf-hit dot com  2008-06-17 22:17 -------
(In reply to comment #3)
> Doesn't all Coldfire have FPUs (not the 68887 one)?
> 

I don't know if all CF have FPUs, but the actual linux kernel 2.6.23 for
547x/5445x shipped by Freescale requires "-msoft-float" option. Using this
option a lot of refs remain no resolved, of course. I think that the actual
freescale kernel doesn't manage the fpu.

thanks,

luigi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
                   ` (3 preceding siblings ...)
  2008-06-17 22:17 ` luigi dot mantellini at idf-hit dot com
@ 2008-06-17 22:19 ` pinskia at gcc dot gnu dot org
  2008-06-17 22:25 ` luigi dot mantellini at idf-hit dot com
  2008-06-19 15:28 ` luigi dot mantellini at idf-hit dot com
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-17 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-06-17 22:18 -------
> I don't know if all CF have FPUs, but the actual linux kernel 2.6.23 for
> 547x/5445x shipped by Freescale requires "-msoft-float" option.

That is make sure it does not use the fp registers ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
                   ` (4 preceding siblings ...)
  2008-06-17 22:19 ` pinskia at gcc dot gnu dot org
@ 2008-06-17 22:25 ` luigi dot mantellini at idf-hit dot com
  2008-06-19 15:28 ` luigi dot mantellini at idf-hit dot com
  6 siblings, 0 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-17 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from luigi dot mantellini at idf-hit dot com  2008-06-17 22:24 -------
(In reply to comment #5)
> > I don't know if all CF have FPUs, but the actual linux kernel 2.6.23 for
> > 547x/5445x shipped by Freescale requires "-msoft-float" option.
> 
> That is make sure it does not use the fp registers ...
> 

Yes. Anyway, the kernel is not able to make a context switching when fp
registers are used... this is a kernel bug of course, whatever the software fp
should be offered to cover these situations.

luigi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/36559] Softfloat library support absent for Coldfire
  2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
                   ` (5 preceding siblings ...)
  2008-06-17 22:25 ` luigi dot mantellini at idf-hit dot com
@ 2008-06-19 15:28 ` luigi dot mantellini at idf-hit dot com
  6 siblings, 0 replies; 8+ messages in thread
From: luigi dot mantellini at idf-hit dot com @ 2008-06-19 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from luigi dot mantellini at idf-hit dot com  2008-06-19 15:27 -------
Created an attachment (id=15790)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15790&action=view)
Fix config.gcc in order to compile the correct libraries

I (think) resolved using the proposed patch.

Ciao

luigi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-06-19 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-17 21:18 [Bug c/36559] New: Softfloat library support absent for Coldfire luigi dot mantellini at idf-hit dot com
2008-06-17 21:58 ` [Bug target/36559] " luigi dot mantellini at idf-hit dot com
2008-06-17 22:09 ` luigi dot mantellini at idf-hit dot com
2008-06-17 22:12 ` pinskia at gcc dot gnu dot org
2008-06-17 22:17 ` luigi dot mantellini at idf-hit dot com
2008-06-17 22:19 ` pinskia at gcc dot gnu dot org
2008-06-17 22:25 ` luigi dot mantellini at idf-hit dot com
2008-06-19 15:28 ` luigi dot mantellini at idf-hit dot com

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).