4.3.1 test failures on alphaev56-dec-osf4.0g (Tru64)

Daniel Richard G. skunk at iSKUNK.ORG
Fri Aug 7 19:48:50 CEST 2009


On Fri, 2009 Aug  7 12:54+0200, Torbjorn Granlund wrote:
>   >
>   > * Configured with --host=none: I got a link error building t-bswap:
>   >   Unresolved:
>   >   __gmpn_count_leading_zeros
>   >   __gmpn_invert_limb
>   >
>   > And you didn't forget to start with a pristine build dir?
>
>   Positive. I just gave it another go, with the same result.
>
> Unfortunately, I cannot repproduce this (on alphaev6-unknown-linux-
> gnu), and I also cannot pathom how the NO_ASM checks of longlong.h can
> fail in your builds.  Please investigate!

Okay, so -DNO_ASM is supposed to appear in CPPFLAGS after specifying
--host=none. Looking at the configure script in the GMP 4.3.1
distribution, I added a couple of statements to print out the value of
$cppflags/$CPPFLAGS after lines 3875 and 6454 (marked with "1>" and "2>"
below, respectively):

----8<----
checking for none-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles...
no
checking ABI=long
1> cppflags = -DNO_ASM
checking compiler none-gcc -O2 -pedantic -DNO_ASM... no
1> cppflags = -DNO_ASM
checking compiler gcc -O2 -pedantic -DNO_ASM... no
1> cppflags = 
checking compiler none-cc -O ... no
1> cppflags = 
checking compiler cc -O ... yes
2> CPPFLAGS = 
checking for none-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
---->8----

It seems that the NO_ASM definition is dependent on the choice of
compiler. Shouldn't it be unconditional?

> I don't think more points on the envelope of this bug will enlighten
> me. Somebody needs to debug a failing test on the host system.  With a
> crash, this shouldn't be terribly difficult.

I'd be happy to provide any further information on this, as well as test
potential fixes.


--Daniel


-- 
NAME = Daniel Richard G.     _\|/_    Remember, skunks
MAIL = skunk at iSKUNK.ORG     (/o|o\) _- don't smell bad---
MAIL+= skunk at alum.MIT.EDU   < (^),>     it's the people who
WWW  = (not there yet!)      /   \      annoy us that do!


More information about the gmp-bugs mailing list