Bug 275278 - valgrind does not build on Linux kernel 3.0.* due to silly configure check
Summary: valgrind does not build on Linux kernel 3.0.* due to silly configure check
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.6.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 13:10 UTC by Matěj Laitl
Modified: 2011-06-09 15:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.