#2074 closed defect

i386 soft-float libraries are incomplete

Reported by: Joel Sherrill Owned by: Ralf Corsepius
Priority: normal Milestone: 4.11
Component: tool/gcc Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Gedare Bloom)

The pc386dx BSP does not link applications on gcc-4.7.1-3.el6.

Looks like soft-float support is broken.

i386-rtems4.11-gcc -B../../../../../pc386dx/lib/ -specs bsp_specs -qrtems -mtune=i386 -msoft-float -mno-fp-ret-in-387 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,-Ttext,0x00100000 -mtune=i386 -msoft-float -mno-fp-ret-in-387 -o hello.exe init.o
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.1/../../../../i386-rtems4.11/lib/soft-float/libc.a(lib_a-svfprintf.o): In function `_svfprintf_r':
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1072: undefined reference to `truncxfdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1084: undefined reference to `
ltdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1556: undefined reference to `eqdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1603: undefined reference to `
nedf2'
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.1/../../../../i386-rtems4.11/lib/soft-float/libc.a(lib_a-svfprintf.o): In function `cvt':
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1687: undefined reference to `muldf3'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1688: undefined reference to `
eqdf2'

Change History (4)

comment:1 Changed on Sep 6, 2012 at 1:09:32 PM by Joel Sherrill

The pc386dx BSP does not link applications on gcc-4.7.1-3.el6.

Looks like soft-float support is broken.

i386-rtems4.11-gcc -B../../../../../pc386dx/lib/ -specs bsp_specs -qrtems -mtune=i386 -msoft-float -mno-fp-ret-in-387 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,-Ttext,0x00100000 -mtune=i386 -msoft-float -mno-fp-ret-in-387 -o hello.exe init.o
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.1/../../../../i386-rtems4.11/lib/soft-float/libc.a(lib_a-svfprintf.o): In function `_svfprintf_r':
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1072: undefined reference to `truncxfdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1084: undefined reference to `
ltdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1556: undefined reference to `eqdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1603: undefined reference to `
nedf2'
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.1/../../../../i386-rtems4.11/lib/soft-float/libc.a(lib_a-svfprintf.o): In function `cvt':
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1687: undefined reference to `muldf3'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.1/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.1/newlib/libc/stdio/vfprintf.c:1688: undefined reference to `
eqdf2'

comment:2 Changed on Nov 22, 2014 at 4:30:11 AM by Gedare Bloom

Description: modified (diff)
Milestone: 4.11
Resolution: wontfix
Status: newclosed

comment:3 Changed on Nov 23, 2014 at 7:10:47 PM by Joel Sherrill

Version: unknown4.11

comment:4 Changed on Oct 10, 2017 at 5:58:26 AM by Sebastian Huber

Component: GCCtool/gcc
Note: See TracTickets for help on using tickets.