All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benjamin Menküc" <benmen@gmx.de>
To: linux-mips@linux-mips.org
Subject: mathinline.h + cross-compiler
Date: Tue, 20 May 2003 15:17:43 +0200	[thread overview]
Message-ID: <200305201517.43195.benmen@gmx.de> (raw)

When I compile gcc with glibc I get the following error:

/home/benmen/mips/mipsel-gcc/gcc/xgcc -B/home/benmen/mips/mipsel-gcc/gcc/ 
-B/home/benmen/mipsel/mipsel-linux/bin/ 
-B/home/benmen/mipsel/mipsel-linux/lib/ -isystem 
/home/benmen/mipsel/mipsel-linux/include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. 
-I../../../gcc-3.2.3/libiberty/../include  -W -Wall -Wtraditional -pedantic 
../../../gcc-3.2.3/libiberty/floatformat.c
../../../gcc-3.2.3/libiberty/floatformat.c: In function 
`floatformat_to_double':
/home/benmen/mipsel/include/bits/mathinline.h:524: inconsistent operand 
constraints in an `asm'
/home/benmen/mipsel/include/bits/mathinline.h:524: inconsistent operand 
constraints in an `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atan2':
/home/benmen/mipsel/include/bits/mathinline.h:425: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atan2f':
/home/benmen/mipsel/include/bits/mathinline.h:425: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atan2l':
/home/benmen/mipsel/include/bits/mathinline.h:425: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `__atan2l':
/home/benmen/mipsel/include/bits/mathinline.h:426: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `fmod':
/home/benmen/mipsel/include/bits/mathinline.h:429: unknown register name `ax' 
in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `fmodf':
/home/benmen/mipsel/include/bits/mathinline.h:429: unknown register name `ax' 
in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `fmodl':
/home/benmen/mipsel/include/bits/mathinline.h:429: unknown register name `ax' 
in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atan':
/home/benmen/mipsel/include/bits/mathinline.h:466: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atanf':
/home/benmen/mipsel/include/bits/mathinline.h:466: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atanl':
/home/benmen/mipsel/include/bits/mathinline.h:466: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `log1p':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `log1pf':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `log1pl':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `asinh':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `asinhf':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `asinhl':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atanh':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atanhf':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
/home/benmen/mipsel/include/bits/mathinline.h: In function `atanhl':
/home/benmen/mipsel/include/bits/mathinline.h:539: unknown register name 
`st(1)' in `asm'
make[1]: *** [floatformat.o] Fehler 1
make[1]: Leaving directory 
`/home/benmen/mips/mipsel-gcc/mipsel-linux/libiberty'
make: *** [all-target-libiberty] Fehler 2
Verzeichnis: ~/mips/mipsel-gcc
[benmen@linuxpc1 mipsel-gcc]


This issue has already been in this list 
http://www.spinics.net/lists/mips/msg12229.html but without an answer... 

I have linked the asm dir from the kernel sources into my mipsel/include ... 
However I can not find a mips-specific mathinline.h... There is not 
include/bits dir for mips anywhere....

I configure gcc like this (the last 2 options don't change anything for me): 

[benmen@linuxpc1 mipsel-gcc] ../gcc-3.2.3/configure --target=mipsel-linux 
--enable-languages=c,c++ --prefix=/home/benmen/mipsel 
--with-libs=/home/benmen/mipsel/lib 
--with-headers=/home/benmen/mips/kernel/mips-2.4.20/include 
--includedir=/home/benmen/mips/include

regards,

Ben

                 reply	other threads:[~2003-05-20 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200305201517.43195.benmen@gmx.de \
    --to=benmen@gmx.de \
    --cc=linux-mips@linux-mips.org \
    --cc=menkuec@auto-intern.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.