All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH V3 0/4] Use only elfutils package to provide the libelf library
@ 2014-08-28 12:21 Gregory CLEMENT
  2014-08-28 12:21 ` [Buildroot] [PATCH V3 1/4] ltrace: Removes the libelf dependency Gregory CLEMENT
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Gregory CLEMENT @ 2014-08-28 12:21 UTC (permalink / raw)
  To: buildroot

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 dependency from
libelf to elfutils and finally removed the libelf package.

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

Thanks,

Changelog:
v1 -> v2:
- Propagated the dependencies from elfutils for kexec-lite and avrdude
- Fixed the subject of the avrdude patch
- Use the -D flag to generate the patch: only the mention of the
  deleted files is kept. This allows to have a very light patch but
  one will be able to apply the patch only by using git.

v2 -> v3:
- moved the config option of the libelf package to Config.in.legacy

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

 Config.in.legacy                                |     9 +
 package/Config.in                               |     1 -
 package/avrdude/Config.in                       |     6 +-
 package/avrdude/avrdude.mk                      |     2 +-
 package/kexec-lite/Config.in                    |     4 +-
 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 +-
 11 files changed, 20 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

-- 
1.9.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-09-13 22:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 12:21 [Buildroot] [PATCH V3 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28 12:21 ` [Buildroot] [PATCH V3 1/4] ltrace: Removes the libelf dependency Gregory CLEMENT
2014-09-10 20:14   ` Yann E. MORIN
2014-09-13 21:58   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 2/4] avrdude: Depend on elfutils instead of libelf to get the libelf library Gregory CLEMENT
2014-09-10 20:18   ` Yann E. MORIN
2014-09-13 22:01   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 3/4] kexec-lite: Depends " Gregory CLEMENT
2014-09-10 22:12   ` Yann E. MORIN
2014-09-13 22:08   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 4/4] libelf: Removes the package Gregory CLEMENT
2014-09-13 21:01   ` Yann E. MORIN
2014-09-13 22:09   ` Peter Korsgaard
2014-08-28 14:14 ` [Buildroot] [PATCH V3 0/4] Use only elfutils package to provide the libelf library Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.