Re: Compiling GMP dependency

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

 



Hi all,

I’m one of the MacPorts devs.

MacPorts does know know how to build and use an embedded gmp as part of the gcc build, and we have several versions of gcc in MacPorts that work that way.

We download the deps separately and link them into the build ourselves, rather than use the download_prerequisites script, but otherwise accomplish the same thing.

What we have in this situation is an issue where the newest versions of MacOS seem to be miscompiling the Intel version gmp, when assembly is enabled.

I believe I have tracked the issue down to the new linker enabled in the latest Xcode versions.. I’ve been able to avoid the miscompilation by forcing ld_classic to be used.

Now we have to sort out what it is about the new linker that makes the asm files in GMP behave oddly.

That will likely be for upstream GMP to sort out, but apparently nobody upstream has a newer MacOS Intel machine that demonstrates the error at this point in time.

Thanks for all your inputs,

Ken Cunningham



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux