Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107714 - Prelink ist not prelinking because of "dead" links
Summary: Prelink ist not prelinking because of "dead" links
Status: RESOLVED DUPLICATE of bug 82117
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 08:56 UTC by Regin
Modified: 2005-11-13 21:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regin 2005-09-30 08:56:17 UTC
Prelink does nothing, stops on filesystemerror (too many paths/bad links)

-> /usr/local/lib/lib64 links to lib64
-> /lib/lib64 links to lib64
-> /usr/lib/lib64 to lib64

all these links are bad, it seems gcc-emerge created them. So prelink stops
prelinking. removing them solves the Problem...

Reproducible: Always
Steps to Reproduce:
1.use profile amd64
2.use stable emerge prelink
3.prelink -afmR
4.strace prelink -afmR -> badlinks

Actual Results:  
nothing prelinked

Expected Results:  
prelinked all prelinkable

maybe gcc-3.4.4-r1 created them
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-10-08 08:47:35 UTC
qpkg -f doesn't display anything, so they are probably generated with some
script, not installed through emerge.

eradicator: do you have an idea where they come from?
Comment 2 Regin 2005-10-09 05:18:14 UTC
I had them on an one week old fresh am64-gentoo-2005.1-profile installation with
*hardened-use-flag. I switched back to -hardened before trying prelinking, maybe
the hardened-toolchain created them...

i think, it would help if prelink would do verbose output when quitting because
of filesys-errors
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-10-11 10:12:15 UTC
mmm... i don't use prelink, and I don't like prelink... it's a bad idea, IMO...
so I'm sorry, but I can't really help you here... =/
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-10-12 01:13:36 UTC
Jeremy, that's not a prelink-issue per-se. I wonder why all those broken links
get installed and where they come from.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-11-12 03:56:13 UTC
although the broken links are somewhat questionable, prelink shouldn't bother
about them IMHO, so i'd rather change prelink's handling... base-system herd,
what do you think?
Comment 6 Regin 2005-11-12 09:29:49 UTC
If prelink would display i/o errors or continues on them, it would be enough imho...
Comment 7 Stefan Jones (RETIRED) gentoo-dev 2005-11-13 21:27:22 UTC

*** This bug has been marked as a duplicate of 82117 ***