Bug 54887
Summary: | Liking against an archive doesn't work right. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | hjl | ||||
Component: | libtool | Assignee: | Jens Petersen <petersen> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-12-04 04:17:35 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
hjl
2001-10-22 18:35:26 UTC
Created attachment 34582 [details]
A patch
Not sure I understand the problem completely, but it seems to me that the "dependency_libs='-L..... -lfoo'" is caused purely because of the "-L." passed through libtool to gcc. What do you think the expected bahaviour should be? It is caused by "-L... -lfoo" and there is libfoo.a, no libfoo.so. In that case, the stupid tool decides to add dependency_libs='-L..... -lfoo" BTW, the libtool people decide to fix it also. See http://mail.gnu.org/pipermail/libtool/2001-October/005697.html Ok. Looks like it needs fixing. But in order to fix I need to know how to reproduce it consistently. Could you give me a working command sequence that reproduces it. I see what you're saying, but the sequence you originally submitted doesn't work correctly. Check out binutils from CVS on sourceware. Make sure you use --enable-shared on Linux. Look for which libiberty.a is used for ld. We want libiberty/libiberty.a, not libiberty/pic/libiberty.a. Yes, I have fixed it in my Linux binutils. Fixed in next rawhide package release. Fixed in libtool-1.4.2-3. Following the thread under http://mail.gnu.org/pipermail/libtool-patches/2002-February/001716.html (Message-ID: <orlme5davr.fsf.lsd.ic.unicamp.br>). I'm reverting this too in libtool-1.4.2-5. |