https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119090

--- Comment #3 from Manuel Alfayate <redwindwanderer at gmail dot com> ---
#### WHAT "-march=native -mtune=native" ENABLES ON MY SYSTEM ####

gcc -march=native -mtune=native -Q --help=target

The following options are target specific:
  -m128bit-long-double                  [enabled]
  -m16                                  [disabled]
  -m32                                  [disabled]
  -m3dnow                               [disabled]
  -m3dnowa                              [disabled]
  -m64                                  [enabled]
  -m80387                               [enabled]
  -m8bit-idiv                           [disabled]
  -m96bit-long-double                   [disabled]
  -mabi=                                sysv
  -mabm                                 [enabled]
  -maccumulate-outgoing-args            [disabled]
  -maddress-mode=                       long
  -madx                                 [enabled]
  -maes                                 [enabled]
  -malign-data=                         compat
  -malign-double                        [disabled]
  -malign-functions=                    0
  -malign-jumps=                        0
  -malign-loops=                        0
  -malign-stringops                     [enabled]
  -mamx-bf16                            [disabled]
  -mamx-complex                         [disabled]
  -mamx-fp16                            [disabled]
  -mamx-int8                            [disabled]
  -mamx-tile                            [disabled]
  -mandroid                             [disabled]
  -mapx-features=                       none
  -mapx-inline-asm-use-gpr32            [disabled]
  -mapxf                                [disabled]
  -march=                               znver4
  -masm=                                att
  -mavx                                 [enabled]
  -mavx10.1                             -mavx10.1-256
  -mavx10.1-256                         [disabled]
  -mavx10.1-512                         [disabled]
  -mavx2                                [enabled]
  -mavx256-split-unaligned-load         [disabled]
  -mavx256-split-unaligned-store        [disabled]
  -mavx5124fmaps                        [disabled]
  -mavx5124vnniw                        [disabled]
  -mavx512bf16                          [enabled]
  -mavx512bitalg                        [enabled]
  -mavx512bw                            [enabled]
  -mavx512cd                            [enabled]
  -mavx512dq                            [enabled]
  -mavx512er                            [disabled]
  -mavx512f                             [enabled]
  -mavx512fp16                          [disabled]
  -mavx512ifma                          [enabled]
  -mavx512pf                            [disabled]
  -mavx512vbmi                          [enabled]
  -mavx512vbmi2                         [enabled]
  -mavx512vl                            [enabled]
  -mavx512vnni                          [enabled]
  -mavx512vp2intersect                  [disabled]
  -mavx512vpopcntdq                     [enabled]
  -mavxifma                             [disabled]
  -mavxneconvert                        [disabled]
  -mavxvnni                             [disabled]
  -mavxvnniint16                        [disabled]
  -mavxvnniint8                         [disabled]
  -mbionic                              [disabled]
  -mbmi                                 [enabled]
  -mbmi2                                [enabled]
  -mbranch-cost=<0,5>                   3
  -mcall-ms2sysv-xlogues                [disabled]
  -mcet-switch                          [disabled]
  -mcld                                 [disabled]
  -mcldemote                            [disabled]
  -mclflushopt                          [enabled]
  -mclwb                                [enabled]
  -mclzero                              [enabled]
  -mcmodel=                             [default]
  -mcmpccxadd                           [disabled]
  -mcpu=                      
  -mcrc32                               [enabled]
  -mcx16                                [enabled]
  -mdaz-ftz                             [disabled]
  -mdirect-extern-access                [enabled]
  -mdispatch-scheduler                  [disabled]
  -mdump-tune-features                  [disabled]
  -menqcmd                              [disabled]
  -mevex512                             [enabled]
  -mf16c                                [enabled]
  -mfancy-math-387                      [enabled]
  -mfentry                              [disabled]
  -mfentry-name=              
  -mfentry-section=           
  -mfma                                 [enabled]
  -mfma4                                [disabled]
  -mforce-drap                          [disabled]
  -mforce-indirect-call                 [disabled]
  -mfp-ret-in-387                       [enabled]
  -mfpmath=                             sse
  -mfsgsbase                            [enabled]
  -mfunction-return=                    keep
  -mfused-madd                          -ffp-contract=fast
  -mfxsr                                [enabled]
  -mgather                              -mtune-ctrl=use_gather
  -mgeneral-regs-only                   [disabled]
  -mgfni                                [enabled]
  -mglibc                               [enabled]
  -mhard-float                          [enabled]
  -mharden-sls=                         none
  -mhle                                 [disabled]
  -mhreset                              [disabled]
  -miamcu                               [disabled]
  -mieee-fp                             [enabled]
  -mincoming-stack-boundary=            0
  -mindirect-branch-cs-prefix           [disabled]
  -mindirect-branch-register            [disabled]
  -mindirect-branch=                    keep
  -minline-all-stringops                [disabled]
  -minline-stringops-dynamically        [disabled]
  -minstrument-return=                  none
  -mintel-syntax                        -masm=intel
  -mkl                                  [disabled]
  -mlam=                                none
  -mlarge-data-threshold=<number>       65536
  -mlong-double-128                     [disabled]
  -mlong-double-64                      [disabled]
  -mlong-double-80                      [enabled]
  -mlwp                                 [disabled]
  -mlzcnt                               [enabled]
  -mmanual-endbr                        [disabled]
  -mmemcpy-strategy=          
  -mmemset-strategy=          
  -mmitigate-rop                        [disabled]
  -mmmx                                 [enabled]
  -mmovbe                               [enabled]
  -mmovdir64b                           [disabled]
  -mmovdiri                             [disabled]
  -mmove-max=                           512
  -mmpx                                 [disabled]
  -mms-bitfields                        [disabled]
  -mmusl                                [disabled]
  -mmwait                               [enabled]
  -mmwaitx                              [enabled]
  -mneeded                              [disabled]
  -mno-align-stringops                  [disabled]
  -mno-default                          [disabled]
  -mno-fancy-math-387                   [disabled]
  -mno-push-args                        [disabled]
  -mno-red-zone                         [disabled]
  -mno-sse4                             [disabled]
  -mnop-mcount                          [disabled]
  -mnoreturn-no-callee-saved-registers  [disabled]
  -momit-leaf-frame-pointer             [disabled]
  -mpartial-vector-fp-math              [enabled]
  -mpc32                                [disabled]
  -mpc64                                [disabled]
  -mpc80                                [disabled]
  -mpclmul                              [enabled]
  -mpcommit                             [disabled]
  -mpconfig                             [disabled]
  -mpku                                 [enabled]
  -mpopcnt                              [enabled]
  -mprefer-avx128                       -mprefer-vector-width=128
  -mprefer-vector-width=                none
  -mpreferred-stack-boundary=           0
  -mprefetchi                           [disabled]
  -mprefetchwt1                         [disabled]
  -mprfchw                              [enabled]
  -mptwrite                             [disabled]
  -mpush-args                           [enabled]
  -mraoint                              [disabled]
  -mrdpid                               [enabled]
  -mrdrnd                               [enabled]
  -mrdseed                              [enabled]
  -mrecip                               [disabled]
  -mrecip=                    
  -mrecord-mcount                       [disabled]
  -mrecord-return                       [disabled]
  -mred-zone                            [enabled]
  -mregparm=                            6
  -mrelax-cmpxchg-loop                  [disabled]
  -mrtd                                 [disabled]
  -mrtm                                 [disabled]
  -msahf                                [enabled]
  -mscatter                             -mtune-ctrl=use_scatter
  -mserialize                           [disabled]
  -msgx                                 [disabled]
  -msha                                 [enabled]
  -msha512                              [disabled]
  -mshstk                               [enabled]
  -mskip-rax-setup                      [disabled]
  -msm3                                 [disabled]
  -msm4                                 [disabled]
  -msoft-float                          [disabled]
  -msse                                 [enabled]
  -msse2                                [enabled]
  -msse2avx                             [disabled]
  -msse3                                [enabled]
  -msse4                                [enabled]
  -msse4.1                              [enabled]
  -msse4.2                              [enabled]
  -msse4a                               [enabled]
  -msse5                                -mavx
  -msseregparm                          [disabled]
  -mssse3                               [enabled]
  -mstack-arg-probe                     [disabled]
  -mstack-protector-guard-offset= 
  -mstack-protector-guard-reg= 
  -mstack-protector-guard-symbol= 
  -mstack-protector-guard=              tls
  -mstackrealign                        [disabled]
  -mstore-max=                          512
  -mstringop-strategy=                  [default]
  -mstv                                 [enabled]
  -mtbm                                 [disabled]
  -mtls-dialect=                        gnu
  -mtls-direct-seg-refs                 [enabled]
  -mtsxldtrk                            [disabled]
  -mtune-ctrl=                
  -mtune=                               znver4
  -muclibc                              [disabled]
  -muintr                               [disabled]
  -munroll-only-small-loops             [disabled]
  -musermsr                             [disabled]
  -mvaes                                [enabled]
  -mveclibabi=                          [default]
  -mvect8-ret-in-mem                    [disabled]
  -mvpclmulqdq                          [enabled]
  -mvzeroupper                          [disabled]
  -mwaitpkg                             [disabled]
  -mwbnoinvd                            [enabled]
  -mwidekl                              [disabled]
  -mx32                                 [disabled]
  -mxop                                 [disabled]
  -mxsave                               [enabled]
  -mxsavec                              [enabled]
  -mxsaveopt                            [enabled]
  -mxsaves                              [enabled]

  Known assembler dialects (for use with the -masm= option):
    att intel

  Known ABIs (for use with the -mabi= option):
    ms sysv

  Known code models (for use with the -mcmodel= option):
    32 kernel large medium small

  Valid arguments to -mfpmath=:
    387 387+sse 387,sse both sse sse+387 sse,387

  Known choices for mitigation against straight line speculation with
