Skip to contentSkip to conversation

Use only elfutils package to provide the libelf library

PATCH New Gregory CLEMENT 3 participants 14 messages Aug 28, 2014

lore
Share & tools
lore
#0 lore raw

cover Use only elfutils package to provide the libelf library

Hi,

The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. Having both libraries could lead to the link on the wrong one during the build. It is what happened for ltrace.

To avoid this kind of issue, this patch set switch the dependecy from libelf to elfutils and finally removed the elfutils package.

I built and fully tested ltrace on ARM.
I built and just ran avrdude on ARM.
I didn't build kexec-lite.

Thanks,

Gregory

Gregory CLEMENT (4):
ltrace: Removes the libelf dependency
avrdude: Depend on elfutils instead of libelf to get the libel library
kexec-lite: Depends on elfutils instead of libelf to get the libelf
library
libelf: Removes the package

 package/Config.in                               |     1 -
 package/avrdude/Config.in                       |     2 +-
 package/avrdude/avrdude.mk                      |     2 +-
 package/kexec-lite/Config.in                    |     2 +-
 package/kexec-lite/kexec-lite.mk                |     2 +-
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 package/ltrace/Config.in                        |     1 -
 package/ltrace/ltrace.mk                        |     2 +-
 10 files changed, 5 insertions(+), 12398 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/4 ltrace: Removes the libelf dependency

The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. This patch removes the dependency on the libelf package and only keep the elfuils package which provides the accurate version of libelf for ltrace.

It will also allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

---
 package/ltrace/Config.in | 1 -
 package/ltrace/ltrace.mk | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
package/ltrace/Config.in +0 -1
index 8cabfa2..dc759d8 100644
@@ -6,7 +6,6 @@ config BR2_PACKAGE_LTRACE
 	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756764.
 	depends on (BR2_i386 || BR2_arm \
 		|| BR2_powerpc || BR2_sparc || BR2_x86_64)
-	select BR2_PACKAGE_LIBELF
 	select BR2_PACKAGE_ELFUTILS
 	depends on BR2_LARGEFILE # elfutils
 	depends on BR2_USE_WCHAR # elfutils
package/ltrace/ltrace.mk +1 -1
index 0a3a90c..48bf7bd 100644
@@ -6,7 +6,7 @@
 
 LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
 LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
-LTRACE_DEPENDENCIES = libelf elfutils
+LTRACE_DEPENDENCIES = elfutils
 LTRACE_CONF_OPT = --disable-werror
 LTRACE_LICENSE = GPLv2
 LTRACE_LICENSE_FILES = COPYING
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/4 ltrace: Removes the libelf dependency

Gregory, All,

On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:

Quoted 11 lines

The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. This patch removes the dependency on the libelf package and only keep the elfuils package which provides the accurate version of libelf for ltrace.

It will also allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

Regards,
Yann E. MORIN.

Quoted 37 lines
---
 package/ltrace/Config.in | 1 -
 package/ltrace/ltrace.mk | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
package/ltrace/Config.in +0 -1
index 8cabfa2..dc759d8 100644
@@ -6,7 +6,6 @@ config BR2_PACKAGE_LTRACE
 	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756764.
 	depends on (BR2_i386 || BR2_arm \
 		|| BR2_powerpc || BR2_sparc || BR2_x86_64)
-	select BR2_PACKAGE_LIBELF
 	select BR2_PACKAGE_ELFUTILS
 	depends on BR2_LARGEFILE # elfutils
 	depends on BR2_USE_WCHAR # elfutils
package/ltrace/ltrace.mk +1 -1
index 0a3a90c..48bf7bd 100644
@@ -6,7 +6,7 @@
 
 LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
 LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
-LTRACE_DEPENDENCIES = libelf elfutils
+LTRACE_DEPENDENCIES = elfutils
 LTRACE_CONF_OPT = --disable-werror
 LTRACE_LICENSE = GPLv2
 LTRACE_LICENSE_FILES = COPYING
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/4 avrdude: Depend on elfutils instead of libelf to get the libel library

In reply to Gregory CLEMENT

The elfutils package provides a more recent version of the libelf, so let's use it. It will allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

---
 package/avrdude/Config.in  | 2 +-
 package/avrdude/avrdude.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/avrdude/Config.in +1 -1
index 8eac014..5de8301 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_AVRDUDE
 	bool "avrdude"
-	select BR2_PACKAGE_LIBELF
+	select BR2_PACKAGE_ELFUTILS
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	select BR2_PACKAGE_NCURSES
package/avrdude/avrdude.mk +1 -1
index 7876c1d..03d6490 100644
@@ -12,7 +12,7 @@ AVRDUDE_SUBDIR = avrdude
 # Sources coming from git, without generated configure and Makefile.in
 # files.
 AVRDUDE_AUTORECONF = YES
-AVRDUDE_DEPENDENCIES = libelf libusb libusb-compat ncurses \
+AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
 	host-flex host-bison
 AVRDUDE_LICENSE = GPLv2+
 AVRDUDE_LICENSE_FILES = avrdude/COPYING
Signature · 1 line
1.9.1
#4 lore raw

PATCH 2/4 avrdude: Depend on elfutils instead of libelf to get the libel library

Gregory, All,

On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:

Quoted 5 lines

The elfutils package provides a more recent version of the libelf, so let's use it. It will allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

Slight typo in subject: "the libel library" <- libelf

Quoted 10 lines
---
 package/avrdude/Config.in  | 2 +-
 package/avrdude/avrdude.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/avrdude/Config.in +0 -0
index 8eac014..5de8301 100644

package/avrdude/Config.in line 3

Quoted 4 lines
package/avrdude/Config.in +1 -1
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_AVRDUDE
 	bool "avrdude"
-	select BR2_PACKAGE_LIBELF
+	select BR2_PACKAGE_ELFUTILS

You need to propagate the dependencies from elfutils too, because 'select' does not propagate them, see chapter "Choosing depends on or select" in the manual:
http://buildroot.net/downloads/manual/manual.html#_literal_config_in_literal_file

Regards,
Yann E. MORIN.

Quoted 23 lines
package/avrdude/Config.in +0 -0
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	select BR2_PACKAGE_NCURSES
package/avrdude/avrdude.mk +1 -1
index 7876c1d..03d6490 100644
@@ -12,7 +12,7 @@ AVRDUDE_SUBDIR = avrdude
 # Sources coming from git, without generated configure and Makefile.in
 # files.
 AVRDUDE_AUTORECONF = YES
-AVRDUDE_DEPENDENCIES = libelf libusb libusb-compat ncurses \
+AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
 	host-flex host-bison
 AVRDUDE_LICENSE = GPLv2+
 AVRDUDE_LICENSE_FILES = avrdude/COPYING
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#5 lore raw

PATCH 2/4 avrdude: Depend on elfutils instead of libelf to get the libel library

Hi Yann,

Quoted 16 lines · Yann E. MORIN

Gregory, All,

On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:

Quoted 5 lines

The elfutils package provides a more recent version of the libelf, so let's use it. It will allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

Slight typo in subject: "the libel library" <- libelf

Quoted 5 lines
---
 package/avrdude/Config.in  | 2 +-
 package/avrdude/avrdude.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 14 lines

package/avrdude/Config.in line 3

Quoted 9 lines
package/avrdude/Config.in +1 -1
index 8eac014..5de8301 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_AVRDUDE
 	bool "avrdude"
-	select BR2_PACKAGE_LIBELF
+	select BR2_PACKAGE_ELFUTILS

You need to propagate the dependencies from elfutils too, because 'select' does not propagate them, see chapter "Choosing depends on or select" in the manual:
http://buildroot.net/downloads/manual/manual.html#_literal_config_in_literal_file

Oh yes indeed I saw it for ltrace. I will send a new patch set soon by updating this patch the kexec-lite patch too.

Thanks,

Gregory

Quoted 28 lines

Regards,
Yann E. MORIN.

Quoted 23 lines
package/avrdude/Config.in +0 -0
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	select BR2_PACKAGE_NCURSES
package/avrdude/avrdude.mk +1 -1
index 7876c1d..03d6490 100644
@@ -12,7 +12,7 @@ AVRDUDE_SUBDIR = avrdude
 # Sources coming from git, without generated configure and Makefile.in
 # files.
 AVRDUDE_AUTORECONF = YES
-AVRDUDE_DEPENDENCIES = libelf libusb libusb-compat ncurses \
+AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
 	host-flex host-bison
 AVRDUDE_LICENSE = GPLv2+
 AVRDUDE_LICENSE_FILES = avrdude/COPYING
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#6 lore raw

PATCH 3/4 kexec-lite: Depends on elfutils instead of libelf to get the libelf library

In reply to Gregory CLEMENT

The elfutils package provides a more recent version of the libelf, so let's use it. It will allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

---
 package/kexec-lite/Config.in     | 2 +-
 package/kexec-lite/kexec-lite.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/kexec-lite/Config.in +1 -1
index 944ee29..9fa9f4b 100644
@@ -2,7 +2,7 @@ config BR2_PACKAGE_KEXEC_LITE
 	bool "kexec-lite"
 	depends on BR2_powerpc || BR2_powerpc64
 	depends on !BR2_PREFER_STATIC_LIB # dtc
