Red Hat Bugzilla – Bug 161543
mklibs loops infinitely after using chroot
Last modified: 2007-11-30 17:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Description of problem:
I am building an image base on linux kernel 2.6.7 or later but using linux 7.3 libraries. So I made a tarball with 7.3 libraries and untar on the Fedora Core 3, then chroot to it and build the image. The building process loops infinitely when mklibs reduces the library with the same number of unresolved symbols.
Using the same tarball on Red Hat 9, go through the same steps to build the image, it works fine.
I do not know why mklibs can find symbols on FC 3. Is there any difference for chroot or mklibs on Fedora Core 3 and Red Hat 9, or what different environment of the two systems caused the problem?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. tar development directory tree from Red Hat-7.3
2. untar it on Fedora Core 3 and chroot to it.
3. build image with mklibs to reduce the library.
Actual Results: the process loops endlessly in mklibs with the same number of unsolved symbols.
Expected Results: mklibs end up with 0 unsolved symbol.
Start Red Hat 9 with kernel 2.6.7, using the same steps, the image built successfully with 0 unresolved symbol.
*** Bug 161544 has been marked as a duplicate of this bug. ***
What package does mklibs belong to?
Created attachment 115932 [details]
Output of the make process
Created attachment 115933 [details]
mklibs file and its output
It is a WinZip file.
(In reply to comment #2)
> What package does mklibs belong to?
Please refer to my attachment for mklibs and the output.
It sounds more like a bug in mklibs than a bug in bash. Please report your
problem to whoever produces that program.
Created attachment 115936 [details]
names of directories, files and symbolic links