You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checking build system type... PowerMacintosh-unknown-darwin
checking host system type... PowerMacintosh-unknown-darwin
checking target system type... PowerMacintosh-unknown-darwin
The issue is likely that mk/gcc.mk uses uname -m on Darwin, but that does not return the processor family or an arch; on a powerpc Mac is returns a rather unusable Power Macintosh.
What returns the correct value in a case of a ppc build is uname -p. Notice, though, that this still cannot be used with -arch flag, since it is not the build arch, but cpu family. And for ppc64 build the correct triple will be powerpc64-apple-darwin*.
Also, for macOS it should be powerpc*-apple-darwin*; not sure what is the correct value for Pure Darwin (if anyone still uses it).
Environment
36-244% date
Tue May 21 16:47:29 CST 2024
36-244% uname -ms
Darwin Power Macintosh
The text was updated successfully, but these errors were encountered:
Description
Build system misdetects the triple:
The issue is likely that
mk/gcc.mk
usesuname -m
on Darwin, but that does not return the processor family or an arch; on a powerpc Mac is returns a rather unusablePower Macintosh
.What returns the correct value in a case of a
ppc
build isuname -p
. Notice, though, that this still cannot be used with-arch
flag, since it is not the build arch, but cpu family. And forppc64
build the correct triple will bepowerpc64-apple-darwin*
.Also, for macOS it should be
powerpc*-apple-darwin*
; not sure what is the correct value for Pure Darwin (if anyone still uses it).Environment
The text was updated successfully, but these errors were encountered: