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



On 4/18/15 3:59 PM, J. Lewis Muir wrote:
> The build host is an x86_64 machine running OS X Yosemite (10.10.3;
> Darwin 14.3.0).  The compiler is Clang 6.0:
>
>   $ clang --version
>   Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
>   Target: x86_64-apple-darwin14.3.0
>   Thread model: posix

I just upgraded to the latest clang (from the Apple package, "Command
Line Tools (OS X 10.10) for Xcode 6.3," with release date, "Apr 8,
2015")):

$ clang --version
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix

Unfortunately, it still fails in the same way.

Thank you, J. De Salvo, for your reply suggesting downgrading Xcode
or CLI Tools.  I'd rather not downgrade, so I'll just keep my
"--disable-assembly" option for now.

Does anyone else have this problem with this version of clang?

(BTW, Apple's April 8, 2015 CLI Tools package is broken [1]: it's
 missing the file:

   /Library/Developer/CommandLineTools/usr/include/c++/v1/__debug

 To work around this until Apple releases a fix, I copied the file from
 the Xcode 6.3 app at:

   /Applications/Xcode.app/Contents/Developer/Toolchains/\
       XcodeDefault.xctoolchain/usr/include/c++/v1/__debug
)

Thank you!

Lewis

[1] http://openradar.appspot.com/radar?id=6405426379751424


Home | Main Index | Thread Index | Old Index