-mharden-sls=:
    all indirect-jmp none return

  Known indirect branch choices (for use with the
-mindirect-branch=/-mfunction-return= options):
    keep thunk thunk-extern thunk-inline

  Known choices for return instrumentation with -minstrument-return=:
    call none nop5

  Known data alignment choices (for use with the -malign-data= option):
    abi cacheline compat

  Known vectorization library ABIs (for use with the -mveclibabi= option):
    acml svml

  Known address mode (for use with the -maddress-mode= option):
    long short

  Known preferred register vector length (to use with the
-mprefer-vector-width= option):
    128 256 512 none

  Known stack protector guard (for use with the -mstack-protector-guard=
option):
    global tls

  Valid arguments to -mstringop-strategy=:
    byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop
vector_loop

  Known TLS dialects (for use with the -mtls-dialect= option):
    gnu gnu2

  Known valid arguments for -march= option:
    i386 i486 i586 pentium lakemont pentium-mmx winchip-c6 winchip2 c3 samuel-2
c3-2 nehemiah c7 esther i686 pentiumpro pentium2 pentium3 pentium3m pentium-m
pentium4 pentium4m prescott 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 emeraldrapids alderlake raptorlake
meteorlake graniterapids graniterapids-d arrowlake arrowlake-s lunarlake
pantherlake bonnell atom silvermont slm goldmont goldmont-plus tremont
gracemont sierraforest grandridge clearwaterforest knl knm intel geode k6 k6-2
k6-3 athlon athlon-tbird athlon-4 athlon-xp athlon-mp x86-64 x86-64-v2
x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 lujiazui yongfeng k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1
znver2 znver3 znver4 znver5 btver1 btver2 generic native

  Known valid arguments for -mtune= option:
    generic i386 i486 pentium lakemont pentiumpro pentium4 nocona core2 nehalem
