I wonder if it's pointing to a wrong GCC, I don't see powerpc or "cell" as valid mtune values
cc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead cc1: error: bad value ('cell') for '-mtune=' switch cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 generic native ---------- Forwarded message --------- From: Michael McAllister <m...@michaelmcallister.org> Date: Mon, May 24, 2021 at 9:43 PM Subject: cross compiling for ppc64 (cell/PS3) To: <t2@t2-project.org> Hi All, I've successfully got my PS3 running the latest version of T2, however I would like to build a new kernel and set some particular kernel params (specifically PS3_VRAM) Obviously the PS3 itself is too slow to compile a kernel on, so I'm using another machine (x86) that has more processor and memory and attempting to cross compile. However, I keep running into the following error: !> /usr/lib64/gcc/x86_64-t2-linux-gnu/11.1.0/../../../../x86_64-t2-linux-gnu/bin/as: unrecognized option '-mpower4' I'm simply running "./scripts/Emerge-Pkg -cfg ps3x linux" (which I think is correct) I believe the likely culprit is my config (attached) does anyone have a known "sane" config that will help me successfully build? Apologies for such a basic question, I've spent all day trying to make this work!
config
Description: Binary data
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to li...@t2-project.org with a subject of: unsubscribe t2