<?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>157694</bug_id>
          
          <creation_ts>2006-12-09 23:56 0000</creation_ts>
          <short_desc>gcc-config-1.3.14 doesn&apos;t set gcjh and gfortran correctly</short_desc>
          <delta_ts>2007-03-12 16:55:22 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>Core system</component>
          <version>unspecified</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>mail@philippkirchner.de</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>che@chrekh.se</cc>
    
    <cc>heiko@baums-on-web.de</cc>
    
    <cc>l33tmmx@gmail.com</cc>
    
    <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@philippkirchner.de</who>
            <bug_when>2006-12-09 23:56:35 0000</bug_when>
            <thetext>I&apos;m using gcc-config 1.3.14 with gcc-4.1.1 and wondered why gcjh doesn&apos;t function. Simple Solution:

Add gcjh and gfortran, which also doesn&apos;t work to the list of binaries, patch follows</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@philippkirchner.de</who>
            <bug_when>2006-12-10 00:04:04 0000</bug_when>
            <thetext>Created an attachment (id=103725)
Patch for gcc-config

This fixes it for me (TM), haven&apos;t looked if there should be taken special care in the case of cross-compilation or so...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-10 01:29:07 0000</bug_when>
            <thetext>*** Bug 147087 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>l33tmmx@gmail.com</who>
            <bug_when>2006-12-11 23:07:52 0000</bug_when>
            <thetext>Very good patch, but not enough... I was just switching from gcc-3.4.6 to 4.1.1 and started the emerge -e system/world process, but got a lot of fortran-related warnings / errors (libtool almost broke). But with your patch, plus the additional modifications I made to gcc-config, I was able to compile libtool without errors, and at this point emerge -e system is done - without errors - and emerge -e world is about 25% done - again without any serious, fortran-related errors. Thanks, without this lead I would probably still just sit and scratch my head...

The updated patch follows.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>l33tmmx@gmail.com</who>
            <bug_when>2006-12-11 23:09:06 0000</bug_when>
            <thetext>Created an attachment (id=103845)
Updated gcc-config patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>l33tmmx@gmail.com</who>
            <bug_when>2006-12-11 23:17:44 0000</bug_when>
            <thetext>Created an attachment (id=103846)
Updated gcc-config patch, v2

Oh, sorry, there was unnecessary cruft on the original patch. Here&apos;s a clean one.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>telesphore4@gmail.com</who>
            <bug_when>2007-02-20 18:21:50 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Created an attachment (id=103846) [edit]
&gt; Updated gcc-config patch, v2
&gt; 
&gt; Oh, sorry, there was unnecessary cruft on the original patch. Here&apos;s a clean
&gt; one.

This patch may need to make it into v4.1.2 too. It fixed problems I had emerging various scientific packages like scipy with this gcc version.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-03-05 22:18:25 0000</bug_when>
            <thetext>this is basically waiting on the sci team to say &quot;yeah this is OK&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-03-06 06:32:41 0000</bug_when>
            <thetext>Should be fine for gfortran ... can&apos;t speak for gcjh.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anthony.staines@gmail.com</who>
            <bug_when>2007-03-11 23:20:20 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; Should be fine for gfortran ... can&apos;t speak for gcjh.
&gt; 

Works fine for gfortran on 
Linux  2.6.19-gentoo-r5 #7 SMP PREEMPT Sun Mar 11 22:50:09 GMT 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

Installing packages in R now works again,
Thank you very much!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-03-12 06:59:44 0000</bug_when>
            <thetext>added to 1.3.15-r1 then, thanks for the input</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jfostiguy@sbcglobal.net</who>
            <bug_when>2007-03-12 16:34:40 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; added to 1.3.15-r1 then, thanks for the input
&gt; 

The patch applied 1.3.15-r1 is a bit different from the previously submitted patch (which works for me). Unfortunately, for some reason 1.3.15-r1 does not work. Simple test: try &quot;gfortran&quot; with no argument  It should return 

