This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix ldd version check
On Sun, Jan 17, 2010 at 11:16:44PM +0000, Joseph S. Myers wrote:
> On Sun, 17 Jan 2010, Matthias Klose wrote:
>
> > There are two glitches in the ldd version check. Only the first line (starting
> > with ldd) should be used to extract the version number, else the copyright
> > year is extracted as glibc minor version number. ldd built from the eglibc
> > project identifies itself as 'ldd (EGLIBC) 2.10.2' (at least how
> > available/patched in Debian). Unsure if the changed version check is now too
> > sloppy. Ok for the trunk?
>
> I would advise Debian to use --with-pkgversion to identify their version
> exactly (e.g. "Debian EGLIBC 2.10-123") - that's what the
> --with-pkgversion support in EGLIBC (not submitted for FSF glibc) is there
> for - and to use --with-bugurl similarly if not already used.
>
Thanks for the hint, this is done in our SVN, will be used in the next
upload.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net