[RTEMS Project] #2074: i386 soft-float libraries are incomplete

RTEMS trac trac at rtems.org
Sat Nov 22 04:30:11 UTC 2014


#2074: i386 soft-float libraries are incomplete
---------------------------+-----------------------------
 Reporter:  joel.sherrill  |       Owner:  ralf.corsepius
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  4.11
Component:  GCC            |     Version:  unspecified
 Severity:  normal         |  Resolution:  wontfix
 Keywords:                 |
---------------------------+-----------------------------
Changes (by gedare):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:   => 4.11


Old description:

> 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'

New description:

 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'

--

--
Ticket URL: <http://devel.rtems.org/ticket/2074#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list