This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25138] New: [m68k] undefined reference to `__floatunsidf'
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2005 14:32:23 -0000
- Subject: [Bug target/25138] New: [m68k] undefined reference to `__floatunsidf'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Consider
double
foo (unsigned int a)
{
return a;
}
int
main (void)
{
return 0;
}
When I compile and link this like so
m68k-elf-gcc -Wl,-T,sim.ld -o test test.c
I get
undefined reference to `__floatunsidf'
Inspection of m5200/libgcc.a reveals that it does not contain __floatunsidf.
--
Summary: [m68k] undefined reference to `__floatunsidf'
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: link-failure
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
GCC target triplet: m68k-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25138