You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users have reported encountering the following error while running our packages:
Fatal glibc error: CPU does not support x86-64-v2
This issue appears to be related to an incompatibility between the version of glibc used in our 4.8.0 release and certain older CPUs. This error has been specifically noted in environments using Proxmox 7.x or earlier.
Rationale
The root cause of this issue stems from the deprecation of older operating systems (e.g., CentOS 6 and Debian 7) and a change related to CURL:
Additionally, glibc has introduced requirements that certain CPU features must be present, which are only available in CPUs starting from the Intel Core 2 Duo architecture. This means that any CPU lacking these features, or virtual environments not properly emulating them, will fail to execute the binaries.
While Proxmox version 8 and later should not face this issue, older CPUs and certain virtual environments (e.g., Proxmox 7.x or earlier) may not meet the necessary requirements. The failure is likely due to virtualized environments where the CPUID presented to the guest OS does not include the necessary feature flags.
Affected Platforms
Physical machines with CPUs older than Intel Core 2 Duo.
Virtual environments using Proxmox 7.x or earlier.
They do not properly emulate the required CPU features.
Next Steps
Reproduce the issue:
Set up an environment with an affected CPU or a Proxmox 7.x (or earlier) virtual environment to confirm the error.
Assess the impact:
Determine whether the number of affected users and the criticality of this issue justify the development effort for a fix.
Develop the fix:
If deemed necessary, implement a fix by adjusting the compilation flags used when generating the official packages to ensure compatibility with x86-64-v1 CPUs.
Neither of these kernels booted, which leads me to believe that the kernels used in these distributions for Kubernetes/Proxmox are modified.
Given that this issue has only been reported on virtualized systems with Proxmox 7.x, I propose associating the cause of the problem with this specific system. Therefore, I do not see the need to recompile Wazuh for older systems.
Workarounds
Upgrade Proxmox to version 8 or higher.
Change the CPU type to Broadwell-noTSX (thanks @crlsgms!).
Description
Users have reported encountering the following error while running our packages:
This issue appears to be related to an incompatibility between the version of glibc used in our 4.8.0 release and certain older CPUs. This error has been specifically noted in environments using Proxmox 7.x or earlier.
Rationale
The root cause of this issue stems from the deprecation of older operating systems (e.g., CentOS 6 and Debian 7) and a change related to CURL:
Additionally, glibc has introduced requirements that certain CPU features must be present, which are only available in CPUs starting from the Intel Core 2 Duo architecture. This means that any CPU lacking these features, or virtual environments not properly emulating them, will fail to execute the binaries.
While Proxmox version 8 and later should not face this issue, older CPUs and certain virtual environments (e.g., Proxmox 7.x or earlier) may not meet the necessary requirements. The failure is likely due to virtualized environments where the CPUID presented to the guest OS does not include the necessary feature flags.
Affected Platforms
They do not properly emulate the required CPU features.
Next Steps
Set up an environment with an affected CPU or a Proxmox 7.x (or earlier) virtual environment to confirm the error.
Determine whether the number of affected users and the criticality of this issue justify the development effort for a fix.
If deemed necessary, implement a fix by adjusting the compilation flags used when generating the official packages to ensure compatibility with x86-64-v1 CPUs.
Related forums
Related issue with MySQL
All these cases are related to Proxmox 7.x.
References
The text was updated successfully, but these errors were encountered: