[OpenWrt-Devel] [PATCH 0/5] perf: fix dependencies & restore uClibc compatibility

Mathieu Olivari mathieu at codeaurora.org
Mon May 18 19:40:28 EDT 2015


Commit 9cddeba3a4eb00e85233f0b8ac84b8e8492822ef was removing uClibc
support from perf because it didn't build anymore.
The root cause of this failure was multiple:
*perf needs a uClibc patch to define STT_GNU_IFUNC. Patch has been done
 already to the uClibc project, and just needs to be cherry-picked to
 OpenWrt.
*perf was moved to openwrt.git, but libelf1 (in its dependencies) is
 still located in packages.git. So it ends-up compiling without libelf
 support.

This change set fixes these issues by adding the patch and importing the
missing packages, which allows us to remove the dependency perf has on
eglibc.

Mathieu Olivari (5):
  uClibc: elf: Add STT_GNU_IFUNC from glibc
  argp-standalone: import package from packages.git
  elfutils: import package from packages.git
  bzip2: import package from packages.git
  perf: remove EGLIBC dependency

 package/devel/perf/Makefile                        |    2 +-
 package/libs/argp-standalone/Makefile              |   48 +
 .../patches/001-throw-in-funcdef.patch             |   79 +
 package/libs/elfutils/Makefile                     |   97 +
 .../patches/001-elfutils-portability.patch         | 1871 ++++++++++++++++++++
 .../elfutils/patches/002-argp_standalone.patch     |   14 +
 .../libs/elfutils/patches/003-libint-stub.patch    |   49 +
 .../elfutils/patches/004-maybe-uninitialized.patch |   11 +
 package/libs/elfutils/patches/004-memcpy_def.patch |   14 +
 .../elfutils/patches/005-build_only_libs.patch     |   24 +
 package/libs/elfutils/patches/006-libdw_LIBS.patch |   11 +
 .../libs/elfutils/patches/100-musl-compat.patch    |  788 +++++++++
 package/libs/elfutils/patches/101-no-fts.patch     |  109 ++
 package/utils/bzip2/Makefile                       |   87 +
 .../012-elf-Add-STT_GNU_IFUNC-from-glibc.patch     |   37 +
 15 files changed, 3240 insertions(+), 1 deletion(-)
 create mode 100644 package/libs/argp-standalone/Makefile
 create mode 100644 package/libs/argp-standalone/patches/001-throw-in-funcdef.patch
 create mode 100644 package/libs/elfutils/Makefile
 create mode 100644 package/libs/elfutils/patches/001-elfutils-portability.patch
 create mode 100644 package/libs/elfutils/patches/002-argp_standalone.patch
 create mode 100644 package/libs/elfutils/patches/003-libint-stub.patch
 create mode 100644 package/libs/elfutils/patches/004-maybe-uninitialized.patch
 create mode 100644 package/libs/elfutils/patches/004-memcpy_def.patch
 create mode 100644 package/libs/elfutils/patches/005-build_only_libs.patch
 create mode 100644 package/libs/elfutils/patches/006-libdw_LIBS.patch
 create mode 100644 package/libs/elfutils/patches/100-musl-compat.patch
 create mode 100644 package/libs/elfutils/patches/101-no-fts.patch
 create mode 100644 package/utils/bzip2/Makefile
 create mode 100644 toolchain/uClibc/patches-0.9.33.2/012-elf-Add-STT_GNU_IFUNC-from-glibc.patch

-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list