#66662 closed defect (fixed)

gklib fails on Rosetta due to unsupported -march=native flag

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: powerpc, rosetta, snowleopard Cc:
Port: gklib

Description

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.

Change History (1)

comment:1 Changed 22 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 3460ccc6e7a9b47a137013abba6ddb7eb85de79e/macports-ports (master):

gklib: unbreak build on PPC
Fixes: #66662

Note: See TracTickets for help on using tickets.