summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* pixman: properly enable/disable ARM optimizationsThomas Petazzoni2016-08-271-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The pixman ARM optimized code assumes that ARM instructions are available. Unfortunately, the configure.ac checks do not detect that the platform is Thumb-only for Cortex-M builds, so it enables the ARM optimizations, leading to failures like: error: /home/test/autobuild/run/instance-3/output/host/usr/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libpixman-1.a(pixman-arm-simd-asm-scaled.o): Conflicting CPU architectures 13/1 When building programs linked with pixman on Thumb-only architectures. This is due to the fact that some object files in libpixman-1.a are built for the ARM instruction set. To resolve this, we give better hints to the pixman configure script about which ARM optimizations to use: the ARM SIMD optimizations need at least a CPU that supports ARM instructions, and obviously the ARM NEON optimizations need NEON support. Fixes: http://autobuild.buildroot.net/results/54bee2ce382fcd067965d30f758f9d15514478d9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: add a comment above the --enable-arm-simd option, as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* imagemagick: security bump to 7.0.2-9Peter Korsgaard2016-08-262-2/+2
| | | | | | | | | | | | | | | | Fixes a number of buffer overflows / use-after-free issues: http://git.imagemagick.org/repos/ImageMagick/blob/master/ChangeLog * Prevent buffer overflow in BMP & SGI coders (bug report from pwchen&rayzhong of tencent). * Prevent buffer overflow and other problems in SIXEL, PDB, MAP, TIFF and CALS coders (bug report from Donghai Zhu). * Prevent buffer overflow (bug report from Max Thrane). * Prevent memory use after free (reference https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30245). Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: fix conditional move constraint on ARCZakharov Vlad2016-08-261-0/+34
| | | | | | | | | | | | The patch solves one of the ARC internal compiler issues. Fixes: http://autobuild.buildroot.net/results/1c4493c6a18b7a93a0368420c8f79032f9330891/ http://autobuild.buildroot.net/results/51071b790866b0c7083de3a94ad2a427009096af/ http://autobuild.buildroot.net/results/09e037c628ca2a27d8eb832dd070f50ec7ebb72a/ Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iputils: fix typo in libintl commentPeter Korsgaard2016-08-261-1/+1
| | | | | | The sentence should end with a dot (.) and not a comma (,). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boa: boa.conf: run under the nogroup groupPeter Korsgaard2016-08-261-1/+1
| | | | | | | | | | | | | | The default boa.conf we install specifies that boa should run under the nobody group, but we don't have such a group in our default skeleton (and boa doesn't add it), causing boa to fail to start: [01/Jan/1970:00:00:10 +0000] No such group: nobody Instead use the nogroup group, which is presumably what was meant. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/iputils: link with -lintlArnout Vandecappelle2016-08-261-0/+7
| | | | | | | | | | | | | | | | libgcrypt pulls in gpg-error which links with libintl if available. Since iputils doesn't use libtool, -lintl has to be passed explicitly for static builds. Fixes: http://autobuild.buildroot.net/results/f81/f81eabb37788aa6dcdadf4034889c84bef78b876 http://autobuild.buildroot.net/results/f29/f296e8fba1e79f96d3d119aa4c8207ed4b80694b http://autobuild.buildroot.net/results/478/478a88cd892a119970cfca717ea7f5517bfc4cea http://autobuild.buildroot.net/results/920/920d2d1d967691779f79fa54a38fac5adc5a8ee4 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Matthew Weber <matt@thewebers.ws> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libgpg-error: optionally depends on gettextArnout Vandecappelle2016-08-261-0/+4
| | | | | | | | | | | | | configure.ac has AM_GNU_GETTEXT(), which will enable i18n if a gettext library is found. For uClibc, it is found if the gettext package has been built, and it will add -lintl to the link flags. For musl and glibc, it is always found, in libc itself so nothing is added to the link flags. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Matthew Weber <matt@thewebers.ws> Tested-by: Matthew Weber <matt@thewebers.ws> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* domoticz: fix patch for uClibc compatibilityThomas Petazzoni2016-08-261-18/+15
| | | | | | | | | | | | | | | | | | | | The source files in the domoticz tarballs have DOS line endings, which don't appear when fetching the source code from Git. Therefore, a patch generated from the Git repository doesn't apply directly on the source code extracted from the tarball. This commit fixes the patch so that it applies cleanly to the tarball. Notice that the CMakeLists.txt file is not affected, only the domoticz.cpp file uses DOS line endings. While we're at it, we change the patch title prefix from [PATCH 1/1] to just [PATCH]. Fixes: http://autobuild.buildroot.net/results/a0539b3551d482411dd4bcd5c9b8c89f77e68475/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/runc: bump version to cc29e3Christian Stewart2016-08-262-2/+2
| | | | | | | | | | Bump runc to cc29e3dded8e27ba8f65738f40d251c885030a28 This version is required by Docker Engine v1.12.0. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 6ad14a368798619d67d68a3b297333c153230ae1)
* package/docker-engine: bump to v1.12.0Christian Stewart2016-08-262-2/+2
| | | | | | | | Bump docker-engine to the latest stable v1.12.0 from v1.12.0-rc3. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit f892015d78eb0f2cc7ddd754beabcf41bfa6da6b)
* domoticz: fix build with uClibcRahul Bedarkar2016-08-251-0/+61
| | | | | | | | | | | | | | | | | | | | | | | domoticz.cpp currently assumes that on GNU/Linux systems header <execinfo.h> is available. But that is not true. Since it provided by C library and uClibc can be built without backtrace support. And in such cases we get following build error. domoticz-3.4834/main/domoticz.cpp:48:22: fatal error: execinfo.h: No such file or directory #include <execinfo.h> ^ compilation terminated. This commit adds patch for detecting presence of <execinfo.h> and guards code accordingly. Fixes: http://autobuild.buildroot.net/results/393/393f839e160b51ca12ac36058718ad2f0c1b50a6/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/uboot-tols: fix dependency of comment about FIT supportYann E. MORIN2016-08-251-1/+1
| | | | | | | | | | | | | | | When commit 031130a4 added the dependency on shared libs for FIT support in uboot-tools, the dependency of the comment was added exactly as the dependency of the symbol. That means the comment is shown when FIT support is possible, and hidden when it is not, while we want it the other way around... Fix the dependency. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* elf2flt: fix threading apps on ARM noMMU systemsWaldemar Brodkorb2016-08-251-0/+34
| | | | | | | | See this thread, which explains the problem in detail: http://mailman.uclinux.org/pipermail/uclinux-dev//2016-April/052713.html Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-meld3: fix setup typeYegor Yefremov2016-08-251-1/+1
| | | | | | | | | | meld3 relies on setuptools instead of distutils. Fixes: http://autobuild.buildroot.net/results/f9e/f9ef01d2cb1d32cb13743e83c7fc9c0d354fc571/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sconeserver: fix build with gcc-6Yann E. MORIN2016-08-252-2/+2
| | | | | | | | | | | | We simply bump the version rather than backport the patch, as there has been only very few, minor commits in-between. Fixes: http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/ http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lldpd: disable use of libbsdYann E. MORIN2016-08-242-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | libbsd installs at least one .pc file that contains a -isystem include path (-isystem /usr.include/bsd), but -isystem is not munged by pkg-config, so we end up using /usr/include/bsd which is not suitable for the target. And breaks big time (see failures, below). But using libbsd is completely optional. In fact, our lldpd.mk did not even express the dependency on libbsd, so we may well have had builds without libbsd. The functionality brought in by using libbsd is very minor (just setting the neighbour name in /proc/self/cmdline), so we just make lldpd not use libbsd at all. There is no --disable-libbsd or such, so we just patch it out of configure.ac. Fixes: http://autobuild.buildroot.org/results/6b7/6b70fa379e834ec71cc260ba6af771b531ca3511/ http://autobuild.buildroot.org/results/769/769074c4bb67336ae6679f2c1cd2a8220d2bec24/ http://autobuild.buildroot.org/results/c8a/c8a6001f437701ecc75f6c9252935645bda8a8c8/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils: fix bfin buildWaldemar Brodkorb2016-08-231-0/+6
| | | | | | | | | | | | See gcc bug for details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77311 Fixes: http://autobuild.buildroot.net/results/1e93be2fb02a3fb2731e48b0d9e54a0d4080a112/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-headers: bump 3.18.x and 4.1.x seriesGustavo Zacarias2016-08-231-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openblas: fix build with old binutils versionsThomas Petazzoni2016-08-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Older toolchains that use binutils <= 2.23.2 are affected by binutils bug #14887 (https://sourceware.org/bugzilla/show_bug.cgi?id=14887), where: someinstruction [ foo, something ] is not accepted, due to the whitespace after [ and before ], causing the following build failures for OpenBLAS: ARM register expected -- `pld [ r1,#512 ]' Since we don't have any mechanism to add dependencies on binutils versions, we work around this problem by patching the code to remove the problematic whitespaces. As there are many many instances of this in the ARM assembly code of OpenBLAS, we use a sed expression to make this modification rather than a patch. Fixes: http://autobuild.buildroot.net/results/43e50b480b4aea0fdec745d7875c85377c114cac/ [Peter: use single quotes in sed invocation] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ffmpeg: fix bfin buildWaldemar Brodkorb2016-08-221-0/+26
| | | | | | | | | | | | | A gcc bug is triggered when Os/O2/O3 is used to compile the function. Just force O1 for the problematic function for Blackfin. See gcc bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77311 Fixes: http://autobuild.buildroot.net/results/1118d568959006b7f973761884fd3f4b63be19b1/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/trousers: fix musl buildRomain Naour2016-08-221-0/+29
| | | | | | | | | | | The musl libc doesn't provide <bits/local_lim.h>, use <limits.h> instead. Fixes: http://autobuild.buildroot.net/results/f71/f71edcf08f31029ef642415b8351ed14767c8e0e Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/trousers: needs host-pkgconfRomain Naour2016-08-221-1/+1
| | | | | | | | | | | | | Otherwise the build fail with this error: configure.in:53: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:95: error: possibly undefined macro: AM_CONDITIONAL Also, there is a PKG_CHECK_MODULES used for GTK. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* wireshark: fix typoBaruch Siach2016-08-211-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* quagga: fix static link with zlibBaruch Siach2016-08-211-0/+108
| | | | | | | | | | | | | | | quagga links with zlib indirectly via netsnmp -> openssl -> zlib. quagga and zlib both define the identically named but otherwise unrelated 'zcalloc' symbol. This breaks static linking. Add a patch that renames the offending symbol, thus fixing the build. Fixes: http://autobuild.buildroot.net/results/013/01317aeaff7d127a05e0488a51e81f2d43750687/ http://autobuild.buildroot.net/results/e9f/e9f17bb6e048c3dd3c65fc588dc5244fbbbba6fb/ http://autobuild.buildroot.net/results/72b/72b5e8a3d4c1d27c61cdad5a90691117d0dcfbb9/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/trace-cmd: fix build without ptraceRomain Naour2016-08-211-0/+32
| | | | | | | | | | Backport upstream patch. Fixes: http://autobuild.buildroot.net/results/78c/78ca1819cdecce81336cadca17762fde8276d13a Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tstools: requires dynamic library supportBaruch Siach2016-08-211-0/+5
| | | | | | | | | | | | tstools Makefile tries to build shared libtstools.so library unconditionally. Fixes: http://autobuild.buildroot.net/results/208/20830bccab8508aab215c5fc8010e180cc68af51/ http://autobuild.buildroot.net/results/988/9882f93e11dbaba8c6973bedc9d00dbb238a4c06/ http://autobuild.buildroot.net/results/11c/11c802bcfab70a0a2593079657529c763fd82aa1/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* wireshark: fix static build with libpcap+libusbBaruch Siach2016-08-211-1/+1
| | | | | | | | | | | | | | | | | The wireshark autoconf acinclude.m4 source calls AC_PATH_TOOL() to find pcap-config only when --with-pcap is missing. Otherwise it just trusts the PCAP_CONFIG environment variable. Since we use --with-pcap, seeding ac_cv_path_PCAP_CONFIG gives nothing. Set PCAP_CONFIG instead to let the configure script discover the dependencies of libpcap. This fixes static build when libpcap links with libusb. Fixes: http://autobuild.buildroot.net/results/ef5/ef50939b89373aad04275cbdeeff4c0e2807c0d5/ http://autobuild.buildroot.net/results/ffc/ffc921135c16c7017cd7a23c5e0c445757509abc/ http://autobuild.buildroot.net/results/2d8/2d8cd47cc664dff0f76a230b36c37291f3087e35/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/ncurses: fix build on noMMU uclinux targetsYann E. MORIN2016-08-211-0/+30
| | | | | | | | | | | | | | | | | | | | | The ncurses buildsystem does not recognise 'uclinux' as being a 'linux', so it falls back to generic checks, especially when trying to decide what macros to define. So it misses defining absolutely required macros when doing widechar, which break the bui,d. But 'uclinux' is just a 'linux' like any other in this respect. We fix both aclocal.m4 and the generated ./configure script because ncurses does not autoreconf correctly (see comment in 0001-*.patch). Fixes: http://autobuild.buildroot.org/results/d5c/d5c787d34acbfc0c0c7bd8cc0e15b5bc2460d88a/ http://autobuild.buildroot.org/results/fc4/fc4b41fb955c390913a879e0202760347ce29987/ [...too many to list...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pinentry: fix build issue with gcc 5.xThomas Petazzoni2016-08-201-0/+7
| | | | | | | | | | | | | | | | | | | pinentry currently fails to build with gcc 5.x, because it uses some functionality from std::string that requires C++11 without passing the appropriate -std= value. We fix this by passing a proper -std= option when gcc >= 5.x. Note that this can be removed once pinentry is bumped to the newest version (currently 0.9.7) because they no longer use std::string in the Qt part. Fixes: http://autobuild.buildroot.net/results/6ea64f692acaebc4d58f3371c632b5121500f17e/ (and many, many similar build failures) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> One-beer-granted-to: Yann E. MORIN <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* glib-networking: specify ca-certificates pathspecGustavo Zacarias2016-08-201-0/+2
| | | | | | | | | Otherwise the configure script will probe the distro directories for it and it may not match what we use, for example fedora uses /etc/pki instead of /etc/ssl. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: remove libudev dependency from kmsPeter Seiderer2016-08-201-0/+33
| | | | | | | | | | | | | | | | | | | | Use upstream patch [1] Fixes [2]: KMS auto-detection... () Project ERROR: libudev development package not found KMS disabled. KMS support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. [1] https://code.qt.io/cgit/qt/qtbase.git/patch/?id=72492735b7b7770808fcc9fe067e8f03fab827fc [2] http://autobuild.buildroot.net/results/063/063859ad460552dd7c101115500b7845045a134f Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-headers: bump 3.14.x and 4.{4, 7}.x seriesGustavo Zacarias2016-08-201-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fwup: bump version to v0.8.2Frank Hunleth2016-08-202-2/+2
| | | | | | | | This version brings in several bug fixes: one of which partially addresses Buildroot autobuilder failures for static configurations. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: fix build issue related to clock_gettime()Thomas Petazzoni2016-08-202-0/+55
| | | | | | | | | | | | In some older versions of glibc, clock_gettime() is in librt, so we need to link with librt when clock_gettime() is used. This commit adds a lirc-tools patch to make sure we link with librt when needed. Fixes: http://autobuild.buildroot.net/results/2770360880c9b265c8e019141925e56c35ba22dc/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/x11r7/xdriver_xf86-video-intel: use -O2 build optimisation levelBernd Kuhls2016-08-201-2/+4
| | | | | | | | | | | | Reported by Gustavo: http://lists.busybox.net/pipermail/buildroot/2016-August/169959.html The fix was suggested on the Gentoo bugtracker: https://bugs.gentoo.org/show_bug.cgi?id=582910#c4 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/kismet: remove kernel headerRomain Naour2016-08-201-0/+51
| | | | | | | | | | dumpfile_tuntap.h mixes userspace and kernel headers. Fixes: http://autobuild.buildroot.net/results/8a3/8a3e2ba9e0a698d25e1fc8684784e8ba9a5d2e80 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/kismet: add hash fileRomain Naour2016-08-201-0/+2
| | | | | Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linknx: add additional upstream URLThomas Petazzoni2016-08-201-0/+1
| | | | | | | | While the SourceForge page still exists, it seems to be a bit outdated, and there is now a much newer Github repository with recent activity, so mention it as well in the Config.in help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linknx: fix build with gcc 6.xThomas Petazzoni2016-08-201-0/+42
| | | | | | | | | | Add a patch to fix the build of linknx with gcc 6.x. Fixes: http://autobuild.buildroot.net/results/32e375e3f254ac19bed54a9e9fd6c1e9048e2043/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bfin: fix issues with internal toolchain, re-enable C++ supportWaldemar Brodkorb2016-08-206-27/+2113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The three patches allow to compile applications using TLS emulation from libgcc or C++ applications. The patches 892-libgcc-mkmap-symver-support-skip_underscore.patch and 893-libgcc-config-bfin-use-the-generic-linker-version-in.patch fixes how libgcc is generated, by making the necessary libgcc symbols declared "GLOBAL", and therefore visible outside of libgcc. This fixes a large number of undefined reference issues (for either C++ applications or applications using TLS emulation). This was reported as gcc PR74748. The patch 894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch allows to build DWARF in FDPIC mode. This patch replaces the older 892-disable-dwarf-bfin.patch, as instead of disabling DWARF support, it fixes it. This was reported as gcc PR68468. In order to get C++ working without unresolved symbols, we also need to disable symbol versioning (--disable-symvers). This is a remaining issue in gcc which will be investigated at a later point. Since this commit fixes C++ support in Blackfin, it re-enables the selection of C++ support for this architecture. Fixes: (alsa-lib emutls) http://autobuild.buildroot.net/results/8544ce58d75820666579db93a25ca5656a8efa8e/ (cairo emutls) http://autobuild.buildroot.net/results/88b02a5dd5408318941ccbfcea0a9cbaa331500a/ (audiofile c++) http://autobuild.buildroot.net/results/394e530c5dcd9ccb590eb151aeaadb37d11e0e39/ (assimp c++) http://autobuild.buildroot.net/results/01f4be126c2d786a5ad7f220c2cf60539888a480/ (bellagio c++) http://autobuild.buildroot.net/results/ada/ada44228bf13ec05382275bd6571396f5ba2b1f7/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Tested-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libffi: fix m68k coldfire compileWaldemar Brodkorb2016-08-201-0/+77
| | | | | | | | | | | Fix suggested upstream: https://github.com/libffi/libffi/pull/273 Fixes: http://autobuild.buildroot.net/results/1014a22cfdd3b18f349dde33f14acca4131dbd5b/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* musl: fix a regression for mipsWaldemar Brodkorb2016-08-201-0/+67
| | | | | | | Add upstream patch to fix a regression regarding tcsetattr. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jack2: fix build with gcc 6Rahul Bedarkar2016-08-202-0/+2
| | | | | | | | | | | | | | | | | | | | | | | With gcc version 6, we get the following error when building jack2: ../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing] jack_latency_range_t capture_latency = {-1, -1}; ^ ../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing] ../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing] jack_latency_range_t playback_latency = {-1, -1}; ^ ../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing] This is fixed by grabbing an upstream commit, ff1ed2c4524095055140370c1008a2d9cccc5645 Fixes: http://autobuild.buildroot.net/results/8a8/8a8d533a0f785591fee10f1c09c9294f892ef7f7/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* babeld: fix build with the musl C libraryThomas Petazzoni2016-08-201-0/+78
| | | | | | | | | | | This commit adds a patch that removes a header inclusion causing redefinition issues with the musl C library. Fixes: http://autobuild.buildroot.net/results/7d80c66ab5d4975de7256e73592845b9f8b3a731/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntfs-3g: add patch to fix musl build issueThomas Petazzoni2016-08-201-0/+43
| | | | | | | | | | | This commit adds a simple patch that fixes the build with the musl C library. The fix was suggested by Khem Raj (thanks!). Fixes: http://autobuild.buildroot.net/results/eb6dabccf729f96a4e06a98526eb4c716fa6bcd2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: backport upstream commit to fix musl buildThomas Petazzoni2016-08-191-0/+106
| | | | | | | | | | | This commit adds a new patch to sane-backends, backported from upstream, to fix the build with the musl C library. Fixes: http://autobuild.buildroot.net/results/86c0d172f97a09230a1b589d599c54a656dae66d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: build using old C++ standardVlad Zakharov2016-08-191-0/+5
| | | | | | | | | | | | | | | 'std::auto_ptr' is deprecated with gcc-6 but is used in qt4 code. So we have to build using old C++ standard to prevent build failures. qt4 is not being developed no more, so unfortunately we can't update obsolete C++ code and have to add this workaround. Fixes: http://autobuild.buildroot.net/results/54172d55f39b2fcfa5b7fb4d4ee01566678babbc/ and also Qt build for ARC. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils: disable warning flags to prevent build failuresVlad Zakharov2016-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | binutils-arc-2016.09-eng008 build fails sometimes. This happens due to the following issue: binutils configure script has CC variable that stores compiler for target and CC_FOR_BUILD variable that stores compiler for host. WARN_FLAGS are verified by the script to be compatible only with CC compiler but not with CC_FOR_BUILD compiler. Despite this WARN_FLAGS are passed to both CC and CC_FOR_BUILD compilers. This leads to unevident errors when cross-compiling. More information you can find in the binutils mailing list: https://sourceware.org/ml/binutils/2016-08/msg00117.html We are going to write a patch for bunutils that fixes the initial issue. Current patch contains temporary workaround. It should be deleted after real fix. Fixes: http://autobuild.buildroot.net/results/00455b6a8324920ad843d90ce0413451522691a8// Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* logrotate: fix build with gcc 6Rahul Bedarkar2016-08-193-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gcc version 6, we get the following error when building logrotate: logrotate.c: In function 'postrotateSingleLog': logrotate.c:1784:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!state->doRotate) ^~ logrotate.c:1787:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!hasErrors && log->flags & LOG_FLAG_TMPFILENAME) { ^~ This is fixed by grabbing an upstream commit, 6a36c105587b07ad14fc937f3ee6e2eb402621a2. Once this is fixed, we get: config.c: In function 'strndup': config.c:87:10: error: nonnull argument 's' compared to NULL [-Werror=nonnull-compare] if(!s) ^ cc1: all warnings being treated as errors make[2]: *** [config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[2]: *** [logrotate.o] Error 1 This is due to logrotate providing its own implementation of strndup(). We could fix it, but it much better to simply use the one provided by the C library, by fixing the detection method for strndup availability. This is done in patch 0002-Use-autoconf-checks-for-strndup-and-asprintf.patch. Fixes: http://autobuild.buildroot.net/results/6dc2eb22104076920d77425b1e608ef9b9e01c94/ Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> [Thomas: replace fix for the nonnull issue with a different one.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* imx-uuc: uses fork(), needs MMUThomas Petazzoni2016-08-191-0/+2
| | | | | | | | | | | | The imx-uuc source code uses fork(), so it can only be compiled and used on MMU-capable platforms. This commit adds the necessary Config.in dependencies to express this. Fixes: http://autobuild.buildroot.net/results/41602c20d4e6a833e72b507792a28b8db74a5f53/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud