apparently i386 tool issue - pc386dx does not link

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 18 20:26:27 UTC 2012


Hi,

Looks like the i386-rtems4.11 toolset is broken for soft-float.
This is with the pc386dx BSP and nothing special in the configure
command.

rtems-4.11-i386-rtems4.11-gcc-4.7.0-1.el6.i386


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.0/../../../../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.0/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.0/newlib/libc/stdio/vfprintf.c:1072: 
undefined reference to `__truncxfdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.0/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.0/newlib/libc/stdio/vfprintf.c:1084: 
undefined reference to `__ltdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.0/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.0/newlib/libc/stdio/vfprintf.c:1556: 
undefined reference to `__eqdf2'
/builddir/build/BUILD/rtems-4.11-i386-rtems4.11-gcc-4.7.0/build/i386-rtems4.11/soft-float/newlib/libc/stdio/../../../../../../gcc-4.7.0/newlib/libc/stdio/vfprintf.c:1603: 
undefined reference to `__nedf2'

-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985





More information about the devel mailing list