Building 4.5.0 beta1c

Joel Sherrill joel.sherrill at OARcorp.com
Mon Apr 17 20:12:07 UTC 2000


The ts_386ex has no hardware FPU.  Therefor, it depends on gcc to
provide
soft-float libraries.  The person who submitted this BSP had an i386
soft-float patch for egcs that was not merged.  There is another
unmerged
i386 soft float patch floating on the gcc lists.  That is the
functionality
you are missing.

I encourage everyone who has used an i386ex and RTEMS with soft-float
to work with the gcc maintainers to get this patch tested and merged.
If someone gets it merged, then I can add it to the gcc RTEMS patch
and RPMs until it shows up in the main distributions.

--joel

"Boris V. Guzhov" wrote:
> 
> Hi all!
> 
> My host is Linux RedHat 6.0
> My target - i386.
> 
> After running of the bit_rtems  Script I see following message error :
> ----------------------------------------------------------------------------
> ------------------------------------------------------
> /opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../ts_386ex/lib/ -spec
> s
> bsp_specs -qrtems -g -Wall -ansi -fasm  -O4      -msoft-float -mno-fp-ret-in
> -387     -c -DNOSIGNAL -DCYGNUS -DNOMAIN  -o o-optimize/paranoia.o
> ../../../../../../../rtems-4.5.0-beta1c/c/src/tests/samples/paranoia/paranoi
> a.c
> /opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../ts_386ex/lib/ -spec
> s
> bsp_specs -qrtems   -msoft-float -mno-fp-ret-in-387    -g -Wall -ansi -fasm
>  -O4     -o o-optimize/paranoia.elf  o-optimize/init.o
> -optimize/paranoia.o  -lm o-optimize/paranoia.o: In function `paranoia':
> /src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex/tests/samples/
> paranoia/../../../../../../../rtems-4.5.0-beta1c/c/src/tests/samples/paranoi
> a/paranoia.c:353: undefined reference to `__adddf3'
> ...
> <about 100 lines is skipped>
> ...
> /src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex/tests/samples/
> paranoia/../../../../../../../rtems-4.5.0-beta1c/c/src/tests/samples/paranoi
> a/paranoia.c:2114: undefined reference to `__ltdf2'
> collect2: ld returned 1 exit status
> gmake[5]: *** [o-optimize/paranoia.exe] Error 1
> gmake[5]: Leaving directory
> `/src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex/tests/samples
> /paranoia'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory
> `/src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex/tests/samples
> '
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex/tests'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c/ts_386ex'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/src/rtems.4.5.0/tools/build-i386-rtems/i386-rtems/c'
> gmake: *** [all-recursive] Error 1
> ----------------------------------------------------------------------------
> ------------------------------------------------------
> 
> My user.cfg file:
> -------------------------------------------
> BINUTILS=binutils-2.9.5.0.24
> GCC=gcc-2.95.2
> NEWLIB=newlib-1.8.2
> GDB=gdb-4.18
> BUILD_DOCS=yes
> BUILD_OTHER_LANGUAGES=no
> INSTALL_POINT=/opt/rtems
> 
> RTEMS=rtems-4.5.0-beta1c
> 
> ENABLE_RTEMS_POSIX=yes
> ENABLE_RTEMS_ITRON=no
> ENABLE_RTEMS_MP=no
> ENABLE_RTEMS_CXX=yes
> ENABLE_RTEMS_TESTS=no
> ENABLE_RTEMS_TCPIP=no
> ENABLE_RTEMS_RDBG=yes
> ENABLE_RTEMS_MAINTAINER_MODE=no
> -------------------------------------------
> 
> Thanks in advance for any help you might be able to provide me.
> 
> --
> Boris Guzhov,
> St.Petersburg, Russia

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel 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 users mailing list