Bug 879286 - libtool rearranges parameters
Summary: libtool rearranges parameters
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Dubaj
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-22 14:34 UTC by Jan Horak
Modified: 2021-10-05 08:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-05 08:28:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Horak 2012-11-22 14:34:09 UTC
Description of problem:
Libtool rearranges parameters, for example it puts -Wl,--whole-archive before all libraries (-l<lib>).

See: http://pastebin.com/hGsa7taE - look for '-Wl,--whole-archive' string. First line contains how libtool was called, second what libtool actually executed.

Is there any workaround for this?

Comment 2 Jan Horak 2012-11-26 16:46:13 UTC
Possible workaround is to add -Xlinker parameter to LDFLAGS, like:
yelp_LDFLAGS = $(AM_LDFLAGS) -Xlinker '--whole-archive -lmozglue -lmemory -Wl,--no-whole-archive'
Howerver before 'configure' script is launched LDFLAGS must be reset.

Comment 4 Pavel Raiskup 2016-07-25 12:08:12 UTC
It is too late for RHEL6.

It is actually upstream issue.  Reported e.g. here:
https://lists.gnu.org/archive/html/libtool/2015-09/msg00001.html

Let's s it open against Fedora Rawhide.

Comment 5 Fedora Admin user for bugzilla script actions 2021-07-01 15:31:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Ondrej Dubaj 2021-10-01 08:16:23 UTC
Hi, is this still an issue? Seems like it does not bother anybody, or it is already resolved/workarounded ? Seems like upstream didn't respond for a long time...

Comment 7 Ondrej Dubaj 2021-10-05 08:28:51 UTC
This tracker probably does not have enough high priority to be investigated, as it is untouched for years already and does not seem to disturb any user. If you have any specific reason, why why should consider fixing this, please feel free to reopen this bug. Thank you.


Note You need to log in before you can comment on or make changes to this bug.