Bug 431254 - Install valgind failed
Summary: Install valgind failed
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 09:11 UTC by wow452
Modified: 2021-03-01 00:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wow452 2021-01-07 09:11:29 UTC
Install valgind failed!
when executing "make", some errors were prompted.

STEPS TO REPRODUCE
1. platform is CentOS release 4.3, version of valgrind is 3.15 && 3.16.1
2. execute "make" after "./autogen.sh" and "./configure"

OBSERVED RESULT
Below is the error message: 
/tmp/cczePtO6.s: Assembler messages:
/tmp/cczePtO6.s:16354: Error: no such instruction: `rdtscp'
/tmp/cczePtO6.s:16550: Error: no such instruction: `rdrand %r11d'
make[3]: *** [Makefile:1445: priv/libvex_amd64_linux_a-guest_amd64_helpers.o] Error 1
make[3]: Leaving directory '/home/disk1/xuexiaodong/tools/valgrind/valgrind-3.15.0/VEX'
make[2]: *** [Makefile:892: all] Error 2
make[2]: Leaving directory '/home/disk1/xuexiaodong/tools/valgrind/valgrind-3.15.0/VEX'
make[1]: *** [Makefile:841: all-recursive] Error 1
make[1]: Leaving directory '/home/disk1/xuexiaodong/tools/valgrind/valgrind-3.15.0'
make: *** [Makefile:710: all] Error 2


EXPECTED RESULT
make successfully

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Tom Hughes 2021-01-07 09:32:34 UTC
Your assembler is too old, which is not really surprising when you're using a 15 year old operating system, for which vendor support ended four years ago...
Comment 2 wow452 2021-01-07 09:48:49 UTC
(In reply to Tom Hughes from comment #1)
> Your assembler is too old, which is not really surprising when you're using
> a 15 year old operating system, for which vendor support ended four years
> ago...
I can install valgrind(3.14) successfully...
But after running 3.14  for a while, an error message of "Segmentation fault" appears, even if I use the normal program.
The program is compiled with gcc10, does the 3.14 not support gcc10 programs???
Comment 3 Tom Hughes 2021-01-07 09:51:58 UTC
The issue you're having with 3.15 is with the assembler not with the compiler so the fact you've upgraded gcc is not relevant unless you've also upgraded binutils to get a newer assembler.

I can't comment on 3.14 without more information about exactly what valgrind says when it fails.