diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2014-11-05 10:42:46 +0000 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-07 08:55:34 +0100 |
commit | 9406d4dc02b5fa452ff487b1c5ce9a891388b919 (patch) | |
tree | 8d04947dae698e6931b437b28dd7caeb7ab74903 /package/avrdude | |
parent | c092462f9f8dfd1a3dadf2bb70e7ab3cebfec3c5 (diff) | |
download | buildroot-9406d4dc02b5fa452ff487b1c5ce9a891388b919.tar.gz buildroot-9406d4dc02b5fa452ff487b1c5ce9a891388b919.zip |
elfutils: disable for static builds
Even when doing static builds, a shared library is built. This causes a
build failure under some circumstances, for instance when building for
MIPS + uClibc + static.
After asking upstream if it would be possible to add a configure option
to not build the shared library, the answer was that doing a static
build is not a good idea. Here is a small snippet of the conversation:
"Note that fully static builds are problematic. elfutils uses dlopen to
open the EBL backends (the CPU-specific support snippets), so even if
you link statically, the final binaries are still considerably dynamic."
Related:
https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-November/004223.html
Fixes:
http://autobuild.buildroot.net/results/691/6913f5af6519463fbed39ef37b6a40ecf6a67b54/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/avrdude')
-rw-r--r-- | package/avrdude/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in index 7d9f5eb743..84bd091dd9 100644 --- a/package/avrdude/Config.in +++ b/package/avrdude/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_AVRDUDE depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_LARGEFILE # elfutils depends on BR2_USE_WCHAR # elfutils + depends on !BR2_PREFER_STATIC_LIB # elfutils depends on !BR2_avr32 # elfutils depends on !BR2_bfin # elfutils help @@ -15,7 +16,7 @@ config BR2_PACKAGE_AVRDUDE https://github.com/kcuzner/avrdude -comment "avrdude needs a toolchain w/ threads, largefile, wchar" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR +comment "avrdude needs a toolchain w/ threads, largefile, wchar, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB depends on !BR2_avr32 depends on !BR2_bfin |