-	select BR2_PACKAGE_LIBELF
+	select BR2_PACKAGE_ELFUTILS
 	select BR2_PACKAGE_DTC
 	select BR2_PACKAGE_DTC_PROGRAMS
 	help
package/kexec-lite/kexec-lite.mk +1 -1
index 7028c6e..7e3c8d3 100644
@@ -7,7 +7,7 @@
 KEXEC_LITE_VERSION = fb8543fea3beb0522b5a63a74ea1a845dbd7b954
 KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
 KEXEC_LITE_LICENSE = GPLv2+
-KEXEC_LITE_DEPENDENCIES = libelf dtc
+KEXEC_LITE_DEPENDENCIES = elfutils dtc
 
 define KEXEC_LITE_BUILD_CMDS
 	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
Signature · 1 line
1.9.1
#7 lore raw

PATCH 3/4 kexec-lite: Depends on elfutils instead of libelf to get the libelf library

Gregory, All,

On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:

Quoted 15 lines

The elfutils package provides a more recent version of the libelf, so let's use it. It will allow to remove the libelf package and to avoid conflicts with two packages providing the same library.

---
 package/kexec-lite/Config.in     | 2 +-
 package/kexec-lite/kexec-lite.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/kexec-lite/Config.in +0 -0
index 944ee29..9fa9f4b 100644

package/kexec-lite/Config.in config BR2_PACKAGE_KEXEC_LITE · line 5

Quoted 5 lines
package/kexec-lite/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_KEXEC_LITE
 	bool "kexec-lite"
 	depends on BR2_powerpc || BR2_powerpc64
 	depends on !BR2_PREFER_STATIC_LIB # dtc
-	select BR2_PACKAGE_LIBELF
+	select BR2_PACKAGE_ELFUTILS

Ditto, you must propagate dependencies (at least those that make sense) from elfutils. For example, no need to propagate !avr32 or !bfin, since they are implicit because kexec-lite already depends on PPC. Still, you need wchar and largefiles.

Regards,
Yann E. MORIN.

Quoted 23 lines
package/kexec-lite/Config.in +0 -0
 	select BR2_PACKAGE_DTC
 	select BR2_PACKAGE_DTC_PROGRAMS
 	help
package/kexec-lite/kexec-lite.mk +1 -1
index 7028c6e..7e3c8d3 100644
@@ -7,7 +7,7 @@
 KEXEC_LITE_VERSION = fb8543fea3beb0522b5a63a74ea1a845dbd7b954
 KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
 KEXEC_LITE_LICENSE = GPLv2+
-KEXEC_LITE_DEPENDENCIES = libelf dtc
+KEXEC_LITE_DEPENDENCIES = elfutils dtc
 
 define KEXEC_LITE_BUILD_CMDS
 	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#8 lore raw

PATCH 4/4 libelf: Removes the package

In reply to Gregory CLEMENT

The elfutils package provides a more recent version of the libelf. Some packages such as ltrace need this more recent version. Having two packages providing the same library leads to some conflicts or dependency problems. For instance at the end we had only one libelf.a when the 2 packages were selected.

---
 package/Config.in                               |     1 -
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 4 files changed, 12392 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk
package/Config.in +0 -1
index 0e10cdf..da528ad 100644
@@ -841,7 +841,6 @@ menu "Other"
 	source "package/libcofi/Config.in"
 	source "package/libdaemon/Config.in"
 	source "package/libee/Config.in"
-	source "package/libelf/Config.in"
 	source "package/libev/Config.in"
 	source "package/libevdev/Config.in"
 	source "package/libevent/Config.in"
package/libelf/Config.in deleted +0 -7
deleted file mode 100644
index 600ef68..0000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_LIBELF
-	bool "libelf"
-	help
-	  The elf library provides routines to access, and manipulate,
-	  Elf object files.
-
-	  http://www.mr511.de/software/
package/libelf/libelf-0.8.10-Elf64-fixups.patch deleted +0 -12361

2,986 lines not on this page · raw message

package/libelf/libelf.mk deleted +0 -23
deleted file mode 100644
index 0c37697..0000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.9.1

Part of the diff is not shown here. View the raw message.

#9 lore raw

PATCH 4/4 libelf: Removes the package

Dear Gregory CLEMENT,

Quoted 7 lines · Gregory CLEMENT

The elfutils package provides a more recent version of the libelf. Some packages such as ltrace need this more recent version. Having two packages providing the same library leads to some conflicts or dependency problems. For instance at the end we had only one libelf.a when the 2 packages were selected.

Quoted 9 lines
---
 package/Config.in                               |     1 -
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 4 files changed, 12392 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk

When removing a package, the config option of the package should be moved to Config.in.legacy to allow the user to be warned that he is using a no longer available package.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#10 lore raw

PATCH 4/4 libelf: Removes the package

Hi Thomas,

