On Wed, 2009-02-04 at 19:42 +0100, Evgeni Golov wrote: > On Wed, 4 Feb 2009 15:43:24 +0000 Mark Ellis wrote: > > > On Wed, 2009-02-04 at 16:34 +0100, Evgeni Golov wrote: > > > On Wed, 4 Feb 2009 15:26:46 +0000 Mark Ellis wrote: > > > > > > > On Wed, 2009-02-04 at 12:50 +0100, Evgeni Golov wrote: > > > > > Hi, > > > > > > > > > > I'm the Debian maintainer of orange and wanted to update the packages > > > > > to the current 0.4 release. While doing so, I noticed a annoying > > > > > breakage compared to the old 0.3.2 release: > > > > > building/linking liborange.so.0.0.0 does not honour LDFLAGS (it works > > > > > for the orange binary well). > > > > > > > > > > > > > I'm guessing this has something to do with the libtool version, I'm on > > > > 2.2.4. Evgeni, what version are you ? > > > > > > Heh, thats 1.5.26 from Debian sid here. > > > > > > > I'm open to suggestions on how to fix it, but frankly libtool is a black > > > > box to me. > > > > > > Same here :( > > > > > > > In fact, I can see the flags being passed in the build. > > So can I. > > Now I tried with libtool 2.2.6a and have exactly the bad behaviour: > flags are passed but ignored. Revert to 1.5.26, rerun ./bootstrap and > everything is fine. > > Any chance to stick to 1.x for orange? >
I'd rather not, just because I'd have to remember it was manually installed etc etc However, I'm making progress :) Looking at the command line again... libtool: link: gcc -shared .libs/dllinflate.o .libs/extract.o .libs/helper.o .libs/installshield_sfx.o .libs/liborange_log.o .libs/nullsoft.o .libs/pe.o .libs/rsrc.o .libs/separate.o .libs/squeeze.o .libs/suf.o .libs/tomtom.o /usr/lib/libsynce.so -L//lib -L/usr/lib -lhal -ldbus-glib-1 -ldbus-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm /usr/lib/libdynamite.so /usr/lib/libunshield.so /usr/lib/libmagic.so -lz -Wl,-z -Wl,defs -Wl,--as-needed -Wl,-soname -Wl,liborange.so.0 -o .libs/liborange.so.0.0.0 then looking at the ld man page --as-needed --no-as-needed This option affects ELF DT_NEEDED tags for dynamic libraries mentioned on the command line after the --as-needed option. Normally, the linker will add a...... Aha ! Run that command manually with -Wl,--as-needed before all the libs and it works ! But the flags are being passed to libtool before the dependency libs, and for some reason libtool thinks it's a good idea to move them to the end. Now to figure out why.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel