This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/15247] gas complains "There are only 32 single precision f registers; [0-31]" when compiling glibc-2.3.2/math/dosincos.c


------- Additional Comments From dank at kegel dot com  2004-05-02 00:50 -------
Here's how I configured the bootstrap gcc:

../gcc-3.4.0/configure --target=sparc64-unknown-linux-gnu
--host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2
--with-local-prefix=/opt/crosstool/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/sparc64-unknown-linux-gnu
--disable-multilib --with-newlib --disable-multilib --with-cpu=ultrasparc3
--without-headers --disable-nls --enable-threads=no --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c --disable-shared

Here's the output of 'gcc -v options' (hmm, I must misunderstand what you wanted):

sparc64-unknown-linux-gnu-gcc -v options
sparc64-unknown-linux-gnu-gcc: options: No such file or directory
Reading specs from
/opt/crosstool/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/lib/gcc/sparc64-unknown-linux-gnu/3.4.0/specs
Configured with:
/home/dank/wk/crosstool-0.28-rc9/build/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/gcc-3.4.0/configure
--target=sparc64-unknown-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2
--with-local-prefix=/opt/crosstool/sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/sparc64-unknown-linux-gnu
--disable-multilib --with-newlib --disable-multilib --with-cpu=ultrasparc3
--without-headers --disable-nls --enable-threads=no --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c --disable-shared
Thread model: single
gcc version 3.4.0

Full log is online at http://kegel.com/crosstool/pr15247.txt.gz
To reproduce:
wget http://kegel.com/crosstool/crosstool-0.28-rc10.tar.gz
tar -xzvf crosstool-0.28-rc10.tar.gz
cd crosstool-0.28-rc10
sudo mkdir -p /opt/crosstool
sudo chown $USER /opt/crosstool
sh demo-sparc64.sh 

Jakub's been dealing with these, so I'm cc'ing him on this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com
          Component|target                      |c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15247


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]