bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test(s) fail, Install aborted


From: Daryl Smith
Subject: Test(s) fail, Install aborted
Date: Thu, 25 Sep 2003 16:39:56 -0600

GMP version 4.1.2

No test program available, the "bug" is found in compiling.

I did a:

./configure
make
make check -> Ran into failed tests

No configuration options used.

 # gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3

The GCC package was taken from www.sunfreeware.com.

# uname -a
SunOS dtest 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

# ./config.guess
ultrasparc2i-sun-solaris2.8

# ./configfsf.guess
sparc-sun-solaris2.8

Here's the output of the make check:

(See attached file: make_check.txt)

You'll notice that I've included the tail end of the "make", as I
though the "Output line too long." was kind of ominous.

Just in case, here's the config.log and the config.m4:

(See attached file: config.log)(See attached file: config.m4)

It should also be noted that I initially downloaded version 4.1, but
had problems with it.  That compilation failed during the "make"
referencing ELFCLASS.  (I don't have that exact error anymore)  The
system I'm installing this on is a Solaris 8 machine, freshly
installed, I have yet to get a Patch Cluster on it, but I don't think
as if that is affecting my test.  This is my first time trying out the
GCC 3.3 compiler though (although I compiled other applications with
the gcc 3.3 on this system and they are working).  Also, you'll notice
the error message references a gcc lib.  Usually this means it can't
locate the library (which was in /usr/local/lib/) in this case I tried
copying the libgcc_s.so.1 lib into both /usr/lib/ and the ./tests/
subdirectory, but neither seemed to help the t-* scripts locate it.
Then I tried to compile the third example script from the INSTALL
file, to see that even if my "make check" failed, perhaps the programs
compiled OK.  Here's what I got:

# gcc -g -I. example.c .libs/libgmp.a
ld: warning: file .libs/libgmp.a(init.o): wrong ELF class: ELFCLASS64
Undefined                       first referenced
 symbol                             in file
__gmpz_init_set_str                 /var/tmp//ccSGeQo6.o
__gmpz_init                         /var/tmp//ccSGeQo6.o
__gmp_printf                        /var/tmp//ccSGeQo6.o
__gmpz_mul                          /var/tmp//ccSGeQo6.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

(Instantly I noticed that it had an ELFCLASS64 error, much like I got
when I tried to compile the 4.1 version)

Hope this helps.

Thanks,
Daryl

Attachment: make_check.txt
Description: Binary data

Attachment: config.log
Description: Binary data

Attachment: config.m4
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]