[MacPorts] #66662: gklib fails on Rosetta due to unsupported -march=native flag
MacPorts
noreply at macports.org
Wed Jan 11 01:28:00 UTC 2023
#66662: gklib fails on Rosetta due to unsupported -march=native flag
-------------------------------------------+----------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: powerpc, rosetta, snowleopard | Port: gklib
-------------------------------------------+----------------------
{{{
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
make[2]: *** [CMakeFiles/GKlib.dir/b64.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
make[2]: *** [CMakeFiles/GKlib.dir/error.c.o] Error 1
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
make[2]: *** [CMakeFiles/GKlib.dir/csr.c.o] Error 1
gcc-mp-12: error: unrecognized command-line option '-march=native'; did
you mean '-mcpu=native'?
make[2]: *** [CMakeFiles/GKlib.dir/cache.c.o] Error 1
make[2]: *** [CMakeFiles/GKlib.dir/blas.c.o] Error 1
make[2]: *** [CMakeFiles/GKlib.dir/fkvkselect.c.o] Error 1
make[2]: *** [CMakeFiles/GKlib.dir/evaluate.c.o] Error 1
make[2]: *** [CMakeFiles/GKlib.dir/fs.c.o] Error 1
}}}
On any PPC `-mtune=native` should be used instead.
--
Ticket URL: <https://trac.macports.org/ticket/66662>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list