Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 181437

Summary: dev-lang/tk-8.4.14: Ignored LDFLAGS: /usr/lib/libtk8.4.so
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: minor CC: tcltk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-09 17:02:38 UTC
/var/tmp/portage/dev-lang/tk-8.4.14/image/usr/lib/libtk8.4.so
  [ 1] .hash            HASH           000000f4 0000f4 00162c 04   A  3   0  4
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-09 17:06:07 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:27:37 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:13 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 2007-06-20 09:53:17 UTC
It seems to be fixed in tk-8.5_alpha6. I wasn't checking older alpha versions. Now we must wait for final 8.5 release.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-07-21 16:57:17 UTC
Reopening.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-07-21 16:57:53 UTC
It is fixed in dev-lang/tk-8.5_alpha6.