Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250570 - [PATCH] dev-util/valgrind - ./configure fails with glibc-2.9
Summary: [PATCH] dev-util/valgrind - ./configure fails with glibc-2.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
: 250959 (view as bug list)
Depends on:
Blocks: glibc-2.9
  Show dependency tree
 
Reported: 2008-12-10 22:28 UTC by Bartosz Szreder
Modified: 2008-12-15 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
configure.in patch (valgrind-glibc-2.9-support.patch,1.02 KB, text/plain)
2008-12-10 22:31 UTC, Bartosz Szreder
Details
glibc-2.9 support file (glibc-2.9.supp,1.74 KB, patch)
2008-12-10 22:32 UTC, Bartosz Szreder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Szreder 2008-12-10 22:28:53 UTC
emerge valgrind fails at ./configure with the following message:

checking the libc version... unsupported version
configure: error: Valgrind requires glibc version 2.2 - 2.7

My glibc:

Ebola ~ # /lib/libc.so.6 | head -n 1
GNU C Library stable release version 2.9, by Roland McGrath et al.

The error message is actually wrong: looking at configure.in showed, that glibc 2.8 _IS_ supported by valgrind, despite showing the need for 2.2 - 2.7.

The following patch fixes configure.in and adds additional glibc-2.9 support file. Valgrind compiles fine and works without problems - in fact it's possible to downgrade glibc to satisfying version, emerge valgrind, upgrade glibc and it works like charm.

Reproducible: Always

Steps to Reproduce:
1. emerge ">=glibc-2.9"
2. emerge valgrind
Comment 1 Bartosz Szreder 2008-12-10 22:31:17 UTC
Created attachment 174914 [details]
configure.in patch
Comment 2 Bartosz Szreder 2008-12-10 22:32:23 UTC
Created attachment 174915 [details, diff]
glibc-2.9 support file
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2008-12-13 10:58:09 UTC
Added to portage. Thanks for the patch!
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2008-12-15 18:44:14 UTC
*** Bug 250959 has been marked as a duplicate of this bug. ***
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-15 18:45:22 UTC
Duh and I even checked and missed this one. Well okay, let's add the blocker ;)