--version output: part of the "ABI" ?
Mike Frysinger
vapier@gentoo.org
Tue May 12 01:32:00 GMT 2009
More information about the Binutils mailing list
Tue May 12 01:32:00 GMT 2009
- Previous message (by thread): [PATCH] gold: create .gnu_incremental_inputs entries for inputs
- Next message (by thread): --version output: part of the "ABI" ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
it isnt uncommon for packages to parse the version output of GNU packages. typically they take the format: <program name> (<project name>) <project version> <copyright/license notices> so here is `head -n1` of ls, makeinfo, ld, and gcc: ls (GNU coreutils) 7.4 makeinfo (GNU texinfo) 4.13 GNU ld (Linux/GNU Binutils) 2.19.51.0.4.20090418 gcc (Gentoo 4.3.3-r2) 4.3.3 binutils, gcc, and glibc expect this kind of thing when detecting GNU tool versions. gold however uses a different format: GNU gold (GNU Binutils 2.19.51.20090510) 1.9 which causes things like glibc to fall over because it finds "1.9" instead of "2.19.xxx". as such, i think the gold version output should be changed to something like: GNU gold (GNU Binutils 1.9) 2.19.51.20090510 or omit the 1.9 completely ... -mike
- Previous message (by thread): [PATCH] gold: create .gnu_incremental_inputs entries for inputs
- Next message (by thread): --version output: part of the "ABI" ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list