FW: EXTERNAL: Re: GMP 5.0.2 'make check' fails
Whitlock, Bradley D
bradley.d.whitlock at lmco.com
Fri Jun 24 19:53:43 CEST 2011
-----Original Message-----
From: Whitlock, Bradley D
Sent: Friday, June 24, 2011 10:44 AM
To: 'dclarke at blastwave.org'
Cc: gmp-bugs at gmplib.org
Subject: RE: EXTERNAL: Re: GMP 5.0.2 'make check' fails
Thanks Dennis,
Here are the requested environment variables:
LD_LIBRARY_PATH
LD_RUN_PATH
Are both null, I believe they are not used on MinGW
CPPFLAGS is null
CFLAGS: -O0 -I/c/home/local/include -I/usr/include -I/mingw/include
PATH:/c/home/local/bin:/c/home/scripts:/usr/bin:/mingw/bin:/c/Program Files/Emacs/bin
Configure: ../configure --prefix=/c/home/local --enable-shared --disable-static -C
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r untime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.2 (GCC)
---
$ m4 --version
m4 (GNU M4) 1.4.14
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Rene' Seindal.
---
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i686-pc-msys
---
Attached is the output of my configure run.
Thank You,
-Brad
-----Original Message-----
From: Dennis Clarke [mailto:dclarke at blastwave.org]
Sent: Thursday, June 23, 2011 6:13 PM
To: Whitlock, Bradley D
Cc: gmp-bugs at gmplib.org
Subject: EXTERNAL: Re: GMP 5.0.2 'make check' fails
> I am trying to build the latest package and can't get 'make check' to
> pass. I installed anyways, then when building Guile-1.8.8.2, I get a
> failure in scm_angle which I believe is using libgmp (and failing).
>
> $ config.guess
> core2-pc-mingw32
>
> $ uname -a
> MINGW32_NT-5.1 XXX 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
>
> $ ../configure --prefix=/c/home/local --enable-shared --disable-static -C
> $ make -sj2 check
> ...
> Making check in tests
> Making check in .
> libtool: compile: ../../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c
> -DHAVE_CONFIG_H -
> I. -I../../tests -I.. -I../.. -O0 -I/c/home/local/include -I/usr/include
> -I/ming
> w/include ../../tests/amd64call.asm -DDLL_EXPORT -DPIC -o
> .libs/amd64call.o
> m4 -DHAVE_CONFIG_H -DDLL_EXPORT -DPIC ../../tests/amd64call.asm
> >tmp-amd64call.s
> gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I../../tests -I.. -I../.. -O0
> -I/c/home/local/include -I/usr/include -I/mingw/include tmp-amd64call.s -DDLL_EXPORT
> -DPIC
> -o .libs/amd64call.o
> tmp-amd64call.s: Assembler messages:
> tmp-amd64call.s:49: Error: bad register name `%rdi'
> tmp-amd64call.s:50: Error: bad register name `%rsp)'
> tmp-amd64call.s:63: Error: bad register name `%rsp)'
> tmp-amd64call.s:64: Error: bad register name `%rsp)'
> tmp-amd64call.s:65: Error: bad register name `%rsp)'
> tmp-amd64call.s:119: Error: bad register name `%rdi'
> tmp-amd64call.s:120: Error: bad register name `%rip)'
> tmp-amd64call.s:122: Error: bad register name `%rsp)'
> tmp-amd64call.s:123: Error: bad register name `%rax'
> tmp-amd64call.s:125: Error: bad register name `%rip)'
> tmp-amd64call.s:126: Error: bad register name `%rax'
> tmp-amd64call.s:128: Error: bad register name `%rbx'
> tmp-amd64call.s:129: Error: bad register name `%rbp'
> tmp-amd64call.s:130: Error: bad register name `%r12'
> tmp-amd64call.s:131: Error: bad register name `%r13'
> tmp-amd64call.s:132: Error: bad register name `%r14'
> tmp-amd64call.s:133: Error: bad register name `%r15'
> tmp-amd64call.s:136: Error: bad register name `%rdi)'
> tmp-amd64call.s:137: Error: bad register name `%rdi)'
> tmp-amd64call.s:138: Error: bad register name `%rdi)'
> tmp-amd64call.s:139: Error: bad register name `%rdi)'
> tmp-amd64call.s:140: Error: bad register name `%rdi)'
> tmp-amd64call.s:141: Error: bad register name `%rdi)'
> tmp-amd64call.s:150: Error: bad register name `%rdi)'
> tmp-amd64call.s:151: Error: bad register name `%rdi)'
> tmp-amd64call.s:153: Error: bad register name `%rip)'
> tmp-amd64call.s:154: Error: bad register name `%rdi'
> tmp-amd64call.s:155: Error: bad register name `%rax)'
> tmp-amd64call.s:158: Error: bad register name `%rip)'
> tmp-amd64call.s:160: Error: bad register name `%rbx'
> tmp-amd64call.s:161: Error: bad register name `%rbp'
> tmp-amd64call.s:162: Error: bad register name `%r12'
> tmp-amd64call.s:163: Error: bad register name `%r13'
> tmp-amd64call.s:164: Error: bad register name `%r14'
> tmp-amd64call.s:165: Error: bad register name `%r15'
> tmp-amd64call.s:167: Error: unsupported for `pushf'
> tmp-amd64call.s:168: Error: bad register name `%rbx'
> tmp-amd64call.s:169: Error: bad register name `%rbx'
> tmp-amd64call.s:171: Error: bad register name `%rip)'
> tmp-amd64call.s:172: Error: bad register name `%rbx)'
> tmp-amd64call.s:175: Error: bad register name `%rdi)'
> tmp-amd64call.s:176: Error: bad register name `%rdi)'
> tmp-amd64call.s:177: Error: bad register name `%rdi)'
> tmp-amd64call.s:178: Error: bad register name `%rdi)'
> tmp-amd64call.s:179: Error: bad register name `%rdi)'
> tmp-amd64call.s:180: Error: bad register name `%rdi)'
> tmp-amd64call.s:182: Error: bad register name `%rdi)'
> make[4]: *** [amd64call.lo] Error 1
> make[3]: *** [check-am] Error 2
> make[2]: *** [check-recursive] Error 1
> make[1]: *** [check-recursive] Error 1
> make: *** [check] Error 2
>
> Not sure why it is even building amd tests, the machine has Intel Core2
> Duo T9400 processor
>
> Any advice?
>
> Thanks,
> Brad
>
>
Out of curiosity, what was your LD_LIBRARY_PATH and/or LD_RUN_PATH set to ?
Also CPPFLAGS, CFLAGS and heck, your path ?
Oh also, your configure line ?
--
--
+-------------------------+---------------------------------+
| Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.out.bz2
Type: application/octet-stream
Size: 4107 bytes
Desc: configure.out.bz2
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20110624/c955ab40/attachment.obj>
More information about the gmp-bugs
mailing list