]> git.ipfire.org Git - thirdparty/squid.git/commit
Flip configure --enable-arch-native default (#2261) auto master
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Thu, 2 Oct 2025 20:03:45 +0000 (20:03 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 2 Oct 2025 23:20:47 +0000 (23:20 +0000)
commitdc66c46762fb94e3dcf0103b5c6f7bc3a1ef5aa5
treeefc406761523040b70f80d4f0d26b7c524addc4e
parent7bc5ff7e456e076444c2be03d79efdd5f1cd22de
Flip configure --enable-arch-native default (#2261)

Flip the default of configure's `--enable-arch-native` option from
enabled to disabled.

GCC's and clang's `-march=native` argument causes issues in some
environments, most notably containers where the compilers' heuristics
about CPU feature set may fail. These issues manifest as
hard-to-reproduce SIGILL errors in binaries such as `squid` or unit test
programs. The new default is safer. Performance-minded administrators
still have a convenient option to optimize via `--enable-arch-native`.
configure.ac
doc/release-notes/release-7.sgml.in
test-suite/buildtests/layer-01-minimal.opts
test-suite/buildtests/layer-02-maximus.opts