[MacPorts] #67572: gperftools: arm: cmake arch check broken, causing build failures
MacPorts
noreply at macports.org
Mon Jun 5 15:22:57 UTC 2023
#67572: gperftools: arm: cmake arch check broken, causing build failures
-------------------------+----------------------
Reporter: mascguy | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: arm
Port: gperftools |
-------------------------+----------------------
Comment (by mascguy):
Replying to [comment:6 mascguy]:
> We'll soon know whether the latest fix - avoiding use of `libunwind` for
ARM, universal or not - fixes the issue.
>
> If not, I might need some assistance from a kind soul with an ARM Mac,
as I have no way to test such changes locally.
Unfortunately removing `libunwind` from the mix doesn't help ARM.
Comparing the project's arch check logic, it looks like it's identical
between autotools and cmake: Essentially it's just compiling the following
C file:
{{{
int
main (void)
{
return __arm__
;
return 0;
}
}}}
So I'm stumped, unless there's a difference in the various C/CXX flags
passed during compilation of that file. (Which is certainly possible, with
cmake now in the mix.)
But if anyone with an ARM machine is interested in assisting, that would
be great!
--
Ticket URL: <https://trac.macports.org/ticket/67572#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list