Compiling with -msoft-float on Ubuntu i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to compile the bzip2 benchmark of the SPEC CPU2006
benchmark suite [1] with gcc-4.1.3 (part of Ubuntu Gutsy) and with the
-msoft-float flag enabled. Unfortunately, I keep getting these errors:
gcc-4.1 -static -msoft-float -c -o spec.o -DSPEC_CPU -DNDEBUG    -O2  spec.c
gcc-4.1 -static -msoft-float -c -o blocksort.o -DSPEC_CPU -DNDEBUG
-O2 blocksort.c
gcc-4.1 -static -msoft-float -c -o bzip2.o -DSPEC_CPU -DNDEBUG    -O2 bzip2.c
[...]
gcc-4.1 -static -msoft-float   -O2       -Wl,-Map,bzip2.map spec.o
blocksort.o bzip2.o bzlib.o compress.o crctable.o decompress.o
huffman.o randtable.o -o bzip2 -lgcc
spec.o: In function `ran':
spec.c:(.text+0x49): undefined reference to `__floatsisf'
spec.c:(.text+0x5a): undefined reference to `__mulsf3'
spec.c:(.text+0x62): undefined reference to `__extendsfdf2'
[...]

Searching the web and this mailinglist gave me no solution to my
problem. Do I need to compile gcc with some special config arguments?
Is there a library that I need to add to the command line?

Greetings,


Jens Geiregat

[1] http://www.spec.org/cpu2006/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux