On 27.09.22 10:30, Jan Engelhardt wrote:
On Tuesday 2022-09-27 09:18, Stefan Seyfried wrote:
can someone describe what the exact changes in which OBS projects / packages will be to enable x86_64-v2-or-later-only?
osc meta prjconf -e
add a line
Optflags: x86_64 -march=x86_64(-v2)
OK, this would be easy. Isn't there stuff in glibc that decides to no longer build the "legacy hwcaps" stuff etc?
My idea is that I'd like to build a set of packages that allow "legacy" machines to still boot / be useful.
This would be the time to opine for a https://download.opensuse.org/ports/x86_64/ project.
Absolutely. Or maybe /ports/x86_64-v2+ and keep the default as-is ;-)
My guess / hope is, that only a few packages actually need to be built with "legacy" flags enabled (glibc of course, maybe gcc?) and most others will just keep working.
About 15 years ago I could run i586 packages on a 386DX, but that only worked because the kernel had softemulation for 387 floating point instruction.
I don't see that for SSSE3/SSE4.2/POPCNT (x8664v2).
But does the compiler even use these often for "normal" software? My naive idea would be to just recompile these packages that actually use these. I'd really like to avoid for now to do for i in $(osc ls openSUSE:Factory); do osc linkpac openSUSE:Factory $i home:seife:factory done and start building *everything* ;-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman