[OE-core] [PATCH 00/16 V2] Prelink/ld bug and rpm compilation on uclibc

Khem Raj raj.khem at gmail.com
Sun Jun 10 23:05:22 UTC 2012


On Sat, Jun 9, 2012 at 9:42 AM, Khem Raj <raj.khem at gmail.com> wrote:
>
> This patch now can compile a uclibc sato image using rpm as packaging backend
> Introduces variables into cmake class to control linker flags which was
> not available
> Adds npth recipe. npth is next gen pth soon gnupg 2.1 will drop pth
> and move on to use npth, right now its only used in uclibc case
> conditionalize use of pth using libc overrides since pth is not
> compatible with uclibc
>
> The following changes since commit 75a973328d50ef3c007edb7a471ea77fb97911ea:
>
>  kern-tools: anchor KMACHINE test (2012-06-08 11:56:21 +0100)
>
> are available in the git repository at:
>  git://git.openembedded.org/openembedded-core-contrib kraj/misc-updates
>  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-updates


I have updated this pull request with two additional changes

1. Upgrade uclibc git recipes to latest tip of master this gets
the eventfd patches which are needed for glib-2.32.x to function
correctly.

2. Include gcc patches to exclude call-convention settings when building
native and nativesdk gcc recipes.

3. Use translated target arch instead of target_arch in gcc.

>
> Khem Raj (16):
>  binutils_2.22: Backport to fix bogus textrels
>  rpm: Fix compilation on uclibc
>  pth: Mark incompatible with uclibc
>  libtool: Let -fstack-protector passed to link step
>  rpm: Use link time check for libssp
>  sat-solver: Fix build on uclibc
>  libzypp: Fix build with uclibc
>  augeas: Fix compilation failure
>  rpm: pass lrt and lpthread to link step explicitly for uclibc
>  zypper: Fix build on uclibc
>  cmake.bbclass: Add OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS
>    variables
>  libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc
>  task-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion
>  npth: Add recipe
>  gpgme: Depend on npth for uclibc
>  gnupg-2.0.19: Depend on npth for uclibc
>
>  meta/classes/cmake.bbclass                         |    4 +
>  meta/recipes-core/tasks/task-self-hosted.bb        |    4 +-
>  .../binutils/binutils/0001-PR-ld-13470.patch       |   82 ++++++++++++++++++++
>  meta/recipes-devtools/binutils/binutils_2.22.bb    |    3 +-
>  meta/recipes-devtools/libtool/libtool-2.4.2.inc    |    3 +-
>  .../libtool/libtool/respect-fstack-protector.patch |   53 +++++++++++++
>  .../rpm/rpm/fstack-protector-configure-check.patch |   13 +++
>  meta/recipes-devtools/rpm/rpm/rpmatch.patch        |   42 ++++++++++
>  meta/recipes-devtools/rpm/rpm/uclibc-support.patch |   69 ++++++++++++++++
>  meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    7 ++-
>  meta/recipes-extended/augeas/augeas.inc            |    4 +-
>  .../0001-Add-missing-argument-to-escape.patch      |   29 +++++++
>  meta/recipes-extended/augeas/augeas_0.10.0.bb      |    2 +-
>  meta/recipes-extended/libzypp/libzypp/cstdio.patch |   49 ++++++++++++
>  meta/recipes-extended/libzypp/libzypp_git.bb       |    9 ++-
>  .../sat-solver/sat-solver/futimes.patch            |   32 ++++++++
>  meta/recipes-extended/sat-solver/sat-solver_git.bb |    7 +-
>  meta/recipes-extended/tasks/task-core-lsb.bb       |    6 +-
>  meta/recipes-extended/zypper/zypper/rpmatch.patch  |   23 ++++++
>  meta/recipes-extended/zypper/zypper_git.bb         |    4 +-
>  meta/recipes-support/gnupg/gnupg_2.0.19.bb         |    6 +-
>  meta/recipes-support/gpgme/gpgme_1.3.1.bb          |    7 +-
>  meta/recipes-support/npth/npth_0.90.bb             |   17 ++++
>  meta/recipes-support/pth/pth_2.0.7.bb              |   12 +++-
>  24 files changed, 469 insertions(+), 18 deletions(-)
>  create mode 100644 meta/recipes-devtools/binutils/binutils/0001-PR-ld-13470.patch
>  create mode 100644 meta/recipes-devtools/libtool/libtool/respect-fstack-protector.patch
>  create mode 100644 meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch
>  create mode 100644 meta/recipes-devtools/rpm/rpm/rpmatch.patch
>  create mode 100644 meta/recipes-devtools/rpm/rpm/uclibc-support.patch
>  create mode 100644 meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch
>  create mode 100644 meta/recipes-extended/libzypp/libzypp/cstdio.patch
>  create mode 100644 meta/recipes-extended/sat-solver/sat-solver/futimes.patch
>  create mode 100644 meta/recipes-extended/zypper/zypper/rpmatch.patch
>  create mode 100644 meta/recipes-support/npth/npth_0.90.bb
>
> --
> 1.7.5.4
>




More information about the Openembedded-core mailing list