Quoted 20 lines · Thomas Petazzoni

Dear Gregory CLEMENT,

Quoted 7 lines · Gregory CLEMENT

The elfutils package provides a more recent version of the libelf. Some packages such as ltrace need this more recent version. Having two packages providing the same library leads to some conflicts or dependency problems. For instance at the end we had only one libelf.a when the 2 packages were selected.

Quoted 9 lines
---
 package/Config.in                               |     1 -
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 4 files changed, 12392 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk
Quoted 3 lines

When removing a package, the config option of the package should be moved to Config.in.legacy to allow the user to be warned that he is using a no longer available package.

Ok a new version is coming soon.

Thanks,

Gregory

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#11 lore raw

cover Use only elfutils package to provide the libelf library

In reply to Gregory CLEMENT
Quoted 17 lines · Gregory CLEMENT

Hi,

The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. Having both libraries could lead to the link on the wrong one during the build. It is what happened for ltrace.

To avoid this kind of issue, this patch set switch the dependecy from libelf to elfutils and finally removed the elfutils package.

I built and fully tested ltrace on ARM.
I built and just ran avrdude on ARM.
I didn't build kexec-lite.

Thanks,

Quoted 8 lines

Gregory

Gregory CLEMENT (4):
ltrace: Removes the libelf dependency
avrdude: Depend on elfutils instead of libelf to get the libel library
kexec-lite: Depends on elfutils instead of libelf to get the libelf
library
libelf: Removes the package

It seems that this last patch was too heavy:
"Is being held until the list moderator can review it for approval.

The reason it is being held:

Message body is too big: 383953 bytes with a limit of 300 KB"

Is there a smarter way to create this patch with git? Actually I am sure there is a smarter way (we can do everything with git :) )but I don't know it.

Quoted 16 lines
 package/Config.in                               |     1 -
 package/avrdude/Config.in                       |     2 +-
 package/avrdude/avrdude.mk                      |     2 +-
 package/kexec-lite/Config.in                    |     2 +-
 package/kexec-lite/kexec-lite.mk                |     2 +-
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 package/ltrace/Config.in                        |     1 -
 package/ltrace/ltrace.mk                        |     2 +-
 10 files changed, 5 insertions(+), 12398 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#12 lore raw

cover Use only elfutils package to provide the libelf library

GRegory, All,

On 2014-08-28 11:51 +0200, Gregory CLEMENT spake thusly:

Quoted 1 line · Gregory CLEMENT

[--SNIP--]

Quoted 5 lines
Quoted 1 line

libelf: Removes the package

It seems that this last patch was too heavy:
"Is being held until the list moderator can review it for approval.

Quoted 7 lines

The reason it is being held:

Message body is too big: 383953 bytes with a limit of 300 KB"

Is there a smarter way to create this patch with git? Actually I am sure there is a smarter way (we can do everything with git :) )but I don't know it.

I'm sure Peter will unblock it. ;-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#13 lore raw

cover Use only elfutils package to provide the libelf library

In reply to Gregory CLEMENT
Quoted 10 lines · Gregory CLEMENT

Hi,

The libelf is currently provided by 2 packages libelf and elfutils. The first package provides an old version of the libelf which is no more compatible with a recent version of ltrace. Having both libraries could lead to the link on the wrong one during the build. It is what happened for ltrace.

To avoid this kind of issue, this patch set switch the dependecy from libelf to elfutils and finally removed the elfutils package.

I meant "removed the libelf package" of course!

Quoted 31 lines

I built and fully tested ltrace on ARM.
I built and just ran avrdude on ARM.
I didn't build kexec-lite.

Thanks,

Gregory

Gregory CLEMENT (4):
ltrace: Removes the libelf dependency
avrdude: Depend on elfutils instead of libelf to get the libel library
kexec-lite: Depends on elfutils instead of libelf to get the libelf
library
libelf: Removes the package

 package/Config.in                               |     1 -
 package/avrdude/Config.in                       |     2 +-
 package/avrdude/avrdude.mk                      |     2 +-
 package/kexec-lite/Config.in                    |     2 +-
 package/kexec-lite/kexec-lite.mk                |     2 +-
 package/libelf/Config.in                        |     7 -
 package/libelf/libelf-0.8.10-Elf64-fixups.patch | 12361 ----------------------
 package/libelf/libelf.mk                        |    23 -
 package/ltrace/Config.in                        |     1 -
 package/ltrace/ltrace.mk                        |     2 +-
 10 files changed, 5 insertions(+), 12398 deletions(-)
 delete mode 100644 package/libelf/Config.in
 delete mode 100644 package/libelf/libelf-0.8.10-Elf64-fixups.patch
 delete mode 100644 package/libelf/libelf.mk
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com