Changes between Initial Version and Version 1 of Ticket #35559


Ignore:
Timestamp:
Aug 6, 2012, 9:04:53 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Because of how the Python build process works, changing the compiler for Python modules has no effect. Modules will always build using the same compiler that was used to compile Python itself.

The error message points to the file /usr/local/lib/libgmp.a, which appears to be interfering with the build. We do not support using MacPorts while there is software installed in /usr/local precisely because of the likelihood of interference like this. Please remove that file (and anything else you might have in /usr/local), clean the port, and try again.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35559

    • Property Keywords py27-crypto removed
    • Property Cc jwa@… ram@… added
    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
  • Ticket #35559 – Description

    initial v1  
    55XCode 4.4 on 10.8 (setting up a new machine) and a new download/install of macports.
    66
     7{{{
    78:info:build /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.8-x86_64-2.7/src/_fastmath.o -lgmp -o build/lib.macosx-10.8-x86_64-2.7/Crypto/PublicKey/_fastmath.so
    89:info:build ld: illegal text-relocation to ___gmp_binvert_limb_table in /usr/local/lib/libgmp.a(mp_minv_tab.o) from ___gmpn_divexact_1 in /usr/local/lib/libgmp.a(dive_1.o) for architecture x86_64
     
    1011:info:build error: command '/usr/bin/clang' failed with exit status 1
    1112:
    12 
     13}}}
    1314
    1415I have tried also forcing to use gcc (4.2), apple-gcc-4.2, and gcc-llvm (as listed on the Problem Hotlist page) to no avail.