www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/12/21/18:31:02

Date: Tue, 21 Dec 1999 18:08:44 +0100 (MET)
From: Markus Hofmann <markus AT hofmar DOT de>
X-Sender: markus AT anastasia DOT tower DOT de
To: pgcc AT delorie DOT com
Subject: Problems compiling glibc 2.1.2 with pgcc
Message-ID: <Pine.LNX.4.10.9912211749260.22715-100000@anastasia.tower.de>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com

Hello!

First at all: I'm NOT a member of the pgcc mailling list. So please feel
free to mail me directly....

I tried to compile glibc with pgcc 2.95.3.
My base system is SuSe 6.2 with Kernel 2.2.13 installed on a PII-300.
I extracted the pgcc binary tar-files from www.goof.com/pcg to the
standard installationpath /usr/local/pgcc.
I set the CC-Environment to /usr/local/pgcc/bin/gcc and
CFLAGS Environment to -mpentiumpro -march=pentiumpro -O3.
After that i extracted the glibc sources (with crypto and linuxthread) to
a sourcedirectory. I created the directory /usr/local/pglibc and run
srcdir/configure --enable-add-ons --prefix=/usr/local/pglibc in that
directory. After that I run make. All works fine.
But there seems some problems with the fpu-code, because when I run make
check I got the following warnings:
------------------- snip --------------------------
__erfl not implemented
__erfcl not implemented
__ieee754_lgammal_r not implemented
__ieee754_gammal_r not implemented
__ieee754_lgammal_r not implemented
__erfl not implemented
__erfcl not implemented
__ieee754_lgammal_r not implemented
__ieee754_gammal_r not implemented
__ieee754_lgammal_r not implemented
__ieee754_j0l not implemented
__ieee754_j1l not implemented
__ieee754_jnl not implemented
__ieee754_y0l not implemented
__ieee754_y1l not implemented
__ieee754_ynl not implemented
----------------- snap ------------------------------

And finally the following error(s):

------------------------- snip ------------------------------
anastasia:/usr/local/pglibc/math # ls *.out
test-double.out   test-float.out    test-ildoubl.out  test-ldouble.out
anastasia:/usr/local/pglibc/math # more *.out
::::::::::::::
test-double.out
::::::::::::::
testing double (without inline functions)
Fail: y1 (1.5) = -0.41230...
Fail: yn (1, 1.5) = -0.41230...

Test suite completed:
  2285 test cases plus 2273 tests for exception flags executed.
  2 errors occured.
::::::::::::::
test-float.out
::::::::::::::
testing float (without inline functions)
Fail: real(cacosh(-2 - i 3)) == -1.98338...

Test suite completed:
  2278 test cases plus 2266 tests for exception flags executed.
  1 errors occured.
::::::::::::::
test-ildoubl.out
::::::::::::::
testing long double (inline functions)
Fail: cabs (-inf + i x) == +inf
Fail: cabs (+inf+ iNaN) == +inf
Fail: cabs (-inf+ iNaN) == +inf
Fail: cabs (x,0) == fabs (x)
Fail: cabs (x,0) == fabs (x)
Fail: cabs (x,0) == fabs (x)
Fail: real(clog(-Inf - i Inf)) = +Inf
Fail: real(clog(+Inf - i Inf)) = +Inf
Fail: real(clog(0 - i Inf)) = +Inf
Fail: real(clog(3 - i Inf)) = +Inf
Fail: real(clog(-0 - i Inf)) = +Inf
Fail: real(clog(-3 - i Inf)) = +Inf
Fail: real(clog(-Inf + i0)) = +Inf
Fail: real(clog(-Inf + i1)) = +Inf
Fail: real(clog(-Inf - i0)) = +Inf
Fail: real(clog(-Inf - i1)) = +Inf
Fail: real(clog10(-Inf - i Inf)) = +Inf
Fail: real(clog10(+Inf - i Inf)) = +Inf
Fail: real(clog10(0 - i Inf)) = +Inf
Fail: real(clog10(3 - i Inf)) = +Inf
Fail: real(clog10(-0 - i Inf)) = +Inf
Fail: real(clog10(-3 - i Inf)) = +Inf
Fail: real(clog10(-Inf + i0)) = +Inf
Fail: real(clog10(-Inf + i1)) = +Inf
Fail: real(clog10(-Inf - i0)) = +Inf
Fail: real(clog10(-Inf - i1)) = +Inf

Test suite completed:
  2010 test cases plus 1992 tests for exception flags executed.
  26 errors occured.
::::::::::::::
test-ldouble.out
::::::::::::::
testing long double (without inline functions)
Fail: hypot (-inf, x) == +inf
Fail: hypot (-inf, NaN) == +inf
Fail: hypot (x,0) == fabs (x)
Fail: hypot (x,0) == fabs (x)
Fail: hypot (x,0) == fabs (x)
Fail: cabs (-inf + i x) == +inf
Fail: cabs (+inf+ iNaN) == +inf
Fail: cabs (-inf+ iNaN) == +inf
Fail: cabs (x,0) == fabs (x)
Fail: cabs (x,0) == fabs (x)
Fail: cabs (x,0) == fabs (x)
Fail: real(clog(-Inf + i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf - i Inf)) = +Inf
Fail: real(clog(+Inf - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(+Inf - i Inf)) = +Inf
Fail: real(clog(0 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(0 - i Inf)) = +Inf
Fail: real(clog(3 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(3 - i Inf)) = +Inf
Fail: real(clog(-0 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-0 - i Inf)) = +Inf
Fail: real(clog(-3 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-3 - i Inf)) = +Inf
Fail: real(clog(-Inf + i0)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf + i0)) = +Inf
Fail: real(clog(-Inf + i1)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf + i1)) = +Inf
Fail: real(clog(-Inf - i0)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf - i0)) = +Inf
Fail: real(clog(-Inf - i1)) = +Inf: Exception "Invalid operation" set
Fail: real(clog(-Inf - i1)) = +Inf
Fail: real(clog10(-Inf + i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf - i Inf)) = +Inf
Fail: real(clog10(+Inf - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(+Inf - i Inf)) = +Inf
Fail: real(clog10(0 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(0 - i Inf)) = +Inf
Fail: real(clog10(3 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(3 - i Inf)) = +Inf
Fail: real(clog10(-0 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-0 - i Inf)) = +Inf
Fail: real(clog10(-3 - i Inf)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-3 - i Inf)) = +Inf
Fail: real(clog10(-Inf + i0)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf + i0)) = +Inf
Fail: real(clog10(-Inf + i1)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf + i1)) = +Inf
Fail: real(clog10(-Inf - i0)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf - i0)) = +Inf
Fail: real(clog10(-Inf - i1)) = +Inf: Exception "Invalid operation" set
Fail: real(clog10(-Inf - i1)) = +Inf

Test suite completed:
  2126 test cases plus 2104 tests for exception flags executed.
  53 errors occured.
----------------------- snap --------------------------------

what to do?

yours sincerely

M. Hofmann

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Markus Hofmann          Phone:    +49 170 2848250
St. Urbanusstr. 15      Fax:      +49 9371 2032
                        E-Mail:   hofmann AT hofmar DOT de
63927 Buergstadt        SMS-Mail: sms AT hofmar DOT de (Only Subject)
Germany                 PGP-Keys: look at http://www.hofmar.de
---------------------------------------------------------------------
         Only written with 100% recycleable electrons!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019