[MacPorts] #69812: cmake-bootstrap @3.9.6 does not compile under rosetta2
MacPorts
noreply at macports.org
Sat Jun 8 02:10:28 UTC 2024
#69812: cmake-bootstrap @3.9.6 does not compile under rosetta2
------------------------------+--------------------
Reporter: lukaso | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cmake-bootstrap |
------------------------------+--------------------
Comment (by kencu):
I'm advising you to start WAY more simply.
See if you can figure out how to compile ANYTHING on that system, anything
at all.
On my arm64 system, this works fine:
{{{
% arch -x86_64 /bin/zsh
% uname -a
Darwin Kens-MBP 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58
PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 x86_64
% cat hello.cpp
// Your First C++ Program
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
% /usr/bin/clang++ -pipe -Os hello.cpp
% file a.out
a.out: Mach-O 64-bit executable x86_64
% ./a.out
Hello World!
}}}
does that work for you?
My suspicion is that your problem is coming from specifying the SDK
exactly
{{{-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk}}}
but that SDK doesn't actually translate to a real SDK. However, you'd have
to check that yourself.
--
Ticket URL: <https://trac.macports.org/ticket/69812#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list