This bug has been filed in agreement with Matt Jolly on irc. My -march=native expandes as: -march=skylake -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mno-sse4a -mno-fma4 -mno-xop -mfma -mno-avx512f -mbmi -mbmi2 -maes -mpclmul -mno-avx512vl -mno-avx512bw -mno-avx512dq -mno-avx512cd -mno-avx512er -mno-avx512pf -mno-avx512vbmi -mno-avx512ifma -mno-avx5124vnniw -mno-avx5124fmaps -mno-avx512vpopcntdq -mno-avx512vbmi2 -mno-gfni -mno-vpclmulqdq -mno-avx512vnni -mno-avx512bitalg -mno-avx512bf16 -mno-avx512vp2intersect -mno-3dnow -madx -mabm -mno-cldemote -mclflushopt -mno-clwb -mno-clzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mno-movdir64b -mno-movdiri -mno-mwaitx -mno-pconfig -mno-pku -mno-prefetchwt1 -mprfchw -mno-ptwrite -mno-rdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -msgx -mno-sha -mno-shstk -mno-tbm -mno-tsxldtrk -mno-vaes -mno-waitpkg -mno-wbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni -mno-avx512fp16 -mno-avxifma -mno-avxvnniint8 -mno-avxneconvert -mno-cmpccxadd -mno-amx-fp16 -mno-prefetchi -mno-raoint -mno-amx-complex --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=skylake -dumpbase - It looks like -mno-avx512* are causing failures, the specific error is: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/avx512fintrin.h:6499:1: error: inlining failed in call to 'always_inline' '_mm512_loadu_si512': target specific option mismatch If I can do more, please let me know.
>My -march=native expands as: I didn't see the IRC convo, but do you mean that you've expanded it, or it fails with -march=native passed as-is? There's a big difference given *passing* -mno- will override chromium's flags, while -march=native does not. In qtwebengine:6, we've patched things in a way that ensure chromium's -mflags (only used when compiling code meant for detection at runtime) will come *after* user flags. And so they are preserved.
(In reply to Ionen Wolkens from comment #1) > do you mean that you've expanded it, or it > fails with -march=native passed as-is? I mean I have expanded it to get a list common flags between a client and a binhost server.
(In reply to Agostino Sarubbo from comment #0) > > If I can do more, please let me know. A full log and emerge --info? You've also not CCed the other maintainer (.. Matt).