[MacPorts] #70859: gmp @6.3.0: tests fail when built with clang on Intel only, but pass when assembly is disabled
MacPorts
noreply at macports.org
Tue Oct 1 01:19:59 UTC 2024
#70859: gmp @6.3.0: tests fail when built with clang on Intel only, but pass when
assembly is disabled
-----------------------+---------------------------------
Reporter: haberg-1 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ventura
Port: gmp |
-----------------------+---------------------------------
Comment (by kencu):
it looks like using the classic linker might be the fix, for now.
If we do this:
{{{
export LDFLAGS='-Wl,-ld_classic'
}}}
then I can build and run gmp on a current system in Intel mode, with all
the assembly enabled, and it passes all the tests.
Why this is the fix is a question to be answered later. I still think it
will turn out to be an alignment thing, but smarter people and me can sort
it out.
Please give that a try on your machine as well. It's pretty easy to add
that flag to the gmp build.
--
Ticket URL: <https://trac.macports.org/ticket/70859#comment:29>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list