pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/gmp illegal text-relocation build error on OS X Yosemite



J. Lewis,

> J. Lewis Muir wrote:

> Hello!
> 
> When I build devel/gmp from pkgsrc 2015Q1 on OS X Yosemite, it fails
> with the following error:
> 
> ===
> ld: illegal text-relocation to '___gmp_binvert_limb_table' in .libs/mp_minv_tab.o from '___gmpn_divexact_1' in mpn/.libs/dive_1.o for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [libgmp.la] Error code 1

Did you update to the latest Xcode or CLI tools by chance? If so, perhaps if you downgrade to the original CLI for Yosemite and try to build again, then you *might* be successful.

I was having problems build Tin (pcre dependency failed; tried several options but still no go.) Until... 

I downgraded to the original CLI tools for Yosemite and tried to build Tin and its dependencies again. Building took place without issue.

Perhaps a downgrade might also help in your case.

HTH.
J.



Home | Main Index | Thread Index | Old Index