gfortran: no input files


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-03-12 16:55:22 0000</bug_when>
            <thetext>fixed in cvs, it should be {,${CTARGET}-}{... not {,${CTARGET}}-{...</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>103725</attachid>
            <date>2006-12-10 00:04 0000</date>
            <desc>Patch for gcc-config</desc>
            <filename>gcc-config.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC90bXAvZ2NjLWNvbmZpZwkyMDA2LTEyLTEwIDA4OjU4OjExLjAwMDAwMDAwMCArMDEwMAor
KysgL3Vzci9iaW4vZ2NjLWNvbmZpZwkyMDA2LTEyLTEwIDA4OjQ2OjUyLjAwMDAwMDAwMCArMDEw
MApAQCAtMjU1LDcgKzI1NSw3IEBACiAJZG9uZQogCiAJIyBVcGRhdGUgdGhlIHdyYXBwZXJzIGZv
ciB0aGlzIHByb2ZpbGUKLQlsb2NhbCBuYXRpdmU9ImdjYyBjcHAgY2MgYysrIGcrKyBmNzcgZzc3
IGdjaiIKKwlsb2NhbCBuYXRpdmU9ImdjYyBjcHAgY2MgYysrIGcrKyBmNzcgZzc3IGdjaiBnY2po
IGdmb3J0cmFuIgogCWlzX2Nyb3NzX2NvbXBpbGVyICYmIG5hdGl2ZT0iIgogCWZvciB4IGluICR7
bmF0aXZlfSAke0NUQVJHRVR9LXtjcHAsZ2NjLGMrKyxnKyssZjc3LGc3NyxnY2p9IDsgZG8KIAkJ
IyBNYWtlIHN1cmUgd2UgaGF2ZSBubyBzdGFsZSB3cmFwcGVycwo=
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>103845</attachid>
            <date>2006-12-11 23:09 0000</date>
            <desc>Updated gcc-config patch</desc>
            <filename>gcc-config-2.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC90bXAvZ2NjLWNvbmZpZwkyMDA2LTEyLTEyIDA4OjQxOjA2LjAwMDAwMDAwMCArMDIwMAor
KysgL3Vzci9iaW4vZ2NjLWNvbmZpZwkyMDA2LTEyLTEyIDA2OjU3OjU0LjAwMDAwMDAwMCArMDIw
MApAQCAtMjQ5LDE1ICsyNDksMTUgQEAKIAl1bWFzayAwMjIKIAkjIEZpbmQgdGhlIGJpbiB3cmFw
cGVyCiAJbG9jYWwgd3JhcHBlcgotCWZvciB3cmFwcGVyIGluIEdFTlRPT19MSUJESVIgbGliIGxp
YjY0IGxpYjMyIGxpYiA7IGRvCisJZm9yIHdyYXBwZXIgaW4gbGliIGxpYiBsaWI2NCBsaWIzMiBs
aWIgOyBkbwogCQl3cmFwcGVyPSIke1JPT1R9dXNyLyR7d3JhcHBlcn0vbWlzYy9nY2MtY29uZmln
IgogCQlbWyAtZSAke3dyYXBwZXJ9IF1dICYmIGJyZWFrCiAJZG9uZQogCiAJIyBVcGRhdGUgdGhl
IHdyYXBwZXJzIGZvciB0aGlzIHByb2ZpbGUKLQlsb2NhbCBuYXRpdmU9ImdjYyBjcHAgY2MgYysr
IGcrKyBmNzcgZzc3IGdjaiIKKwlsb2NhbCBuYXRpdmU9ImdjYyBjcHAgY2MgYysrIGcrKyBmNzcg
Zzc3IGdjaiBnY2poIGdmb3J0cmFuIgogCWlzX2Nyb3NzX2NvbXBpbGVyICYmIG5hdGl2ZT0iIgot
CWZvciB4IGluICR7bmF0aXZlfSAke0NUQVJHRVR9LXtjcHAsZ2NjLGMrKyxnKyssZjc3LGc3Nyxn
Y2p9IDsgZG8KKwlmb3IgeCBpbiAke25hdGl2ZX0gJHtDVEFSR0VUfS17Y3BwLGdjYyxjKyssZysr
LGY3NyxnNzcsZ2NqLGdjamgsZ2ZvcnRyYW59IDsgZG8KIAkJIyBNYWtlIHN1cmUgd2UgaGF2ZSBu
byBzdGFsZSB3cmFwcGVycwogCQkke1JNfSAtZiAiJHtST09UfS91c3IvYmluLyR7eH0iCiAJCVtb
ICR7eDokeyN4fS0zfSA9PSAiZ2NjIiB8fCAke3g6JHsjeH0tM30gPT0gImcrKyIgXV0gXAoK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>103846</attachid>
            <date>2006-12-11 23:17 0000</date>
            <desc>Updated gcc-config patch, v2</desc>
            <filename>gcc-config-2.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC90bXAvZ2NjLWNvbmZpZwkyMDA2LTEyLTEyIDA4OjQxOjA2LjAwMDAwMDAwMCArMDIwMAor
KysgL3Vzci9sb2NhbC9wb3J0YWdlL3N5cy1kZXZlbC9nY2MtY29uZmlnL2ZpbGVzL2djYy1jb25m
aWctMS4zLjE0CTIwMDYtMTItMTEgMjE6MjQ6MjYuMDAwMDAwMDAwICswMjAwCkBAIC0yNTUsOSAr
MjU1LDkgQEAKIAlkb25lCiAKIAkjIFVwZGF0ZSB0aGUgd3JhcHBlcnMgZm9yIHRoaXMgcHJvZmls
ZQotCWxvY2FsIG5hdGl2ZT0iZ2NjIGNwcCBjYyBjKysgZysrIGY3NyBnNzcgZ2NqIgorCWxvY2Fs
IG5hdGl2ZT0iZ2NjIGNwcCBjYyBjKysgZysrIGY3NyBnNzcgZ2NqIGdjamggZ2ZvcnRyYW4iCiAJ
aXNfY3Jvc3NfY29tcGlsZXIgJiYgbmF0aXZlPSIiCi0JZm9yIHggaW4gJHtuYXRpdmV9ICR7Q1RB
UkdFVH0te2NwcCxnY2MsYysrLGcrKyxmNzcsZzc3LGdjan0gOyBkbworCWZvciB4IGluICR7bmF0
aXZlfSAke0NUQVJHRVR9LXtjcHAsZ2NjLGMrKyxnKyssZjc3LGc3NyxnY2osZ2NqaCxnZm9ydHJh
bn0gOyBkbwogCQkjIE1ha2Ugc3VyZSB3ZSBoYXZlIG5vIHN0YWxlIHdyYXBwZXJzCiAJCSR7Uk19
IC1mICIke1JPT1R9L3Vzci9iaW4vJHt4fSIKIAkJW1sgJHt4OiR7I3h9LTN9ID09ICJnY2MiIHx8
ICR7eDokeyN4fS0zfSA9PSAiZysrIiBdXSBcCg==
</data>        

          </attachment>
    </bug>

</bugzilla>