• Tiger lake -march switch?

    From paulie420@1:103/705 to All on Saturday, October 30, 2021 11:11:00
    I'm trying to build syncterm on a frame.work laptop AND ZorinOS Pro. Zorin must report a weird CPU name because other distros built Syncterm just fine. The error I see is:

    cc1: error: bad value ('tigerlake') for '-march=' switchcc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm 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 btver1 btver2 native

    Which should I try, and... where do I enter that? I assume like this:

    sudo make -march=whatever SRC_ROOT=/my/src

    Thanks.



    |07p|15AULIE|1142|07o
    |08.........
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to paulie420 on Saturday, October 30, 2021 17:02:33
    Re: Tiger lake -march switch?
    By: paulie420 to All on Sat Oct 30 2021 11:11 am

    I'm trying to build syncterm on a frame.work laptop AND ZorinOS Pro. Zorin must report a weird CPU name because other distros built Syncterm just fine. The error I see is:

    cc1: error: bad value ('tigerlake') for '-march=' switchcc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm 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 btver1 btver2 native

    Which should I try, and... where do I enter that?

    https://sourceforge.net/p/syncterm/tickets/
    --
    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 71.5øF, 61.0% humidity, 8 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Spellchecker@1:103/705 to paulie420 on Wednesday, January 26, 2022 10:00:38
    Re: Tiger lake -march switch?
    By: paulie420 to All on Sat Oct 30 2021 11:11 am

    I'm trying to build syncterm on a frame.work laptop AND ZorinOS Pro. Zorin must report a weird CPU name because other distros built Syncterm just fine. The error I see is:

    cc1: error: bad value ('tigerlake') for '-march=' switchcc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake
    skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm 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 btver1 btver2 native

    Which should I try, and... where do I enter that? I assume like this:

    sudo make -march=whatever SRC_ROOT=/my/src

    You have to upgrade g++/gcc compiler to a newer version (10+)
    see https://stackoverflow.com/questions/64493692/cc1plus-error-bad-value-tigerlake-for-march-switch-compilation-error/66562219
    for details

    YRW
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)