[amd64] math functions + GMP

"Markus Wichmann" <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Hi all,

having written the math functions, I started testing them. For one thing
there was a dangling mistake on my part, that's why I re-release the stuff
now. Hopefully it works now.

Instructions on how to integrate them:

- load http://www.hs-merseburg.de/~8mwichma/amd64-math.tar.xz
- unpack it in the dietlibc root directory
- go to x86_64 subdirectory
- append Makefile.add.add to Makefile.add

Or, as a script

cvs -d :pserver:[email protected]:/cvs -z9 co dietlibc
cd dietlibc
fget 'http://www.hs-merseburg.de/~8mwichma/amd64-math.tar.xz' \
    | xz -dc | tar x
cd x86_64
cat Makefile.add.add >> Makefile.add

Now that that's done, on to the next topic: GMP.

Used version: 5.0.1
Used configure command line: CC="diet-dyn gcc" ./configure --prefix=/tools

I got it compiled against dietlibc, but the test suite fails. Don't know,
if it is serious. In a test compile against glibc, the test suite doesn't
fail, though. Does anyone know, if any of the following tests is critical?
(all below the tests/ subdir)

mpz/convert
mpz/io
mpz/t-inp_str
mpq/t-get_str
mpq/t-inp_str
mpf/t-conv
mpf/t-inp_str
misc/t-printf
misc/t-scanf

I uploaded the check log to
http://www.hs-merseburg.de/~8mwichma/gmp-check-fails (Only containing
directory change messages and failure notifications with error messages. I
don't think you need to know each of the many tests that were successful.
Consider every tests not mentioned there successful).

I tracked one of the error messages to tests/memory.c, but I didn't
understand the code there. Any suggestions?

CU,
Markus
-- 
Progress (n.): Process through which USENET evolved from smart people in
front of dumb terminals to dumb people in front of smart terminals.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.