sandybridge haswell bonnell silvermont goldmont goldmont-plus tremont
sierraforest grandridge clearwaterforest knl knm skylake skylake-avx512
cannonlake icelake-client icelake-server cascadelake tigerlake cooperlake
sapphirerapids alderlake rocketlake graniterapids graniterapids-d arrowlake
arrowlake-s pantherlake intel lujiazui yongfeng geode k6 athlon k8 amdfam10
bdver1 bdver2 bdver3 bdver4 btver1 btver2 znver1 znver2 znver3 znver4 znver5

#### EXACT CPU INFORMATION ####

lscpu

Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          48 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   8
  On-line CPU(s) list:    0-7
Vendor ID:                AuthenticAMD
  Model name:             AMD Ryzen 7 8700G w/ Radeon 780M Graphics
    CPU family:           25
    Model:                117
    Thread(s) per core:   1
    Core(s) per socket:   8
    Socket(s):            1
    Stepping:             2
    Frequency boost:      enabled
    CPU(s) scaling MHz:   19%
    CPU max MHz:          5176.0000
    CPU min MHz:          400.0000
    BogoMIPS:             8400.55
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall 
                          nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc
rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_a
                          picid aperfmperf rapl pni pclmulqdq monitor ssse3 fma
cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdra
                          nd lahf_lm cmp_legacy svm extapic cr8_legacy abm
sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topo
                          ext perfctr_core perfctr_nb bpext perfctr_llc mwaitx
cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibp
                          b stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep
bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx
                           smap avx512ifma clflushopt clwb avx512cd sha_ni
avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm
                          _occup_llc cqm_mbm_total cqm_mbm_local user_shstk
avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc ar
                          at npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
flushbyasid decodeassists pausefilter pfthreshold avic vg
                          if x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke
avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bit
                          alg avx512_vpopcntdq rdpid overflow_recov succor smca
