From: Carlo Agostini <carlo.agostini@yacme.com>
To: linux-mips@oss.sgi.com
Subject: Problems compiling . soft-float
Date: Mon, 25 Feb 2002 08:19:36 +0100 [thread overview]
Message-ID: <3C79E588.19C0FE18@yacme.com> (raw)
Hi All
Just to introduce the problem, here is a summary of what I have done.
I work on an Linux port on an MIPS tx39(R3000) based hardware without
hw floating point support .
I finally managed to compile the glibc 2.2.5 for an mipstx39el-linux
configuration for 2.2.14 Kernel .
I'm working on a Pentium III PC with RedHat7.1
I used binutils 2.11.2 and gcc 3.0.3
The parameters I have used for configuration were the following:
---- configure glibc-2.2.5 ----
configure --host=mipsel-linux\
--target=mipstx39el-linux\
--enable-add-ons\
--build=i686-pc-linux-gnu\
--prefix=$PREFIX \
--without-fp -v
I first generated a glibc (just typing make, with the default
Makefiles).
..... problem, it seems that the --without-fp has not the expected
effects.
I am trying to port microwindows on an mips tx39
Then, I tried to pass explicitly -msoft-float to gcc as an argument
.....
mipstx39el-linux-gcc -v -I/utenti/agostini/prova/mw/src/include
-msoft-float -Wall -O3 -s -L/utenti/agostini/prova/mw/src/lib -o
/utenti/agostini/prova/mw/src/bin/nano-X srvmain.o srvfunc.o srvutil.o
srvevent.o srvclip.o srvnet.o
/utenti/agostini/prova/mw/src/lib/libmwengine.a
/utenti/agostini/prova/mw/src/lib/libmwdrivers.a
/utenti/agostini/prova/mw/src/lib/libmwfonts.a
-L/utenti/agostini/prova/mw/src/lib
Reading specs from
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/specs
Configured with: ../../gcc-3.0.3/configure
--with-gcc-version-trigger=/utenti/agostini/mipstx39-linux/src/gcc-3.0.3/gcc/version.c
--host=i686-pc-linux-gnu --prefix=/utenti/agostini/mipstx39-linux
--target=mipstx39el-linux --with-gnu-ld --with-gnu-as --disable-shared
--enable-languages=c -v
Thread model: single
gcc version 3.0.3
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/collect2
-EL -dynamic-linker /lib/ld.so.1 -o
/utenti/agostini/prova/mw/src/bin/nano-X -s
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/../../../../mipstx39el-linux/lib/crt1.o
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/../../../../mipstx39el-linux/lib/crti.o
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/crtbegin.o
-L/utenti/agostini/prova/mw/src/lib -L/utenti/agostini/prova/mw/src/lib
-L/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3
-L/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/../../../../mipstx39el-linux/lib
srvmain.o srvfunc.o srvutil.o srvevent.o srvclip.o srvnet.o
/utenti/agostini/prova/mw/src/lib/libmwengine.a
/utenti/agostini/prova/mw/src/lib/libmwdrivers.a
/utenti/agostini/prova/mw/src/lib/libmwfonts.a -lgcc -lc -lgcc
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/crtend.o
/utenti/agostini/mipstx39-linux/lib/gcc-lib/mipstx39el-linux/3.0.3/../../../../mipstx39el-linux/lib/crtn.o
/utenti/agostini/prova/mw/src/lib/libmwengine.a(devarc.o): In function
`qcos':
devarc.o(.text+0x28): undefined reference to `fptosi'
devarc.o(.text+0x4c): undefined reference to `sitofp'
devarc.o(.text+0x64): undefined reference to `fpsub'
devarc.o(.text+0x104): undefined reference to `fpmul'
devarc.o(.text+0x11c): undefined reference to `fpadd'
devarc.o(.text+0x164): undefined reference to `fpmul'
devarc.o(.text+0x18c): undefined reference to `fpsub'
devarc.o(.text+0x1d4): undefined reference to `fpmul'
devarc.o(.text+0x1ec): undefined reference to `fpsub'
devarc.o(.text+0x220): undefined reference to `fpmul'
devarc.o(.text+0x238): undefined reference to `fpadd'
devarc.o(.text+0x250): undefined reference to `fpsub'
devarc.o(.text+0x268): undefined reference to `sitofp'
devarc.o(.text+0x280): undefined reference to `fpsub'
/utenti/agostini/prova/mw/src/lib/libmwengine.a(devarc.o): In function
`qsin':
devarc.o(.text+0x2cc): undefined reference to `fptosi'
devarc.o(.text+0x2f4): undefined reference to `sitofp'
devarc.o(.text+0x30c): undefined reference to `fpsub'
devarc.o(.text+0x3ac): undefined reference to `fpmul'
devarc.o(.text+0x3c4): undefined reference to `fpadd'
devarc.o(.text+0x40c): undefined reference to `fpmul'
devarc.o(.text+0x434): undefined reference to `fpsub'
devarc.o(.text+0x47c): undefined reference to `fpmul'
devarc.o(.text+0x494): undefined reference to `fpsub'
devarc.o(.text+0x4c8): undefined reference to `fpmul'
devarc.o(.text+0x4e0): undefined reference to `fpadd'
devarc.o(.text+0x4f8): undefined reference to `fpsub'
devarc.o(.text+0x510): undefined reference to `sitofp'
devarc.o(.text+0x528): undefined reference to `fpsub'
/utenti/agostini/prova/mw/src/lib/libmwengine.a(devarc.o): In function
`GdArcAngle':
devarc.o(.text+0xc14): undefined reference to `litodp'
devarc.o(.text+0xc34): undefined reference to `dpmul'
devarc.o(.text+0xc4c): undefined reference to `dptofp'
devarc.o(.text+0xc84): undefined reference to `sitofp'
devarc.o(.text+0xca0): undefined reference to `fpmul'
devarc.o(.text+0xcb4): undefined reference to `fptosi'
devarc.o(.text+0xccc): undefined reference to `litodp'
devarc.o(.text+0xcec): undefined reference to `dpmul'
devarc.o(.text+0xd04): undefined reference to `dptofp'
devarc.o(.text+0xd3c): undefined reference to `fpmul'
devarc.o(.text+0xd50): undefined reference to `fptosi'
devarc.o(.text+0xd8c): undefined reference to `fpsub'
devarc.o(.text+0xdc4): undefined reference to `fpsub'
devarc.o(.text+0xddc): undefined reference to `sitofp'
devarc.o(.text+0xdf8): undefined reference to `fpmul'
devarc.o(.text+0xe0c): undefined reference to `fptosi'
devarc.o(.text+0xe28): undefined reference to `fpmul'
devarc.o(.text+0xe3c): undefined reference to `fptosi'
/utenti/agostini/mipstx39-linux/lib/libc.so.6: undefined reference to
`no symbol'
collect2: ld returned 1 exit status
Has anyone information about this problem ?
Does anyone know where could I find a set of
floating-point instructions library ?
you can help me ?
Thanking you in advance
Carlo.
next reply other threads:[~2002-02-25 8:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-25 7:19 Carlo Agostini [this message]
2002-02-25 12:25 ` Problems compiling . soft-float Ralf Baechle
2002-02-26 4:47 ` Jay Carlson
2002-02-26 5:02 ` Ralf Baechle
2002-02-26 5:10 ` Daniel Jacobowitz
2002-02-26 5:23 ` Jay Carlson
2002-02-26 5:28 ` Jay Carlson
2002-02-26 5:51 ` Daniel Jacobowitz
2002-02-26 12:59 ` Maciej W. Rozycki
2002-02-26 12:59 ` Maciej W. Rozycki
2002-02-26 10:55 ` Dominic Sweetman
2002-02-26 12:27 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C79E588.19C0FE18@yacme.com \
--to=carlo.agostini@yacme.com \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox