SUMMARY While compiling valgrind 3.17 on RHEL6/OracleLinux6, the GNU Assembly does not recognize 'rdseed' mnemonics: priv/guest_amd64_helpers.c:3799: Error: no such instruction: `rdseed %r11d' STEPS TO REPRODUCE 1. Use RHEL6/OracleLinux6 (gcc 4.4.7, binutils 2.20.51) 2. ./configure && make OBSERVED RESULT "make" fails: priv/guest_amd64_helpers.c:3799: Error: no such instruction: `rdseed %r11d' EXPECTED RESULT "make" was expected to succeed SOFTWARE/OS VERSIONS RHEL 6.10 or Oracle Linux 6.10 $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.10 (Santiago) $ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23.0.1) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ as --version GNU assembler version 2.20.51.0.2-5.48.0.3.el6_10.1 20100205 Copyright 2009 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-redhat-linux'. ADDITIONAL INFORMATION The Red Hat Enterprise Linux 6.x has an End of Extended Lifecycle Support on 30 June 2024. Oracle Linux 6.x also has its Extended Support ending on June 2024. These OS versions are being used now.
$ uname -a Linux <skipped_hostname> 2.6.32-754.35.1.el6.x86_64 #1 SMP Wed Oct 7 14:48:30 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
It would be great if you could produce a patch to add rdseed detection to the configure script and to conditionally enable the feature. Otherwise you can build build your own binutils and GCC or stick to an older version of Valgrind.