Skip to content

Prelink/ld bug and rpm compilation on uclibc

Khem Raj openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest16 patches 5 repliesIn review
  2. v17 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16binutils_2.22: Backport to fix bogus textrelsmeta/recipes-devtools/binutils/binutils/0001-PR-ld-13470.patch meta/recipes-devtools/binutils/binutils_2.22.bb+84 -10 replies
2/16rpm: Fix compilation on uclibcmeta/recipes-devtools/rpm/rpm/rpmatch.patch meta/recipes-devtools/rpm/rpm/uclibc-support.patch meta/recipes-devtools/rpm/rpm_5.4.0.bb+114 -10 replies
3/16pth: Mark incompatible with uclibcmeta/recipes-support/pth/pth_2.0.7.bb+10 -20 replies
4/16libtool: Let -fstack-protector passed to link stepmeta/recipes-devtools/libtool/libtool-2.4.2.inc meta/recipes-devtools/libtool/libtool/respect-fstack-protector.patch+55 -10 replies
5/16rpm: Use link time check for libsspmeta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch meta/recipes-devtools/rpm/rpm_5.4.0.bb+14 -00 replies
6/16sat-solver: Fix build on uclibcmeta/recipes-extended/sat-solver/sat-solver/futimes.patch meta/recipes-extended/sat-solver/sat-solver_git.bb+37 -20 replies
7/16libzypp: Fix build with uclibcmeta/recipes-extended/libzypp/libzypp/cstdio.patch meta/recipes-extended/libzypp/libzypp_git.bb+57 -20 replies
8/16augeas: Fix compilation failuremeta/recipes-extended/augeas/augeas.inc meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch meta/recipes-extended/augeas/augeas_0.10.0.bb+33 -20 replies
9/16rpm: pass lrt and lpthread to link step explicitly for uclibcmeta/recipes-devtools/rpm/rpm_5.4.0.bb+2 -00 replies
10/16zypper: Fix build on uclibcmeta/recipes-extended/zypper/zypper/rpmatch.patch meta/recipes-extended/zypper/zypper_git.bb+26 -10 replies
11/16cmake.bbclass: Add OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS variablesmeta/classes/cmake.bbclass+4 -00 replies
12/16libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibcmeta/recipes-extended/libzypp/libzypp_git.bb+1 -20 replies
13/16task-self-hosted.bb, task-core-lsb.bb: Conditionalize pth inclusionmeta/recipes-core/tasks/task-self-hosted.bb meta/recipes-extended/tasks/task-core-lsb.bb+8 -20 replies
14/16npth: Add recipemeta/recipes-support/npth/npth_0.90.bb+17 -00 replies
15/16gpgme: Depend on npth for uclibcmeta/recipes-support/gpgme/gpgme_1.3.1.bb+5 -20 replies
16/16gnupg-2.0.19: Depend on npth for uclibcmeta/recipes-support/gnupg/gnupg_2.0.19.bb+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 00/16 V2] Prelink/ld bug and rpm compilation on uclibc

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

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
Signature · 1 line
1.7.5.4