Open 0xman opened 5 years ago
Scanning dependencies of target xmrig-notls [ 1%] Building CXX object CMakeFiles/xmrig-notls.dir/src/api/NetworkState.cpp.o cc1plus: error: unrecognized argument in option ‘-mcpu=native’ cc1plus: note: valid arguments to ‘-mcpu=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan cc1plus: error: unrecognized argument in option ‘-mtune=native’ cc1plus: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e650 0 ec603e power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerp c powerpc64 powerpc64le rs64 titan cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’ CMakeFiles/xmrig-notls.dir/build.make:62: recipe for target 'CMakeFiles/xmrig-no tls.dir/src/api/NetworkState.cpp.o' failed make[2]: [CMakeFiles/xmrig-notls.dir/src/api/NetworkState.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrig-notls.dir/all' fail ed make[1]: [CMakeFiles/xmrig-notls.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
what went wrong? i'm compiling for target ppc64
Dunno, your compiler doesn't recognize -mtune=native, that means its either old or incompatible.
Scanning dependencies of target xmrig-notls [ 1%] Building CXX object CMakeFiles/xmrig-notls.dir/src/api/NetworkState.cpp.o cc1plus: error: unrecognized argument in option ‘-mcpu=native’ cc1plus: note: valid arguments to ‘-mcpu=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan cc1plus: error: unrecognized argument in option ‘-mtune=native’ cc1plus: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e650 0 ec603e power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerp c powerpc64 powerpc64le rs64 titan cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’ CMakeFiles/xmrig-notls.dir/build.make:62: recipe for target 'CMakeFiles/xmrig-no tls.dir/src/api/NetworkState.cpp.o' failed make[2]: [CMakeFiles/xmrig-notls.dir/src/api/NetworkState.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrig-notls.dir/all' fail ed make[1]: [CMakeFiles/xmrig-notls.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
what went wrong? i'm compiling for target ppc64