On 27.09.22 12:55, Richard Biener wrote:
On Tue, 27 Sep 2022, Stefan Seyfried wrote:
My idea is that I'd like to build a set of packages that allow "legacy" machines to still boot / be useful. 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. More packages can then be added if we see "SIGILL" crashes.
this obviously will not work as Jan and you already explained, too many packages will have x86_64-v2 code hidden somewhere.
With the GCC change above you'd need to override Optflags in the project config with
Optflags: x86_64 -march=x86-64
but note that packages that do not use RPM_OPT_FLAGS appropriately will have x86-64-v2 uses left via GCCs default unless you re-build the compiler.
OK, so I'll patch "my" gcc version to revert that change, and then link all from openSUSE:Factory to home:seife:Factory, still do Optflags: x86_64 -march=x86-64 just to be sure and then I'll see what happens if I update my machine to the repo that is generated by that stunt :-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman