The original issue with get_cpuid() came while trying to debug bug 99066 and has been forwarded to GCC (see URL above). Apparently the current implementation of get_cpuid() is violating the red zone (see GCC bugreport) and hence does segfault on x32. There are several suggestions on the GCC bug report to work around/fix the issue.
Great! Thanks a lot for filing the GCC bug. Using the __cpuid macro seems like the best solution. I'll make a patch.
Patch submitted: https://patchwork.freedesktop.org/patch/189761/
The patch is now in master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.