Skip to content

libtool 2.4 upgrade

Khem Raj openembedded-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 12 repliesIn review
  2. v16 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6libtool-2.4: Add recipes for libtool 2.4recipes/libtool/libtool-2.4/cross.patch recipes/libtool/libtool-2.4/prefix-manpage-fix.patch recipes/libtool/libtool-2.4/prefix.patch +7 more+379 -00 replies
2/6bitbake.conf: Define LIBTOOL_HAS_SYSROOTconf/bitbake.conf+9 -40 replies
3/6autotools.bbclass: Conditionally use autotools_prepackage_lamanglerclasses/autotools.bbclass+4 -30 replies
4/6cross.bbclass, staging.bbclass, utils.bbclass: Make sure that .la munging is not done for libtool > 2.4classes/cross.bbclass classes/staging.bbclass classes/utils.bbclass+14 -140 replies
5/6insane.bbclass: If LIBTOOL_HAS_SYSROOT is set then do not check for la insanityclasses/insane.bbclass+1 -10 replies
6/6gnutls_2.10.1.bb: Update to libtools 2.4 macros.recipes/gnutls/gnutls-2.10.1/libtool-update.patch recipes/gnutls/gnutls_2.10.1.bb+10967 -10 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin JansaKoen KooiFrans Meulenbroeks
SeriesA-b A-b A-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH,V2 0/6] libtool 2.4 upgrade

Hi

Following set of patches is v2 of the patches adding support for getting libtool 2.4 into openemebedded. I have so far built minimal-image for two machines successfully using old and new libtool.

The libtool sysroot feature knob is added through LIBTOOL_HAS_SYSROOT variable. If this is set to "yes" then you ought to use libtool > 2.4 by default its set to "no" which means the current behavior remains.

The big change that libtool 2.4 brings is sysroot support and I have added support to use this feature. It should make our life easier.

This needs a lot of testing.

Please cherry pick the patch bundle and give it a try in yout environment

Some distros pin libtool version to 2.2.6b

include/preferred-slugos-versions.inc
include/angstrom-2008-preferred-versions.inc
include/kaeilos-2009-preferred-versions.inc
include/angstrom-2010-preferred-versions.inc
include/preferred-shr-versions.inc

So if you are using one of these distro's then you might have to override the version in your local.conf

LIBTOOL_HAS_SYSROOT = "yes"
LIBTOOL_VER = "2.4"

PREFERRED_VERSION_libtool           = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-native    = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-cross     = "${LIBTOOL_VER}"

PREFERRED_VERSION_libtool-nativesdk = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-sdk = "${LIBTOOL_VER}"

Please review, test, and provide feedback

Thanks

-Khem