incorrect argument reordering

Bug #459095 reported by jfcgauss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtool (Debian)
Confirmed
Unknown
libtool (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: libtool

i have ubuntu 9.04 amd64 desktop and libtool 2.2.6a-1ubuntu1
when i set LDFLAGS='-Wl,--as-needed' during ./configure of an original source package, that flag gets put at the way end of a link command (ld/gcc blah blah blah -Wl,--as-needed..) by libtool. that makes libtool useless basically
see
http://<email address hidden>/msg05379.html
http://<email address hidden>/msg10260.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650

the patch puts $linker_flags ahead of $libobjs and $deplibs

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: wl nvidia
Package: libtool 2.2.6a-1ubuntu1 [modified: usr/share/aclocal/libtool.m4]
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libtool
Uname: Linux 2.6.28-16-generic x86_64

Revision history for this message
jfcgauss (jfcgauss) wrote :
Revision history for this message
jfcgauss (jfcgauss) wrote :

sorry, it should be "that makes --as-needed useless basically"

Revision history for this message
jfcgauss (jfcgauss) wrote :
James Westby (james-w)
Changed in libtool (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in libtool (Debian):
status: Unknown → New
Revision history for this message
jfcgauss (jfcgauss) wrote :

on my ubuntu 9.04 amd64 desktop i get (takes a couple of minutes):

./depCheck.sh > out.txt
947 of 1839 shared libraries found are sub-optimal
Avg # of unused dependencies for those: 9.054
(890 weird, 5 statically linked or not dynamic)

Revision history for this message
jfcgauss (jfcgauss) wrote :

ldd -r -u /usr/lib/evolution/2.26/plugins/liborg-gnome-gw-account-setup.so
is the winner with 57 ud...

Revision history for this message
jfcgauss (jfcgauss) wrote :
Changed in libtool (Debian):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.