<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>131133</bug_id>
          
          <creation_ts>2006-04-24 12:30 0000</creation_ts>
          <short_desc>crossdev using incorrect parameter for binutils-config</short_desc>
          <delta_ts>2006-04-24 15:01:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>brett@blzj.com</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>brett@blzj.com</who>
            <bug_when>2006-04-24 12:30:31 0000</bug_when>
            <thetext>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 &amp;&gt; /dev/null ; then
+if ! binutils-config -V &amp;&gt; /dev/null ; then
        eerror &quot;Sorry, but your host system needs to have binutils-config&quot;
        eerror &quot;in order to keep from screwing things up.&quot;
        eerror &quot;That means you must be running unstable versions of&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brett@blzj.com</who>
            <bug_when>2006-04-24 12:31:20 0000</bug_when>
            <thetext>Created an attachment (id=85373)
patch to correct crossdev version checking of binutils-config

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brett@blzj.com</who>
            <bug_when>2006-04-24 12:39:03 0000</bug_when>
            <thetext>Here is the forum thread http://forums.gentoo.org/viewtopic-t-456697-highlight-crossdev.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-04-24 15:01:39 0000</bug_when>
            <thetext>better to use --version as all binutils-config support that</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>85373</attachid>
            <date>2006-04-24 12:31 0000</date>
            <desc>patch to correct crossdev version checking of binutils-config</desc>
            <filename>crossdev-binutils-config-version-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3Ivc2Jpbi9jcm9zc2RldgkyMDA2LTA0LTI0IDE0OjIxOjUyLjAwMDAwMDAwMCAtMDUw
MAorKysgL3RtcC9jcm9zc2RldgkyMDA2LTA0LTI0IDE0OjI1OjI0LjAwMDAwMDAwMCAtMDUwMApA
QCAtMzU3LDcgKzM1Nyw3IEBACiAKICMjIyMjIyMjIyMjIyMjIyMjIyMjIwogIyMjIHNhbml0eSBj
aGVja3MgIyMjCi1pZiAhIGJpbnV0aWxzLWNvbmZpZyAtdiAmPiAvZGV2L251bGwgOyB0aGVuCitp
ZiAhIGJpbnV0aWxzLWNvbmZpZyAtViAmPiAvZGV2L251bGwgOyB0aGVuCiAJZWVycm9yICJTb3Jy
eSwgYnV0IHlvdXIgaG9zdCBzeXN0ZW0gbmVlZHMgdG8gaGF2ZSBiaW51dGlscy1jb25maWciCiAJ
ZWVycm9yICJpbiBvcmRlciB0byBrZWVwIGZyb20gc2NyZXdpbmcgdGhpbmdzIHVwLiIKIAllZXJy
b3IgIlRoYXQgbWVhbnMgeW91IG11c3QgYmUgcnVubmluZyB1bnN0YWJsZSB2ZXJzaW9ucyBvZiIK
</data>        

          </attachment>
    </bug>

</bugzilla>