Build failure for 5.1.0-RC2 on Mac OS 10.8
Marcin Gozdalik
gozdal at gmail.com
Tue Dec 11 13:14:28 CET 2012
I also tried as Hans Aberg suggested clang, but it fails the same way on
original gmp-5.1-RC2:
$ cc --version
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
$ CC=/usr/bin/cc CXX=/usr/bin/c++ ./configure
configure: summary of build options:
Version: GNU MP 5.1.0
Host type: core2-apple-darwin12.2.0
ABI: 64
Install prefix: /usr/local
Compiler: /usr/bin/cc
Static libraries: yes
Shared libraries: yes
And it failed the same way:
$ CC=/usr/bin/cc CXX=/usr/bin/c++ make -j2
ld: in section __TEXT,__const reloc 0: X86_64_RELOC_SUBTRACTOR must have
r_extern=1 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Using mod_34lsub1.asm Torbjörn provided helps with /usr/bin/cc as it does
with gcc (make check works).
Best regards
2012/12/11 Marcin Gozdalik <gozdal at gmail.com>
> Now make check passes all the tests.
>
>
> 2012/12/10 Torbjorn Granlund <tg at gmplib.org>
>
>> Oops, that code triggeres other Apple bugs. I could reproduce it on the
>> test system to which I have access. Please try yet another valid form,
>> hoping that the Apple envelope is not of negative volume...
>>
>>
>>
>> --
>> Torbjörn
>>
>>
>
>
> --
> Marcin Gozdalik
>
--
Marcin Gozdalik
More information about the gmp-bugs
mailing list