Build failure for 5.1.0-RC2 on Mac OS 10.8

Hans Aberg haberg-1 at telia.com
Tue Dec 11 13:08:45 CET 2012


[You have dropped the cc to the list, which means that others cannot follow the issue. Also, I think styled text should be avoided on this list.]

On 11 Dec 2012, at 11:10, Marcin Gozdalik wrote:

> Actually I now tried the original gmp-5.1-RC2 using:
> 
> $ 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)
> 
> 
> 2012/12/11 Hans Aberg <haberg-1 at telia.com>
> On 11 Dec 2012, at 10:55, Marcin Gozdalik wrote:
> 
> > Thanks. I assume there is some reasone Apple ships both old llvm-gcc and new clang and you shouldn't just uninstall "old" llvm-gcc.
> 
> Legacy: LLVM was originally intended as becoming the backend for the true GCC, but the developers of the latter found it not practical in view of the other compilers they support.
>   https://en.wikipedia.org/wiki/LLVM
> 
> Hans
> 
> 
> 
> 
> 
> -- 
> Marcin Gozdalik



More information about the gmp-bugs mailing list