Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181441 - kde-base/{kdebase-3.5.8-r6,kdm-3.5.8-r1}: Ignored LDFLAGS: /usr/kde/3.5/bin/kdm
Summary: kde-base/{kdebase-3.5.8-r6,kdm-3.5.8-r1}: Ignored LDFLAGS: /usr/kde/3.5/bin/kdm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 17:06 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2008-02-21 13:23 UTC (History)
0 users

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


Attachments
kdm-3.5.8-respect-LDFLAGS.patch (kdm-3.5.8-respect-LDFLAGS.patch,587 bytes, patch)
2008-02-13 00:59 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-09 17:06:24 UTC
/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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-09 17:07:28 UTC
Maybe you could elaborate on how did you come to the conclusion that your
LDFLAGS are ignored, which ones are ignored and where's the problem. The above
cryptic stuff unfortunately doesn't explain anything.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-09 17:28:18 UTC
(In reply to comment #1)
> Maybe you could elaborate on how did you come to the conclusion that your
> 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'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 >99,5% of results are correct.

> which ones are ignored

All.

> and where's the problem.

Ignoring LDLFAGS increases files sizes and decreases performance.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:48:14 UTC
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.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-02-13 00:59:43 UTC
Created attachment 143375 [details, diff]
kdm-3.5.8-respect-LDFLAGS.patch
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-02-13 01:00:11 UTC
I have attached the patch.
Comment 6 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-02-21 13:23:02 UTC
Fixed in 3.5.9, thanks for the patch.