Bug 275278

Summary: valgrind does not build on Linux kernel 3.0.* due to silly configure check
Product: [Developer tools] valgrind Reporter: Matěj Laitl <matej>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: tom
Priority: NOR    
Version: 3.6.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matěj Laitl 2011-06-09 13:10:09 UTC
Version:           3.6.0
OS:                Linux

Running ./configure for valgrind 3.6.1 on Linux kernel 3.0-rc1:

checking for the kernel version... unsupported (3.0.0-rc1-00049-g1fa7b6a)
configure: error: Valgrind works on kernels 2.4, 2.6

And the build fails. I think the kernel version check shouldn't even be there as kernel used for compiling valgrind need not to be the same used for running it (think of cross-compiling etc.)

Reproducible: Always

Steps to Reproduce:
1. Run 3.0* kernel
2. Try to build valgrind

Actual Results:  
Build fails.

Expected Results:  
Valgrind builds regardless of build host kernel version.
Comment 1 Tom Hughes 2011-06-09 13:26:33 UTC
This was fixed four days ago in r11796.
Comment 2 Matěj Laitl 2011-06-09 15:19:01 UTC
(In reply to comment #1)
> This was fixed four days ago in r11796.

Ah, sorry and thanks, I should have checked svn first.