glibc-2.2.2

m.brulisauer@systime.ch m.brulisauer@systime.ch
Thu Mar 8 05:24:00 GMT 2001


Hi,
I'm compiling glibc-2.2.2 on Linux/Alpha 2.4.2.

linux: 2.4.2
gcc: 2.95.2
make: 3.79.1
libtool: 1.3.5
binutils: 2.10.1.0.7
(all compiled with gcc-2.95.2)

I can't compile the math functions on the alpha platform;
can anybody tell me what I do wrong?

gcc conj.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-mcpu=ev5 -
mieee    -Wno-uninitialized  -I../include -I.  -I.. -I../libio
-I../sysdeps/alp
ha/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthre
ad -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linux
threads/sysdeps/alpha -I../sysdeps/unix/sysv/linux/alpha
-I../sysdeps/unix/sysv/
linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysd
eps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha
-I../sysdeps/unix -
I../sysdeps/posix -I../sysdeps/alpha/alphaev5 -I../sysdeps/alpha/fpu
-I../sysdep
s/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee75
4/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-D
_LIBC_REENTRANT -include ../include/libc-symbols.h     -D__NO_MATH_INLINES
-D__L
IBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE -D_Mlong_double_=double -o conj.o
In file included from ../include/bits/cmathcalls.h:1,
                 from ../math/complex.h:81,
                 from ../include/complex.h:1,
                 from conj.c:21:
../math/bits/cmathcalls.h: In function `cimagf':
../math/bits/cmathcalls.h:140: Unable to access imaginary part of complex
value
in a hard register on this target
make[1]: *** [conj.o] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.2.2/math'
make: *** [math/others] Error 2

>From the glibc crew I got the answer:


Try a different compiler, perhaps a gcc 3.0 test release.  This is a
compiler bug, there's nothing we can do in glibc.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Is this a bug and is it known to you? Is there a patch for 2.95.2
available?

Best Regards, 
              \\\ /// 
              ( @ @ ) 
----------oOOO--(_)--OOOo----------
Martin Brülisauer
Engineering & Support 
Systime Informatik AG
Bruggacherstrasse 26
8117 Fällanden
SWITZERLAND
Tel: +(411) - 806 - 8650 
Fax: +(411) - 806 - 8622 
Email: m.brulisauer@systime.ch 
Web: www.systime.ch 
-----------------------------------
 



More information about the Gcc-bugs mailing list