fsrm flush_l1d
Virtualization features:  
  Virtualization:         AMD-V
Caches (sum of all):      
  L1d:                    256 KiB (8 instances)
  L1i:                    256 KiB (8 instances)
  L2:                     8 MiB (8 instances)
  L3:                     16 MiB (1 instance)
NUMA:                     
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-7
Vulnerabilities:          
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Not affected
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Mitigation; Safe RET
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via
prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user
pointer sanitization
  Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB
conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affecte
                          d; BHI Not affected
  Srbds:                  Not affected
  Tsx async abort:        Not affected

#### EXACT COMMANDILNE USED TO BUILD THE OBJECTS ####

Compiling src/mame/sega/model1.cpp...                                           
g++ -march=native -mtune=native -march=native -mtune=native  -MMD -MP -MP
-DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -    
DPUGIXML_HEADER_ONLY -DNATIVE_DRC=drcbe_x64 -DASMJIT_STATIC -DLUA_COMPAT_ALL
-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../s     rc/osd"
-I"../../../../../src/emu" -I"../../../../../src/devices"
-I"../../../../../src/mame/shared" -I"../../../../../src/lib" -I    
"../../../../../src/lib/util" -I"../../../../../src/lib/netlist"
-I"../../../../../3rdparty" -I"../../../../generated/mame/layout"     
-I"../../../../../3rdparty/asio/include"
-I"../../../../../3rdparty/flac/include" -I"../../../../../3rdparty/glm"
-I"../../../../     ../3rdparty/libjpeg"
-I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" 
-m64 -std=c++17 -pipe -Werror      -O3 -fno-strict-aliasing
-Wno-unknown-pragmas -Wall -Wcast-align -Wformat-security -Wundef
-Wwrite-strings -Wno-conversion -Wno-s     ign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=s    
tringop-truncation -Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitiali     zed -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-error=class-memaccess
-Wno-xor-used-as-pow -Wsuggest-ov     erride  -o
"../../../../linux_gcc/obj/x64/Release/src/mame/sega/model1.o" -c
"../../../../../src/mame/sega/model1.cpp"

Compiling src/mame/sega/model1_m.cpp...                                         
g++ -march=native -mtune=native -march=native -mtune=native  -MMD -MP -MP
-DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -    
DPUGIXML_HEADER_ONLY -DNATIVE_DRC=drcbe_x64 -DASMJIT_STATIC -DLUA_COMPAT_ALL
-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../s     rc/osd"
-I"../../../../../src/emu" -I"../../../../../src/devices"
-I"../../../../../src/mame/shared" -I"../../../../../src/lib" -I    
"../../../../../src/lib/util" -I"../../../../../src/lib/netlist"
-I"../../../../../3rdparty" -I"../../../../generated/mame/layout"     
-I"../../../../../3rdparty/asio/include"
-I"../../../../../3rdparty/flac/include" -I"../../../../../3rdparty/glm"
-I"../../../../     ../3rdparty/libjpeg"
-I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" 
-m64 -std=c++17 -pipe -Werror      -O3 -fno-strict-aliasing
-Wno-unknown-pragmas -Wall -Wcast-align -Wformat-security -Wundef
-Wwrite-strings -Wno-conversion -Wno-s     ign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=s    
tringop-truncation -Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitiali     zed -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-error=class-memaccess
-Wno-xor-used-as-pow -Wsuggest-ov     erride  -o
"../../../../linux_gcc/obj/x64/Release/src/mame/sega/model1_m.o" -c
"../../../../../src/mame/sega/model1_m.cpp"

Compiling src/mame/sega/model1_v.cpp...                                         
g++ -march=native -mtune=native -march=native -mtune=native  -MMD -MP -MP
-DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -    
DPUGIXML_HEADER_ONLY -DNATIVE_DRC=drcbe_x64 -DASMJIT_STATIC -DLUA_COMPAT_ALL
-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../s     rc/osd"
-I"../../../../../src/emu" -I"../../../../../src/devices"
-I"../../../../../src/mame/shared" -I"../../../../../src/lib" -I    
"../../../../../src/lib/util" -I"../../../../../src/lib/netlist"
-I"../../../../../3rdparty" -I"../../../../generated/mame/layout"     
-I"../../../../../3rdparty/asio/include"
-I"../../../../../3rdparty/flac/include" -I"../../../../../3rdparty/glm"
-I"../../../../     ../3rdparty/libjpeg"
-I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" 
-m64 -std=c++17 -pipe -Werror      -O3 -fno-strict-aliasing
-Wno-unknown-pragmas -Wall -Wcast-align -Wformat-security -Wundef
-Wwrite-strings -Wno-conversion -Wno-s     ign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=s    
tringop-truncation -Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitiali     zed -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-error=class-memaccess
-Wno-xor-used-as-pow -Wsuggest-ov     erride  -o
"../../../../linux_gcc/obj/x64/Release/src/mame/sega/model1_v.o" -c
"../../../../../src/mame/sega/model1_v.cpp"

