Problems with install
Artur
artur.burchard at gmail.com
Thu Mar 26 14:17:53 UTC 2015
Hi,
Correct:
> ./configure
I have used the following gcc with exactly the same error:
3.2.3
3.4.4
3.4.4
4.2.0
4.2.0
when using gcc of version 4.4.0 up to 4.8.1 there is a problem in running
configure:
>~/gmp-6.0.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 ... no
checking compiler cc -O ... no
checking ABI=x32
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
checking compiler cc ... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no, cmov
instruction, program does not run
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no, function
pointer return, program does not run
checking compiler icc -no-gcc ... no
checking compiler cc -O ... no
configure: error: could not find a working compiler, see config.log for
details
but gcc is there:
>:~/gmp-6.0.0$ gcc
gcc: no input files
>:~/gmp-6.0.0$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure
--prefix=/cadappl_sde/ictools/gcc/4.4.0-32
--with-as=/cadappl_sde/ictools/gcc/4.4.0-32/bin/as
--with-ld=/cadappl_sde/ictools/gcc/4.4.0-32/bin/ld --enable-__cxa_atexit
--enable-threads=posix --enable-languages=c,c++,java,fortran
--with-gmp=/cadappl_sde/ictools/gcc/4.4.0-32
--with-mpfr=/cadappl_sde/ictools/gcc/4.4.0-32
--with-mpc=/cadappl_sde/ictools/gcc/4.4.0-32
--with-zip=/cadappl_sde/ictools/gcc/4.4.0-32/bin/zip
Thread model: posix
gcc version 4.4.0 (GCC)
kind regards,
Artur
On Thu, Mar 26, 2015 at 2:09 PM, Marc Glisse <marc.glisse at inria.fr> wrote:
> On Thu, 26 Mar 2015, Artur wrote:
>
> Did run >./config
>>
>
> I assume you mean ./configure ?
>
> Did run > make
>> and am getting this error:
>>
>> ~/gmp-6.0.0> make
>> gcc -std=gnu99 `test -f 'gen-fac.c' || echo './'`gen-fac.c -o gen-fac
>> ./gen-fac 64 0 >fac_table.h || (rm -f fac_table.h; exit 1)
>> /bin/sh: line 1: 28954 Segmentation fault ./gen-fac 64 0 >
>> fac_table.h
>> make: *** [fac_table.h] Error 1
>>
>
> Strange.
>
> Host type: x86_64-unknown-linux-gnu
>>
>
> What exact CPU do you have? Are you running in an emulator like qemu?
>
> gcc version 4.3.2 (GCC)
>>
>
> gcc-4.3.2 is known to miscompile GMP, but usually the problem is later
> in the process.
>
> --
> Marc Glisse
>
More information about the gmp-bugs
mailing list