This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/25138] New: [m68k] undefined reference to `__floatunsidf'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]