Compiling src/mame/sega/model1io.cpp...                                         
g++ -march=native -mtune=native -march=native -mtune=native  -MMD -MP -MP
-DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -    
DPUGIXML_HEADER_ONLY -DNATIVE_DRC=drcbe_x64 -DASMJIT_STATIC -DLUA_COMPAT_ALL
-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../s     rc/osd"
-I"../../../../../src/emu" -I"../../../../../src/devices"
-I"../../../../../src/mame/shared" -I"../../../../../src/lib" -I    
"../../../../../src/lib/util" -I"../../../../../src/lib/netlist"
-I"../../../../../3rdparty" -I"../../../../generated/mame/layout"     
-I"../../../../../3rdparty/asio/include"
-I"../../../../../3rdparty/flac/include" -I"../../../../../3rdparty/glm"
-I"../../../../     ../3rdparty/libjpeg"
-I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" 
-m64 -std=c++17 -pipe -Werror      -O3 -fno-strict-aliasing
-Wno-unknown-pragmas -Wall -Wcast-align -Wformat-security -Wundef
-Wwrite-strings -Wno-conversion -Wno-s     ign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=s    
tringop-truncation -Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitiali     zed -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-error=class-memaccess
-Wno-xor-used-as-pow -Wsuggest-ov     erride  -o
"../../../../linux_gcc/obj/x64/Release/src/mame/sega/model1io.o" -c
"../../../../../src/mame/sega/model1io.cpp"

Compiling src/mame/sega/model1io2.cpp...                                        
g++ -march=native -mtune=native -march=native -mtune=native  -MMD -MP -MP
-DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -    
DPUGIXML_HEADER_ONLY -DNATIVE_DRC=drcbe_x64 -DASMJIT_STATIC -DLUA_COMPAT_ALL
-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../s     rc/osd"
-I"../../../../../src/emu" -I"../../../../../src/devices"
-I"../../../../../src/mame/shared" -I"../../../../../src/lib" -I    
"../../../../../src/lib/util" -I"../../../../../src/lib/netlist"
-I"../../../../../3rdparty" -I"../../../../generated/mame/layout"     
-I"../../../../../3rdparty/asio/include"
-I"../../../../../3rdparty/flac/include" -I"../../../../../3rdparty/glm"
-I"../../../../     ../3rdparty/libjpeg"
-I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" 
-m64 -std=c++17 -pipe -Werror      -O3 -fno-strict-aliasing
-Wno-unknown-pragmas -Wall -Wcast-align -Wformat-security -Wundef
-Wwrite-strings -Wno-conversion -Wno-s     ign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=s    
tringop-truncation -Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitiali     zed -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-error=class-memaccess
-Wno-xor-used-as-pow -Wsuggest-ov     erride  -o
"../../../../linux_gcc/obj/x64/Release/src/mame/sega/model1io2.o" -c
"../../../../../src/mame/sega/model1io2.cpp"

#### PREPROCESSED SOURCE (*.i files) ####

I am unable to obtain it because I get these errors when I add "-save-temps" to
my FLAGS (help obtaining those *.i files is needed):

/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:548:46: error: missing
binary operator before token "("
  548 | #elif __cplusplus >= 201103L &&
__has_builtin(__builtin_is_constant_evaluated)
      |                                              ^
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:843:25: error: missing
binary operator before token "("
  843 | #if _GLIBCXX_HAS_BUILTIN(__has_unique_object_representations)
      |                         ^
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:847:25: error: missing
binary operator before token "("
  847 | #if _GLIBCXX_HAS_BUILTIN(__is_aggregate)
      |                         ^
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:851:25: error: missing
binary operator before token "("
  851 | #if _GLIBCXX_HAS_BUILTIN(__builtin_launder)
      |                         ^
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:872:18: error: missing
binary operator before token "("
  872 | #if __has_include(<pstl/pstl_config.h>)
      |                  ^

#### BUILD USING "-march=native -mtune=native -ffp-contract=off" ####

Adding the "-ffp-contract=off" does not have any effect: the exact same bugged
3d graphics appear.

Reply via email to