admin管理员组文章数量:1565349
Illegal Instruction errors on Squid 3.4
Synopsis Squid 3.4 and later, running on certain paravirtualized systems and even some claiming full virtualization (at least KVM, Xen, and Xen derivatives are confirmed so far) crashes with an illegal instruction error soon after startup.
Symptoms
- Squid crashes with Illegal Instruction error immediately after startup on a virtual machine on Intel-compatible processors
Explanation
The Squid build system uses by default the -march=native gcc option to optimize the resulting binary. Unfortunately certain (para-)virtualization systems don't support the whole instruction set they advertise. The compiler doesn't know, and generates instructions which trigger this error.
Workaround
These optimizations are helpful but not necessary to have a fully functional squid, especially on ia64/amd64 platforms. The detected defaults can be overridden by supplying the --disable-arch-native option to the configure script.
本文标签: ErrorsSQUIDillegalInstructionrunning
版权声明:本文标题:Illegal Instruction errors on Squid 3.4 Synopsis Squid 3.4 and later, running on certain paravirtual 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1727341030a1109410.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论