Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131133 - crossdev using incorrect parameter for binutils-config
Summary: crossdev using incorrect parameter for binutils-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 12:30 UTC by Brett Johnson
Modified: 2006-04-24 15:01 UTC (History)
0 users

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


Attachments
patch to correct crossdev version checking of binutils-config (crossdev-binutils-config-version-fix.patch,456 bytes, patch)
2006-04-24 12:31 UTC, Brett Johnson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Johnson 2006-04-24 12:30:31 UTC
crossdev tries to check the version of binutils using the -v option, and it should be -V.

--- /usr/sbin/crossdev  2006-04-24 14:21:52.000000000 -0500
+++ /tmp/crossdev       2006-04-24 14:25:24.000000000 -0500
@@ -357,7 +357,7 @@
 
 #####################
 ### sanity checks ###
-if ! binutils-config -v &> /dev/null ; then
+if ! binutils-config -V &> /dev/null ; then
        eerror "Sorry, but your host system needs to have binutils-config"
        eerror "in order to keep from screwing things up."
        eerror "That means you must be running unstable versions of"
Comment 1 Brett Johnson 2006-04-24 12:31:20 UTC
Created attachment 85373 [details, diff]
patch to correct crossdev version checking of binutils-config
Comment 2 Brett Johnson 2006-04-24 12:39:03 UTC
Here is the forum thread http://forums.gentoo.org/viewtopic-t-456697-highlight-crossdev.html
Comment 3 SpanKY gentoo-dev 2006-04-24 15:01:39 UTC
better to use --version as all binutils-config support that