<?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>181441</bug_id>
          
          <creation_ts>2007-06-09 17:06 0000</creation_ts>
          <short_desc>kde-base/{kdebase-3.5.8-r6,kdm-3.5.8-r1}: Ignored LDFLAGS: /usr/kde/3.5/bin/kdm</short_desc>
          <delta_ts>2008-02-21 13:23:02 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>KDE</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>arfrever@gentoo.org</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2007-06-09 17:06:24 0000</bug_when>
            <thetext>/var/tmp/portage/kde-base/kdebase-3.5.7/image/usr/kde/3.5/bin/kdm
  [ 3] .hash            HASH           08048188 000188 000510 04   A  5   0  4</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-06-09 17:07:28 0000</bug_when>
            <thetext>Maybe you could elaborate on how did you come to the conclusion that your
LDFLAGS are ignored, which ones are ignored and where&apos;s the problem. The above
cryptic stuff unfortunately doesn&apos;t explain anything.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2007-06-09 17:28:18 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Maybe you could elaborate on how did you come to the conclusion that your
&gt; LDFLAGS are ignored

Some LDFLAGS can change existence of some sections in ELF files. I have such (at least) 2 flags in my LDFLAGS and one of them always change existence of some sections when isn&apos;t ignored.
I changed /usr/lib/portage/bin/prepstrip, so that it now additionally runs readelf and grep and copy the output to the log file.
I perform some tests (reading emerge logs) and &gt;99,5% of results are correct.

&gt; which ones are ignored

All.

&gt; and where&apos;s the problem.

Ignoring LDLFAGS increases files sizes and decreases performance.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-06-12 17:48:14 0000</bug_when>
            <thetext>OK, that was about enough.

1/ Use common sense when filing bugs (like, what about mailing gentoo-dev mailing list first and asking about the best course of action here?
2/ If you have a patch, submit it *upstream* unless this is a *Gentoo-specific* issue.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2008-02-13 00:59:43 0000</bug_when>
            <thetext>Created an attachment (id=143375)
kdm-3.5.8-respect-LDFLAGS.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2008-02-13 01:00:11 0000</bug_when>
            <thetext>I have attached the patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ingmar@gentoo.org</who>
            <bug_when>2008-02-21 13:23:02 0000</bug_when>
            <thetext>Fixed in 3.5.9, thanks for the patch.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>143375</attachid>
            <date>2008-02-13 00:59 0000</date>
            <desc>kdm-3.5.8-respect-LDFLAGS.patch</desc>
            <filename>kdm-3.5.8-respect-LDFLAGS.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGtkbS9iYWNrZW5kL01ha2VmaWxlLmFtCisrKyBrZG0vYmFja2VuZC9NYWtlZmlsZS5hbQpA
QCAtMSw3ICsxLDcgQEAKICMgZm9yY2libHkgcmVtb3ZlIHRocmVhZC1yZWxhdGVkIGRlZmluZXMg
JiBmbGFncwogQVVUT01BS0VfT1BUSU9OUyA9IGZvcmVpZ24KIENQUEZMQUdTID0gJChVU0VSX0lO
Q0xVREVTKSAkKFhfSU5DTFVERVMpICQoS1JCNF9JTkNTKSAkKEtSQjVfSU5DUykgLUkuLiAtSS4u
Ly4uCi1MREZMQUdTID0gJChVU0VSX0xERkxBR1MpICQoWF9MREZMQUdTKSAkKFhfUlBBVEgpICQo
S1JCNF9SUEFUSCkgJChLUkI1X1JQQVRIKQorTERGTEFHUyA9IEBMREZMQUdTQCAkKFVTRVJfTERG
TEFHUykgJChYX0xERkxBR1MpICQoWF9SUEFUSCkgJChLUkI0X1JQQVRIKSAkKEtSQjVfUlBBVEgp
CiBMREFERCA9ICQoTElCX1gxMSkgLWxYYXUgJChMSUJYRE1DUCkgJChQQVNTV0RMSUJTKSAkKExJ
QlNIQURPVykgJChMSUJHRU4pIFwKICAgICAkKExJQl9MSUJTKSAkKEtSQjRfTElCUykgJChLUkI1
X0xJQlMpICQoTElCU09DS0VUKSAkKExJQlJFU09MVikgXAogICAgICQoTElCVUNCKSAkKExJQlVU
SUwpICQoTElCUE9TSVg0KQo=
</data>        

          </attachment>
    </bug>

</bugzilla>