summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
...
* | ruby: requires shared libraryThomas Petazzoni2014-08-291-2/+4
| | | | | | | | | | | | | | | | | | No matter what you do, the Ruby build system wants to use shared libraries for the encoding modules. Therefore, this commit disallows the selection of Ruby in BR2_PREFER_STATIC_LIB situations. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | libroxml: fix pthread linking issuePeter Korsgaard2014-08-291-0/+4
| | | | | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/d18/d188bcf5c374273ffe09589f7db5a40e4c5d7bc9/ Thread handling can get disabled with --disable-xml-thread-safe, but that's a change for next. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | xapp_luit: needs MMUBernd Kuhls2014-08-271-0/+1
| | | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/13a/13a97461e3b6098e59cfcd829e6bcafa51e50bb4/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | uboot-tools: add patch to fix (no)stripping on non-ELF platformsThomas Petazzoni2014-08-271-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | On Blackfin FLAT, stripping does not exist, but recent U-Boot versions nonetheless try to strip and fail if they cannot do so. This commit adds a U-Boot patch (submitted upstream) that solves this issue. Fixes: http://autobuild.buildroot.org/results/153/1530f8247d1652da5779994f298141b1572ce74f/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | xapp_xfs: needs MMUThomas Petazzoni2014-08-271-0/+1
| | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/7a89f79499e167cc98449a045604d25d4fc88484/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | webkit: disable on SuperHThomas Petazzoni2014-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webkit has been failing on SuperH since a long time, with nobody caring to fix the problem. Since anyway our Webkit version is old and in the process of being updated, our best option for 2014.08 is to simply disallow Webkit on SuperH. Fixes: http://autobuild.buildroot.org/results/3a0/3a0c48f65c06f7f19e608d54307c0788a0130589/ http://autobuild.buildroot.org/?reason=webkit-1.11.5&arch=sh4a Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | perl-gd: mark as brokenThomas Petazzoni2014-08-272-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | perl-gd doesn't build on gcc10 due to the host Perl being a bit old. This shows a defiency in the perl package infrastructure, which is being worked on. However, since it won't be solved before 2014.08, our only solution for now is to mark perl-gd as broken, as well as its reverse dependency perl-gdgraph. Avoids: http://autobuild.buildroot.org/results/228/228b43e67e683cecfa3851a8a030d06e9fdc6dac/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/mpd: opus plugin needs libogg as wellJörg Krause2014-08-272-1/+2
| | | | | | | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/492/4924194292a428a295ded2f7aa0b9a3f81ed1b4a/ The opus decoder plugin depends on libopus and libogg. [Peter: reworded commit message] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | libev: don't install event.hGustavo Zacarias2014-08-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a 'compatibility layer' with libevent which we: 1) Don't need 2) Possibly outdated with respect to libevent2 3) Causes build failures Fixes: http://autobuild.buildroot.net/results/451/4510fe02ef3497803ed27bf339dca07b3b073c10/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/infra: fix downloading versions with a slashYann E. MORIN2014-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since cset 54456cc (infra: consistently use double dollar signs...), it is no longer possible to download versions with a slash in it, because the _DL_VERSION variable is second-expanded, but the _VERSION variable is immediately-expanded to have '/' substitued with '_'. So, _DL_VERSION is only expanded at the time it is evaluated, and by that time, we've lost the slashes in _VERSION. Make the _DL_VERSION variables immediately-evaluated. Fixes: https://bugs.busybox.net/show_bug.cgi?id=7328 Reported-by: Vincent Stehlé <vincent.stehle@freescale.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vincent Stehlé <vincent.stehle@freescale.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/libinput: fix build with libevdevRomain Naour2014-08-251-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | libevdev and libinput use the same function name (log_msg). An easy fix is to rename one of the two functions. Fixes: http://autobuild.buildroot.net/results/b1e/b1ea94f09d6f7459e3d7794c4a62bbdbb53d5da6/build-end.log [Thomas: slightly reword the patch description.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/libevas-generic-loaders: needs zlibRomain Naour2014-08-252-1/+2
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/5d4/5d41cec63a15dc5f31460c8cecd6054119ddb1fc/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/procps-ng: fix linking with intlRomain Naour2014-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | procps-ng doesn't build with (e)glibc toolchain when gettext package is selected. With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext. Linking with intl is only needed if the toolchain needs gettext and locale is set. Fixes: http://autobuild.buildroot.net/results/3e8/3e8464e0b00ce22fa02a6337159fca250d86425c/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | php: security bump to version 5.5.16Gustavo Zacarias2014-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: CVE-2014-3538 - Extensive backtracking in rule regular expression CVE-2014-3587 - Segfault in cdf.c CVE-2014-2497 - php-gd 'c_color' NULL pointer dereference CVE-2014-5120 - Null byte injection possible with imagexxx functions CVE-2014-3597 - segfault in dns_get_record Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/ltris: fix linking with intlRomain Naour2014-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ltris doen't build with (e)glibc toolchain since commit 454a41016f2f074b69e2c677f4749c213c653e86 when gettext package is selected. With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext. Linking with intl is only needed if the toolchain needs gettext and locale is set. Fixes: http://autobuild.buildroot.net/results/821/82128cb9f5cd6ae2595a8302462f1b5719dad9f7/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/lbreakout2: fix linking with intlRomain Naour2014-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | lbreakout2 doen't build with (e)glibc toolchain when gettext package is selected. With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext. Linking with intl is only needed if the toolchain needs gettext and locale is set. Fixes: http://autobuild.buildroot.net/results/a77/a77dd3e18cc4a5e8300ab33eb532cc03d0156f7f/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | usb_modeswitch: more descriptive help textJonathan Ben Avraham2014-08-211-2/+13
| | | | | | | | | | | | | | | | | | | | Provides a fuller description of the USB_ModeSwitch functionality for the benefit of the otherwise clueless. [Thomas: minor formatting and wording fixes.] Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/xmlstarlet: fix static linkingRomain Naour2014-08-211-1/+7
| | | | | | | | | | | | | | | | | | | | | | The static linking with libxml2 and lib(e)xslt (--enable-static-libs) need to be enabled when BR2_PREFER_STATIC_LIB is set. Fixes: http://autobuild.buildroot.net/results/0fd/0fd4a65ab98a4cf3fe893c29628608a71e96ecbc/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | tvheadend: fix undefined variable in error printDanomi Manchego2014-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | The variable "$SCRIPTNAME" is undefined; replace with "$0". Also, fix "Stopping" spelling. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | ntp: fix undefined variable in error printDanomi Manchego2014-08-211-1/+1
| | | | | | | | | | | | | | The variable "$SCRIPTNAME" is undefined; replace with "$0". Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | gstreamer{, 1}: fix unaligned access detection for arcAlexey Brodkin2014-08-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the same issue as reported for microblaze here http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/ Similar to the existing handling for avr32, microblaze and xtensa. Also add it for gstreamer1 for good measure as it was missing there as well. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | imagemagick: Disable OpenMPBenoît Thébaudeau2014-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default (i.e. without adding libgomp.so* to BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS), if an external toolchain with libgomp support is used, then libgomp is installed to staging/ , but not to target/ . Consequently, with such a toolchain, imagemagick's configure detected libgomp as supported and enabled its usage for the build stage, but then it failed to run on the target because libgomp was missing. This is the bug #7322. Disable OpenMP for imagemagick as a temporary workaround, until a better long term solution is agreed on and implemented. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/gutenprint: replaces -static with -static-libtool-libsRomain Naour2014-08-181-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gutenprint rely on the original behaviour of -static, but since commit in buildroot "support/libtool: make -static behave like -all-static" [1], the build of genppd is broken. genppd need to be build statically otherwise the following warning appears: ***WARNING: Use of --disable-static-genppd or --disable-static when building CUPS is very dangerous. The build may fail when building the PPD files, or may *SILENTLY* build incorrect PPD files or cause other problems. Please review the README and release notes carefully! [1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64 Fixes: http://autobuild.buildroot.net/results/55f/55f78104d7a5d11baf5650ac12aaa1b23c2b7743/build-end.log http://autobuild.buildroot.net/results/fc8/fc8cfe3f27ceaca70c7471c44305317c66cb0eea/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | msgpack: add dependency on atomic operationsAnton Kolesov2014-08-182-4/+4
| | | | | | | | | | | | | | | | | | | | This fixes: http://autobuild.buildroot.net/results/44849a386cefb8899f4560296bfbbd8ea19ee910/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> [yann.morin.1998@free.fr: use the new symbol; remove comment strings] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | libftdi: add dependency on atomic operationsAnton Kolesov2014-08-182-0/+3
| | | | | | | | | | | | | | | | | | | | This fixes: http://autobuild.buildroot.net/results/6cb25ed954840109c9d0e582e922b0ba9d07e174/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> [yann.morin.1998@free.fr: use the new symbol; remove comment strings] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | pulseaudio: add dependency on atomic operationsAnton Kolesov2014-08-184-0/+16
| | | | | | | | | | | | | | | | | | | | This fixes: http://autobuild.buildroot.net/results/d463f3bf730a600a07ed6cd33695bf45e9fd3540/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> [yann.morin.1998@free.fr: use the new symbol; remove comment strings] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | cairo: add dependency on atomic operationsAnton Kolesov2014-08-1810-0/+16
| | | | | | | | | | | | | | | | | | | | | | This fixes: http://autobuild.buildroot.net/results/fadfaa9916724d310d0dda555a1db31bee1601d0/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> [yann.morin.1998@free.fr: use the new symbol; remove comment strings; fix weston's comment] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/thrift: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-181-4/+4
| | | | | | | | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/jack2: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-181-3/+4
| | | | | | | | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/libtorrent: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-182-8/+8
| | | | | | | | | | | | | | | | | | And propagate to the reverse dependencies of libtorrent Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/icu: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-185-20/+19
| | | | | | | | | | | | | | | | | | | | And propagate to the reverse dependencies of icu. Also, fix beecrypt's comment: only the C++ support needs atomics. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | ecryptfs-utils: select gettext, needed for command line utilitiesThomas Petazzoni2014-08-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | The ecryptfs-utils package requires the 'gettext' program, which is provided by the gettext package, to get translated strings. This is needed regardless of whether the toolchain uses glibc or uClibc. This issue was reported by 'ausjke' on IRC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gettext: allow building when BR2_NEEDS_GETTEXT is not selectedThomas Petazzoni2014-08-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, we thought that gettext was only needed for the target for uClibc toolchains, to provide the gettext functions that are normally provided directly by glibc. However, the gettext runtime actually does more than providing the equivalent of those C library functions: it also provides certain command line tools, like 'gettext' to get translated strings from the shell. This tool is for example used by certain ecryptfs-utils scripts to get translated strings. It is therefore necessary to be able to build the gettext package even for glibc toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/xbmc-pvr-addons: Bump versionBernd Kuhls2014-08-181-1/+1
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/xbmc: Bump version to 13.2Bernd Kuhls2014-08-181-1/+1
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | mpd: Add missing config option for plugin MADJoerg Krause2014-08-171-0/+7
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | mpd: Set enable/disable config option for all pluginsJoerg Krause2014-08-171-0/+24
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | mpd: Fix config option for plugin FLACJoerg Krause2014-08-171-1/+1
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | mpd: Fix config option for plugin FAAD2Joerg Krause2014-08-171-1/+1
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | postgresql: remove devfiles from targetFloris Bos2014-08-171-0/+1
| | | | | | | | | | Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/nut: fix parallel installYann E. MORIN2014-08-171-0/+24
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/256/2567e13cd5bc702bc3a38a1d6fc8e34022cc7db5/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/oprofile: fix configure test with gcc 4.9.xRomain Naour2014-08-171-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | Backport the upstream patch that fix a configure test breaked with gcc 4.9.x. This patch must be removed with the next version bump. Fixes: http://autobuild.buildroot.net/results/f80/f8083f038d0efb7b5becf7810b6fcaf440fb8294/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | gcc/4.9: fix C++ exceptions and pthread_exit()Thomas Petazzoni2014-08-171-43/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the introduction of the support for the musl C library, the support of C++ exceptions or features like pthread_exit() got broken even with other libraries such as glibc. This was reported as bug #7028. The problem was caused by the gcc patch needed to add support for musl, which modified the libgcc/unwind-dw2-fde-dip.c logic to decide whether USE_PT_GNU_EH_FRAME should be enabled or not. It completely removed the existing logic, replacing it by a single logic based on the definition of TARGET_DL_ITERATE_PHDR. However, this constant gets defined by the configure script only for Solaris, or Linux Musl platforms. For glibc/uClibc, the configure script does not define it, and therefore USE_PT_GNU_EH_FRAME is not defined, causing issues with exception handling. This patch fixes that by restoring all the logic of libgcc/unwind-dw2-fde-dip.c, and just adding the musl logic as one more case. It has been successfully runtime tested using the two code examples provided in bug #7208, with uClibc, musl and glibc. Cc: Krzysztof Wrzalik <kwrzalik@gmail.com> Cc: David Bachelart <david.bachelart@bbright.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/4.8: fix C++ exceptions and pthread_exit()Thomas Petazzoni2014-08-171-105/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the introduction of the support for the musl C library, the support of C++ exceptions or features like pthread_exit() got broken even with other libraries such as glibc. This was reported as bug #7028. The problem was caused by the gcc patch needed to add support for musl, which modified the libgcc/unwind-dw2-fde-dip.c logic to decide whether USE_PT_GNU_EH_FRAME should be enabled or not. It completely removed the existing logic, replacing it by a single logic based on the definition of TARGET_DL_ITERATE_PHDR. However, this constant gets defined by the configure script only for Solaris, or Linux Musl platforms. For glibc/uClibc, the configure script does not define it, and therefore USE_PT_GNU_EH_FRAME is not defined, causing issues with exception handling. This patch fixes that by restoring all the logic of libgcc/unwind-dw2-fde-dip.c, and just adding the musl logic as one more case. It has been successfully runtime tested using the two code examples provided in bug #7208, with uClibc, musl and glibc. Cc: Krzysztof Wrzalik <kwrzalik@gmail.com> Cc: David Bachelart <david.bachelart@bbright.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/4.7: fix C++ exceptions and pthread_exit()Thomas Petazzoni2014-08-171-38/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the introduction of the support for the musl C library, the support of C++ exceptions or features like pthread_exit() got broken even with other libraries such as glibc. This was reported as bug #7028. The problem was caused by the gcc patch needed to add support for musl, which modified the libgcc/unwind-dw2-fde-dip.c logic to decide whether USE_PT_GNU_EH_FRAME should be enabled or not. It completely removed the existing logic, replacing it by a single logic based on the definition of TARGET_DL_ITERATE_PHDR. However, this constant gets defined by the configure script only for Solaris, or Linux Musl platforms. For glibc/uClibc, the configure script does not define it, and therefore USE_PT_GNU_EH_FRAME is not defined, causing issues with exception handling. This patch fixes that by restoring all the logic of libgcc/unwind-dw2-fde-dip.c, and just adding the musl logic as one more case. It has been successfully runtime tested using the two code examples provided in bug #7208, with uClibc, musl and glibc. Cc: Krzysztof Wrzalik <kwrzalik@gmail.com> Cc: David Bachelart <david.bachelart@bbright.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/arc-4.8-R3: add patch to enable more C++ features with uClibcThomas Petazzoni2014-08-171-0/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes bug #7250, by allowing more libstdc++ features to be enabled with uClibc. libstdc++ wants an absolutely complete C99 support in the C library before enabling *any* feature that needs some C99 functions. However, uClibc doesn't provide C99 complex numbers, so libstdc++ disables a lot of C++ standard methods, even though they are not related to C99 complex numbers. A partial solution already existed in the patch 302-c99-snprintf.patch, but this commit replaces it by the more complete 850-libstdcxx-uclibc-c99.patch, which is highly inspired by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393, except that it doesn't rely on configure.ac checks, but simply on testing defined(__UCLIBC__) like was done in 302-c99-snprintf.patch. This allows to avoid having to autoreconf gcc, which is quite complicated to achieve. Reported-by: Richard <tarka.t.otter@gmail.com> Cc: Richard <tarka.t.otter@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/4.9: add patch to enable more C++ features with uClibcThomas Petazzoni2014-08-172-13/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes bug #7250, by allowing more libstdc++ features to be enabled with uClibc. libstdc++ wants an absolutely complete C99 support in the C library before enabling *any* feature that needs some C99 functions. However, uClibc doesn't provide C99 complex numbers, so libstdc++ disables a lot of C++ standard methods, even though they are not related to C99 complex numbers. A partial solution already existed in the patch 302-c99-snprintf.patch, but this commit replaces it by the more complete 850-libstdcxx-uclibc-c99.patch, which is highly inspired by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393, except that it doesn't rely on configure.ac checks, but simply on testing defined(__UCLIBC__) like was done in 302-c99-snprintf.patch. This allows to avoid having to autoreconf gcc, which is quite complicated to achieve. Reported-by: Richard <tarka.t.otter@gmail.com> Cc: Richard <tarka.t.otter@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/4.8: add patch to enable more C++ features with uClibcThomas Petazzoni2014-08-172-13/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes bug #7250, by allowing more libstdc++ features to be enabled with uClibc. libstdc++ wants an absolutely complete C99 support in the C library before enabling *any* feature that needs some C99 functions. However, uClibc doesn't provide C99 complex numbers, so libstdc++ disables a lot of C++ standard methods, even though they are not related to C99 complex numbers. A partial solution already existed in the patch 302-c99-snprintf.patch, but this commit replaces it by the more complete 850-libstdcxx-uclibc-c99.patch, which is highly inspired by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393, except that it doesn't rely on configure.ac checks, but simply on testing defined(__UCLIBC__) like was done in 302-c99-snprintf.patch. This allows to avoid having to autoreconf gcc, which is quite complicated to achieve. Reported-by: Richard <tarka.t.otter@gmail.com> Cc: Richard <tarka.t.otter@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gcc/4.7: add patch to enable more C++ features with uClibcThomas Petazzoni2014-08-172-13/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes bug #7250, by allowing more libstdc++ features to be enabled with uClibc. libstdc++ wants an absolutely complete C99 support in the C library before enabling *any* feature that needs some C99 functions. However, uClibc doesn't provide C99 complex numbers, so libstdc++ disables a lot of C++ standard methods, even though they are not related to C99 complex numbers. A partial solution already existed in the patch 302-c99-snprintf.patch, but this commit replaces it by the more complete 850-libstdcxx-uclibc-c99.patch, which is highly inspired by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393, except that it doesn't rely on configure.ac checks, but simply on testing defined(__UCLIBC__) like was done in 302-c99-snprintf.patch. This allows to avoid having to autoreconf gcc, which is quite complicated to achieve. Reported-by: Richard <tarka.t.otter@gmail.com> Cc: Richard <tarka.t.otter@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | libnftnl: add patch to avoid symbol conflictThomas Petazzoni2014-08-171-0/+596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ELF binaries and shared libraries are used, the internal functions of libnftnl such as xfree() are not visible to the outside world (their visibility is 'hidden'). Therefore, the fact that other programs (especially nftables) may have symbols with the same name does not cause any problem. However, when doing static linking on a non-ELF platform (such as Blackfin, which uses the FLAT binary format), there is no way of encoding this visibility. Therefore, the xfree() symbols of libnftnl becomes visible to the outside world, causing a conflict with the xfree() symbol defined by nftables. To solve this, this patch renames the libnftnl xfree() function to libnftnl_xfree(). This commit fixes a problem seen after building nftables statically on Blackfin. This problem was seen after the previous patch fixing the autobuilder failure: http://autobuild.buildroot.org/results/98b/98b707ffdeeb1cda94b7c1019ef29cf5fd7db8bf/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud