- Dec 01, 2014
-
-
Peter Korsgaard authored
Fixes http://autobuild.buildroot.net/results/ef4/ef487b495e57f098af0fe9508d430b56b0750339/ Explicitly pass the path to host-python to ensure it gets used. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 30, 2014
-
-
Yann E. MORIN authored
libuuid needs to be linked with -lintl when gettext is needed (with locales). For a shared build, this is solved with the DT_NEEDED ELF tags, but for a static link, it is not pulled in automatically. Use pkg-config to find libuuid, instead of AC_CHECK_LIB(). Second part at fixing: http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/ [Peter: add host-pkgconf to _DEPENDENCIES] Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
When gettext is needed (with locales), libuuid needs to be linked against -lintl. In dynamic link, this is solved via the DT_NEEDED ELF tag, but for static links, it does not get pulled in automatically. Fix that by adding a Libs.private section to uuid.pc, but only if it needed. First part at fixing: http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/ Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Because shairport-sync uses AC_CHECK_LIB to find some of the needed libraries (opensl, alsa, popt...), it fails to bring in the dependencies of those libraries; for example, -lssl requires -lz. When doing a dynamically-linked build, those dependent libraries are pulled in thanks to the DT_NEEDED ELF tags, but those are not available in static libraries. Use PKG_CHECK_MODULES instead of AC_CHECK_LIB, and emulate the results of AC_CJECK_LIB (i.e. set the HAVE_LIBxxx and the LIBS variable appropriately) to minimise the amount of code touched. This should fix: http://autobuild.buildroot.net/results/1a5/1a56dbff3583bed0d693508dfc16859086846ecd/ http://autobuild.buildroot.net/results/6d5/6d5a8157592f7a2c9469bf71b0453796ef982ab1/ At the same time, remove a comment at the end of a variable assignment, since this has proven to cause some problems. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jörg Krause <jkrause@posteo.de> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
When we set LD_LIBRARY_PATH when building our host tools, we append any pre-existing value to our custom path: LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)" But then if LD_LIBRARY_PATH was previously empty, we end up with an LD_LIBRARY_PATH that ends with a colon. Also, when we check that an existing LD_LIBRARY_PATH does not contain CWD, we previously did not look for a zero-length prefix. Since 'man ld.so' says of LD_LIBRARY_PATH: A colon-separated list of directories in which to search for ELF libraries at execution-time. Similar to the PATH environment variable. And POSIX states about PATH: A zero-length prefix is a legacy feature that indicates the current working directory. And bash also recognises a zero-length prefix to search in CWD: A zero-length (null) directory name in the value of PATH indicates the current directory. We may thus end up on a system where a zero-length prefix in LD_LIBRARY_PATH is interpreted as CWD. Do not append the previous LD_LIBRARY_PATH if it was empty, and check for a zero-length prefix when checking dependencies. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Angelo Compagnucci authored
Due to a bug in makefile logic, monolite libraries path will not be selected when EXTERNAL_MCS parameter is specified. Setting EXTERNAL_MCS to a non existent binary, makes the internal logic to fallback to monolite, setting correctly both binary and library paths. This has the benefit to force host-mono to always use monolite as bootstrap compiler also in case a mono compiler is already installed on the system. Fixes: http://autobuild.buildroot.net/results/fc00952bef03cf3b4785be1a0d9c08dc84aa3f54/ [Peter: add comment explaining why this is done] Signed-off-by:
Angelo Compagnucci <angelo.compagnucci@gmail.com> Reported-by:
Rainer Berns <rainer.berns@berns-online.de> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Fixes: http://autobuild.buildroot.net/results/afc/afc56e03a9d410563f43e5d26cf8b12fc4da7e5b/ http://autobuild.buildroot.net/results/922/9221b4967d069c9b634cb1f98ead193593d22dbc/ When the version was bumped, the existing patch to fix static linking was not proprerly tested, and was missing three new locations to be fixed. [Peter: add autobuilder reference] Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Sagaert Johan <sagaert.johan@skynet.be> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Bernd Kuhls authored
First of two patches to fix http://autobuild.buildroot.net/results/238/2386edb7f95920e84a35811a33f4333ee0a7a860/ gd links against libiconv if it is already built, depend on libiconv to get reproducable builds. readelf output without libiconv present: $ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \ -a output/staging/usr/lib/libgd.a | grep iconv 15: 00000000 12 FUNC GLOBAL HIDDEN 1 _iconv_open 16: 0000000c 12 FUNC GLOBAL HIDDEN 1 _iconv 17: 00000018 12 FUNC GLOBAL HIDDEN 1 _iconv_close readelf output with libiconv present: $ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \ -a output/staging/usr/lib/libgd.a | grep iconv 000000e4 0000100a R_BFIN_PCREL24 00000000 _libiconv_open + 0 00000140 0000140a R_BFIN_PCREL24 00000000 _libiconv + 0 0000019a 0000160a R_BFIN_PCREL24 00000000 _libiconv_close + 0 16: 00000000 0 NOTYPE GLOBAL DEFAULT UND _libiconv_open 20: 00000000 0 NOTYPE GLOBAL DEFAULT UND _libiconv 22: 00000000 0 NOTYPE GLOBAL DEFAULT UND _libiconv_close [Peter: also add to LIBS so it ends up in gdlib-config --libs output] Signed-off-by:
Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Danomi Manchego authored
The luajit package is a provider of a lua interpreter, but does not install a lua executable. This is fine for scripts that explicitly invoke luajit, but not so good for scripts that just need a lua interpreter and call lua. This mod creates a lua symlink so that the non-jit-specific scripts will still work. Signed-off-by:
Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Bernd Kuhls authored
Fixes http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/ http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/ http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/ [Peter: use official bugtracker URL, fix check] Signed-off-by:
Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 29, 2014
-
-
Angelo Compagnucci authored
This patch forces the use of internal compiler for building mono, for more information please refer to mono official documentation (README.md) Signed-off-by:
Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 28, 2014
-
-
Bernd Kuhls authored
Fixes http://autobuild.buildroot.net/results/242/24297c948c0eee684e868ad4bd12f11c3a759248/ http://autobuild.buildroot.net/results/464/464fdc71690a437c1782dd8e4c75d78195bf8bfd/ http://autobuild.buildroot.net/results/77c/77c26d14c8906b44f7c3fa1b3d759556c7318a7e/ and many others ( http://autobuild.buildroot.net/?reason=xapp_bdftopcf-1.0.4 ) Signed-off-by:
Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
The previous no-op dhclient-script is useless and in fact can lead users to believe things will work. dhclient-script is supposed to, among many other things, bring the interface up for dhclient to pump an address, set the interface address, set resolv.conf appropiately and set the default gateway. It's a complex script since it has to deal with a lot of details so let's just use the best fit which is the OpenWRT one since it uses the "legacy" tools (ifconfig, route, ...) which can be easily provided by busybox and/or net-tools. There are newer and more feature-complete versions around but they require full iproute2 ip and wouldn't fit as well with the busybox-only approach. License: likely GPLv2+ Source: http://git.openwrt.org/?p=packages.git;a=blob;f=net/isc-dhcp/files/dhclient-script;h=4afebc0ad20ebac51c5baae5ed01c6713e3a0fd0;hb=HEAD Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
Fixes: CVE-2014-8767 - denial of service in verbose mode using malformed OLSR payload OLSR payload CVE-2014-8768 - denial of service in verbose mode using malformed Geonet payload CVE-2014-8769 - unreliable output using malformed AOVD payload Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
Fixes: http://autobuild.buildroot.net/results/e27/e27111f484f72c77d2179fa1a29ea7b5271ff9fa/ While at it rename patches to new convention. Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
SDL detection is done using pkg-config. Fixes http://autobuild.buildroot.net/results/437/437f408122d7f21420a7cdc9758caf0ab1ba877d/ Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
libuuid needs -lintl when BR2_NEEDS_GETTEXT_IF_LOCALE is set. Fixes: http://autobuild.buildroot.net/results/9f1/9f182cd5955d724750135bcd6cb7e315fb28334f/ Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Vicente Olivert Riera authored
Qt Webkit Module uses pthread_getattr_np() which is implemented in toolchains with NPTL. Otherwise the compilation will fail showing this error message: wtf/StackBounds.cpp: In member function ‘void WTF::StackBounds::initialize()’: wtf/StackBounds.cpp:172:38: error: ‘pthread_getattr_np’ was not declared in this scope Signed-off-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Vicente Olivert Riera authored
Qt Script Module uses pthread_getattr_np() which is implemented in toolchains with NPTL. Otherwise the compilation will fail showing this error message: ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp: In function ‘void* QTJSC::currentThreadStackBase()’: ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:692:42: error: ‘pthread_getattr_np’ was not declared in this scope Signed-off-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 27, 2014
-
-
Gustavo Zacarias authored
Somehow busybox thinks debian standards are the rule and installs lspci to /usr/bin instead of /usr/sbin where upstream says it belongs. So install pciutils binaries there as well to really win over busybox PATH-wise and overwrite the little bugger symlink. Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Fixes: http://autobuild.buildroot.net/results/17d/17d1d94e6f1617851e374f4fe9804f1e5ea9e99f/ http://autobuild.buildroot.net/results/c08/c08b7be40c8f208147a4f95ad897e4a1df7e108d/ and probably some others as well... [Peter: correct tirpc/tirpcinclude mixmatch in patch description] Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Fixes: http://autobuild.buildroot.net/results/17d/17d1d94e6f1617851e374f4fe9804f1e5ea9e99f/ http://autobuild.buildroot.net/results/c08/c08b7be40c8f208147a4f95ad897e4a1df7e108d/ and maybe a bunch of others... Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
Fixes: CVE-2014-7817 - command execution in wordexp() with WRDE_NOCMD specified Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Francois Perrad authored
see http://autobuild.buildroot.net/results/2d1/2d1563e253b669b45c9df449c5b3a750c04a43dc/ this commit reverts the previous commit 84047394 which disables static build in Config.in the option --no-autoload prevents the use of the function dlopen. Signed-off-by:
Francois Perrad <francois.perrad@gadz.org> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Some crazy folks use MIPS machines as build machines. ;-) On MIPS, the only acceptable hash-style is 'sysv', because the MIPS ABI defines that the GOT ordering to be the same as the symbols ordering, while GNU hash requires symbols to be sorted by their hash. Looking at binutils' code, it seems that only MIPS suffers from that limitation. Currently, we force the toolchain wrapper to be linked with both hash styles, which breaks on MIPS. So, fix that by singling out MIPS, and use sysv in that case, and both otherwise. Reported-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 26, 2014
-
-
Baruch Siach authored
libnftnl needs -ljansson when built with json support. Fixes: http://autobuild.buildroot.net/results/68a/68ab2101a0b2b7d5482aafe0d88c87a50491159f/ http://autobuild.buildroot.net/results/87e/87ecbba5b9b16d592a48fe827fa88ef5a5c6d09b/ libnftl also needs -mxml when built with XML support. Fixes: http://autobuild.buildroot.net/results/58f/58f592d823db14e4e7558134f1b479f4f8659a23/ http://autobuild.buildroot.net/results/1cf/1cf23f2b38236f43971c65e704793b5bc762ecfe/ Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
Disable shared library in a static build. Fixes: http://autobuild.buildroot.net/results/6ff/6ffae151ec3eaca175923ab860cf42167871164c/ http://autobuild.buildroot.net/results/cab/cab19721c43b3256dd51ae511016bc9ea440512a/ Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Tested-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Nathaniel Roach authored
NM only currently supports isc-dhcpc and dhcpcd as clients because NM communicates with the client through DBus, and support for clients needs to be written in. (as per files in src/dhcp-manager) Buildroot's default, udhcpc is not supported. Add the dependencies to Config.in, favoring dhcpcd as default due to size. [Peter: drop references to dhclient, isc-dhcpc is dhclient] Signed-off-by:
Nathaniel Roach <nroach44@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Max Filippov authored
This fixes the following build errors seen when assembling huge files produced by gcc: Error: jump target out of range; no usable trampoline found Error: operand 1 of 'j' has out of range value '307307' Fixes: http://autobuild.buildroot.net/results/545/545168d9caf3bdb3dd3eb3bae58ba9db8a33384a/ Backported from: d92b6eece424f0ad35d96fdd85bf207295e8c4c3 Signed-off-by:
Max Filippov <jcmvbkbc@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
Not all arm (E.G. non-VFP) toolchains define the control word macros, so disable debug handling for arm(eb) as well. As the debug handling has limited value (it simply forces CFLAGS which we don't want and enables exceptions on FP errors) don't try to be clever about what toolchain variants to disable it for, but just disable it for all arm(eb). Fixes http://autobuild.buildroot.net/results/672/672a31c0bd329dec566ba74e0e1be43abd0f16c2/ Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Nov 25, 2014
-
-
Gustavo Zacarias authored
Fixes a buffer overflow in ksba_oid_to_str. Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
Otherwise it's a big security risk. Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
clamav unconditionally includes dlfcn.h which is missing on a uClibc that is configured as a pure-static C library. Thus, the build fails. But the including file does not even makes use of any function from the dlopen() familly, so it does not need to include dlfcn.h to start with. Add a patch to clamav to not include dlfcn.h where not needed. Fixes: http://autobuild.buildroot.net/results/b49/b491f4e5e1760248adb8d21b404e8aa15f7dbdd1/ [Peter: fix typo in patch description] Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gustavo Zacarias authored
Fixes an out-of-bounds memory access in png_user_version_check(). Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
Reported-by:
Spielmann Werner <Werner.Spielmann@SWAROVSKI.COM> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
So gdlib-config --libs returns the full dependency chain (-lpng16 -lz -m) when linking statically. Fixes http://autobuild.buildroot.net/results/dac/dac3eb950c7c27b2f09f001f9db9936f897721f9/ Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
configure uses PKG_CHECK_MODULES, so it needs to depend on host-pkgconf. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-