[uClibc]Compilation failure of s_ceil.c on PowerPC
Simon Rowe
srowe at cambridgebroadband.com
Wed Oct 30 11:04:11 UTC 2002
I cannot get uClibc 0.9.15 to build for our PowerPC target using the HardHat
cross compiler.
Trying to build the powerpc subdirectory of libm gives me
make[2]: Entering directory `/development/srowe/src/uClibc/libm/powerpc'
/opt/hardhat/devkit/ppc/8xx/bin/ppc_8xx-gcc -Wall -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -Os -fno-builtin -nostdinc
-I../../include -iwithprefix include -I. -D_LIBC -DNDEBUG -fPIC
-D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE -c s_ceil.c -o s_ceil.o
s_ceil.c: In function `ceil':
s_ceil.c:74: Invalid `asm' statement:
s_ceil.c:74: fixed or forbidden register 32 (0) was spilled for class
FLOAT_REGS.
s_ceil.c:76: Invalid `asm' statement:
s_ceil.c:76: fixed or forbidden register 32 (0) was spilled for class
FLOAT_REGS.
make[2]: *** [s_ceil.o] Error 1
make[2]: Leaving directory `/development/srowe/src/uClibc/libm/powerpc'
make[1]: *** [_dir_powerpc] Error 2
make[1]: Leaving directory `/development/srowe/src/uClibc/libm'
make: *** [_dir_libm] Error 2
Compiler details
bash$ /opt/hardhat/devkit/ppc/8xx/bin/ppc_8xx-gcc -v
/opt/hardhat/devkit/ppc/8xx/bin/ppc_8xx-gcc: Actual path =
'/scratch/opt/hardhat/devkit/ppc/8xx/bin/'
Actual name = 'ppc_8xx-gcc'
Invoking
/scratch/opt/hardhat/devkit/ppc/8xx/bin/../lib/gcc-lib/powerpc-hardhat-linux/2.95.3/ppc_8xx-gcc
Reading specs from
/scratch/opt/hardhat/devkit/ppc/8xx/bin/../lib/gcc-lib/powerpc-hardhat-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release/MontaVista)
bash$ rpm -qi hhl-cross-ppc_8xx-gcc-2.95.3-hhl2.0.2
Name : hhl-cross-ppc_8xx-gcc Relocations: /opt
Version : 2.95.3 Vendor: MontaVista Software,
Inc.
Release : hhl2.0.2 Build Date: Wed 23 May 2001
11:16:05 PM BST
Install date: Wed 27 Mar 2002 10:38:33 AM GMT Build Host:
rodan.mvista.com
Group : devel Source RPM:
hhl-cross-gcc-2.95.3-hhl2.0.2.src.rpm
Size : 7024419 License: GPL/LGPL
Packager : <source at mvista.com>
Summary : The GNU C Compiler.
Description :
This is the GNU C compiler, a fairly portable optimizing compiler which
supports multiple languages. This package includes support for C.
--
Simon Rowe
Cambridge Broadband Ltd
More information about the uClibc
mailing list