F5F Stay Refreshed Software Operating Systems Secure compiler flags for Xeon architecture

Secure compiler flags for Xeon architecture

Secure compiler flags for Xeon architecture

A
akjosh47
Member
190
11-20-2025, 09:37 PM
#1
The Lenovo P520 is coming with a Xeon-W 2133 processor and I'm uncertain about the CFLAGS settings. According to the Gentoo Linux Handbook, it should work with Broadwell flags, though this was before CGG 6 and now available for newer 17.x profiles. Do you have any advice on this? I’m open to using march=native but want to optimize further.
A
akjosh47
11-20-2025, 09:37 PM #1

The Lenovo P520 is coming with a Xeon-W 2133 processor and I'm uncertain about the CFLAGS settings. According to the Gentoo Linux Handbook, it should work with Broadwell flags, though this was before CGG 6 and now available for newer 17.x profiles. Do you have any advice on this? I’m open to using march=native but want to optimize further.

M
macmacoo
Member
193
12-04-2025, 02:24 AM
#2
I'll handle this on my own, -march=native unless I need to use distcc, but there are alternatives. I won't be using distcc, so I'll go with native.
M
macmacoo
12-04-2025, 02:24 AM #2

I'll handle this on my own, -march=native unless I need to use distcc, but there are alternatives. I won't be using distcc, so I'll go with native.