Lionel,<br>     On the first three items, won&#39;t we always have to keep these until all of the packages either support autoreconfiguring or start using libtool 2.4? Like I said before, I ran into three packages that wouldn&#39;t autoreconfigure, so they would still need the traditional approach. Also, I haven&#39;t had a chance to really investigate this, but isn&#39;t TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib also needed by gentargets to link to the correct libraries?<br>

     As for my setup, the only difference is, I compiled libtool with --with-sysroot (no directory given), and I don&#39;t configure the package with it. libtool gets the sysroot directory from gcc&#39;s sysroot, if none is specified. Everything else is the same. What kind of problems did you encounter? Was it just the problem with autoreconfiguring packages?<br>

<br>Martin<br><br><div class="gmail_quote">On Sun, Oct 3, 2010 at 4:47 PM, Lionel Landwerlin <span dir="ltr">&lt;<a href="mailto:llandwerlin@gmail.com">llandwerlin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

As long as we keep the following things, we can bump to 2.2 or 2.4 :<br>
        * sed pass on .la files<br>
        * Add -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib to LDFLAGS<br>
        * patches for encountered libtool versions<br>
<br>
I always took the hypothesis that we wanted to get rid of the first 2,<br>
and wanted to keep the third only for special cases.<br>
<br>
I encountered problem with libtool 2.4 for several packages under the<br>
following conditions :<br>
        * run autoreconf on the package<br>
        * do not apply the libtool patch<br>
        * configure the package with --with-sysroot=$(STAGING_DIR) option<br>
<br>
Martin, did you have the same setup ?<br>
<br>
I guess we&#39;re back to the current situation if we don&#39;t pass the<br>
--with-sysroot option and we apply a libtool patch for the correct<br>
libtool version.<br>
<br>
Regards,<br>
<font color="#888888"><br>
--<br>
Lionel Landwerlin<br>
<br>
Le dimanche 03 octobre 2010 à 15:36 -0700, Martin Banky a écrit :<br>
</font><div><div></div><div class="h5">&gt; If you want to integrate my patches, I would like to submit a new set<br>
&gt; of patches with some changes in preparation for libtool 2.4, mainly<br>
&gt; with <a href="http://Makefile.autotools.in" target="_blank">Makefile.autotools.in</a>. I have it setup now to distinguish between<br>
&gt; 1.5.x, 2.2.x, and 2.4. Also, in working on converting the packages to<br>
&gt; either gentargets or autotargets, I&#39;ve been noticing a lot of packages<br>
&gt; have their own libtool patch. I would like to go through, and clean<br>
&gt; them up. I have a question, why can&#39;t we upgrade to libtool 2.4? I&#39;ve<br>
&gt; been running it now since I first posted the heads up patch, and have<br>
&gt; used it with the sysroot option turned on without any obvious issues.<br>
&gt; If the sysroot option is an issue, we could turn it off for now and<br>
&gt; use the libtool patches until we integrate the sysroot option<br>
&gt; properly, right? The imagemagick patch set that I posted, was first<br>
&gt; done with libtool 2.4 and autoreconfigure turned on. I wanted to make<br>
&gt; sure that it would work properly in this configuration, in preparation<br>
&gt; of the coming changes. It was then actually posted with<br>
&gt; autoreconfigure turned off and using the libtool patch. As a side<br>
&gt; note, I just realized that imagemagick is using libtool 2.2.x, which<br>
&gt; means that it&#39;s incorporation is blocked until either I add it&#39;s own<br>
&gt; libtool patch or we commit my libtool patch set. Sorry about that. If<br>
&gt; anyone would like me to add the libtool patch to imagemagick, and<br>
&gt; repost, let me know.<br>
&gt;<br>
&gt; Martin<br>
&gt;<br>
&gt; On Sun, Oct 3, 2010 at 7:22 AM, Thomas Petazzoni<br>
&gt; &lt;<a href="mailto:thomas.petazzoni@free-electrons.com">thomas.petazzoni@free-electrons.com</a>&gt; wrote:<br>
&gt;         Hello,<br>
&gt;<br>
&gt;         On Sun, 03 Oct 2010 15:22:26 +0200<br>
&gt;         Lionel Landwerlin &lt;<a href="mailto:llandwerlin@gmail.com">llandwerlin@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;         &gt; Here is what I would like to us to do for the next<br>
&gt;         releases :<br>
&gt;         &gt;<br>
&gt;         &gt; 1) Bump libtool package to 2.2, more and more packages<br>
&gt;         require libtool<br>
&gt;         &gt; 2.2, and we&#39;re stuck to not autoreconfigure them without<br>
&gt;         2.2. This is<br>
&gt;         &gt; already creating problems to Thomas when trying to bump host<br>
&gt;         &gt; libglib/libgtk packages.<br>
&gt;<br>
&gt;<br>
&gt;          1a) Integrate Martin Banky&#39;s proposal so that packages using<br>
&gt;         libtool<br>
&gt;              2.2 can work without the need to autoreconfigure them.<br>
&gt;<br>
&gt;         &gt; 2) Eventually integrate some patches to libtool 2.2 to be<br>
&gt;         able to<br>
&gt;         &gt; cross compile autoreconfigured packages.<br>
&gt;         &gt;<br>
&gt;         &gt; 3) When the libtool 2.4 sysroot issue is sorted out, bump to<br>
&gt;         libtool<br>
&gt;         &gt; 2.4 and get rid of the patches integrated in 2).<br>
&gt;         &gt;<br>
&gt;         &gt; I think 1) is mandatory for 2010.11.<br>
&gt;<br>
&gt;<br>
&gt;         And 1a).<br>
&gt;<br>
&gt;         So, I would suggest :<br>
&gt;<br>
&gt;          *) Peter merges Martin Banky&#39;s set of patches on libtool<br>
&gt;<br>
&gt;          <a href="http://lists.busybox.net/pipermail/buildroot/2010-September/037505.html" target="_blank">http://lists.busybox.net/pipermail/buildroot/2010-September/037505.html</a><br>
&gt;<br>
&gt;<br>
&gt;          *) Lionel, could you propose a patch that just bumps libtool<br>
&gt;         to 2.2 ?<br>
&gt;<br>
&gt;         Lionel, Martin, Peter, what do you think ?<br>
&gt;<br>
&gt;         Thanks,<br>
&gt;<br>
&gt;         Thomas<br>
&gt;         --<br>
&gt;         Thomas Petazzoni, Free Electrons<br>
&gt;         Kernel, drivers, real-time and embedded Linux<br>
&gt;         development, consulting, training and support.<br>
&gt;         <a href="http://free-electrons.com" target="_blank">http://free-electrons.com</a><br>
&gt;         _______________________________________________<br>
&gt;<br>
&gt;<br>
&gt;         buildroot mailing list<br>
&gt;         <a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
&gt;         <a href="http://lists.busybox.net/mailman/listinfo/buildroot" target="_blank">http://lists.busybox.net/mailman/listinfo/buildroot</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; buildroot mailing list<br>
&gt; <a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
&gt; <a href="http://lists.busybox.net/mailman/listinfo/buildroot" target="_blank">http://lists.busybox.net/mailman/listinfo/buildroot</a><br>
<br>
<br>
</div></div></blockquote></div><br>