summaryrefslogtreecommitdiffstats
path: root/package/uclibc
Commit message (Collapse)AuthorAgeFilesLines
* uclibc-ng: remove temporary workaroundWaldemar Brodkorb2015-04-261-0/+118
| | | | | | | | | fminf and others got implemented in the time after this patch was added. Remove the workaround to get mesa compiled with uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: ignore missing hash for snapshotsYann E. MORIN2015-04-251-0/+1
| | | | | | | | | | | | | We can't have a hash for snapshots, so add them to the exclusion list. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Arnout Vandecappelle <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: update hash for arcArnout Vandecappelle2015-04-251-3/+3
| | | | | | | | | | | | | The old hash for 2014.08 was never updated. Since uclibc-arc-2014.12 is downloaded from the github helper, it is converted into a 'none' hash. Reordered the hashes so the none-hashes are together. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: add missing hash for eXtensaYann E. MORIN2015-04-251-0/+3
| | | | | | | | | | | | This is a git snapshot, we can't have a hash for it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: drop BR2_INET_IPV6Gustavo Zacarias2015-04-221-5/+0
| | | | | | | It's no longer used so farewell. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: default to Y for IPv6Gustavo Zacarias2015-04-222-8/+2
| | | | | | | | Remove the option to disable IPv6 support in uclibc and associated logic. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc-ng: update to 1.0.2Waldemar Brodkorb2015-04-215-63/+77
| | | | | | | | | | Following problems found by buildroot should be fixed: * static python2 compile (there is still a general problem, not related to uClibc-ng) * postgresql configure hickup (link warnings got removed) * samba runtime problems (RPATH in executables are respected) Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: drop -ng 1.0.0 stray patchGustavo Zacarias2015-04-181-31/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: unbreak SH & SPARCGustavo Zacarias2015-04-181-0/+89
| | | | | | | | | The patch from commit 200aad4f3206c9f151f15922dd02b01f474a5503 broke sh and sparc builds. Add and adjust a patch from uClibc master that fixes this. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: enable UCLIBC_HAS_UTMP in snapshot configurationGustavo Zacarias2015-04-161-0/+1
| | | | | | | Otherwise busybox in the default configuration fails to build. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: libm: Add missing C99 float/ld wrappers (backport)Bernd Kuhls2015-04-131-0/+870
| | | | | | | | | | | This commit adds a patch to uclibc with a backport from upstream to provide a proper fix for mesa3d which depends on fminf. As discussed with Thomas we keep the mesa3d patch around for a while: http://lists.busybox.net/pipermail/buildroot/2015-March/123410.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: update hash for uClibc-ng 1.0.1Thomas Petazzoni2015-04-031-2/+2
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/c2f/c2f5792bbe467556a394ff19e03ddb5f71251ac9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: drop BR2_TOOLCHAIN_BUILDROOT_LARGEFILEGustavo Zacarias2015-04-012-12/+0
| | | | | | | | Kill the option to build the non-largefile variant and remove the hidden option since it's now unused. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: default to Y for LARGEFILEGustavo Zacarias2015-04-011-4/+2
| | | | | | | | | This will allow us to remove largefile handling in the tree without breaking things while doing so. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: enable UCLIBC_HAS_GNU_GETSUBOPT in all configsMax Filippov2015-03-203-3/+3
| | | | | | | | | | | | This fixes build for applications that use getsubopt unconditionally. Code addition to getopt is negligible. Fixes: http://autobuild.buildroot.net/results/90c318e3a9ef5e626d0a80e36695d34eda21f97e/ http://autobuild.buildroot.net/results/cd8e9d9a5f454c321071c21192958aeee9c39e73/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: Fix getopt implementations conditional compilationMax Filippov2015-03-201-0/+58
| | | | | | | | | | | | | | | | There's no way to disable getsubopt in uClibc 0.9.33.2: either GNU or SUSv3 getsubopt is always built. Properly exclude SUSv3 getsubopt implementation when GNU getopt is selected. Exclude GNU getsubopt when SUSv3 getopt is selected. Honor getopt_long configuration. This brings UCLIBC_HAS_GNU_GETOPT, UCLIBC_HAS_GNU_GETSUBOPT and UCLIBC_HAS_GETOPT_LONG handling in sync with uClibc and uClibc-ng tips. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: remove blackfin bitsGustavo Zacarias2015-03-202-52/+7
| | | | | | | | Now that we don't support the internal blackfin toolchain any more remove unnecessary bits, conditionals and tweaks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uclibc: fix linuxthreads symbol typosMax Filippov2015-03-201-3/+3
| | | | | | | | BR2_UCLIBC_VERSION_XTENSA_GIT and BR2_UCLIBC_VERSION_SNAPSHOT select BR2_UCLIBC_SUPPORTS_* instead of new BR2_UCLIBC_VERSION_SUPPORTS_*. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: double quote values of string optionsThomas Petazzoni2015-03-141-34/+34
| | | | | | | kconfig string option values should use double quotes when defined, so this commit fixes package/uclibc/Config.in in that respect. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: update to latest release 1.0.1Waldemar Brodkorb2015-03-143-2/+62
| | | | | | | | | | | Changes are here http://uclibc-ng.org/pipermail/devel/2015-March/000114.html Buildroot related are SPARC and XTENSA non-threading builds and static linking fixes for pthread apps like cdrkit. Add a hotfix for MIPS compile with older GCC. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: remove version from the uclibc-ng config optionThomas Petazzoni2015-03-143-6/+6
| | | | | | | | | | | | | | | For the moment, we probably don't want to have several versions of uClibc-ng supported at the same time. In preparation to the bump of uClibc-ng to 1.0.1, this commit gets rid of the version number from the uclibc-ng config option so that we don't have to rename this option over and over again each time a new uClibc-ng release is made. This would be annoying in terms of Config.in.legacy handling. Since the option BR2_UCLIBC_NG_VERSION_1_0_0 has never been part of any Buildroot release, we don't have to add anything to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: remove bogus comment about thread implementation selectionThomas Petazzoni2015-03-141-4/+1
| | | | | | | | There is no need to warn the user about selecting an inappropriate thread implementation, since we make sure only supported combinations can be selected. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: adapt thread implementation selection to uClibc-ngThomas Petazzoni2015-03-141-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uClibc-ng does not support linuxthreads or linuxthreads.old on architectures that have NPTL support. This creates another complicated dependency: dependeing on the uClibc version being used, not the same thread implementations are available. In order to handle this situation, this patch introduces three hidden booleans: - BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS - BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD - BR2_UCLIBC_VERSION_SUPPORTS_NPTL They are selected by the different uClibc versions, depending on which thread implementation they support on the different architectures. Then, the choice of the thread implementation can rely on those booleans to know if a given thread implementation is available in the current architecture / uClibc version selection. This makes sure that unusable thread implementation do not get selected, therefore fixing build issues such as: http://autobuild.buildroot.org/results/89e/89e423bee040cbce3e82cd89f1191efaac490c0d/ The support table is as follows (only taking into account architectures that allow the selection of BR2_TOOLCHAIN_BUILDROOT_UCLIBC, other architectures are not considered) : ----uclibc---- uclibc-xtensa- --uclibc-arc-- --uclibc-ng--- LT LT.old NPTL LT LT.old NPTL LT LT.old NPTL LT LT.old NPTL arc(le|eb) y y n n n n (1) arm(eb) y y y n y y (2) bfin n y n y y n i386 y y y n n y (3) m68k y y y y y n mips(64)(el) y y y n n y powerpc y y y n n y sh y y y n n y sparc y y y n n y xtensa n y n n n y x86_64 y y y n n y (1) : uclibc-ng only has NPTL support for ARC but it requires a more recent compiler version that hasn't been officially released by Synopsys. (2) : the general idea of uclibc-ng is to only support NPTL on architectures where it is available. However, in order to support ARM noMMU platforms, LT.old support has been kept on ARM. (3) : except i386 itself, which doesn't have what's needed for NPTL support. i386 is simply not supported by uclibc-ng basically. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove trailing slash from all package site URLsLuca Ceresoli2015-03-101-1/+1
| | | | | | | | | The recommended form is without the trailing slash. Buildroot will add a slash between FOO_SITE and FOO_SOURCE as appropriate. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: add hash for uclibc-ngGustavo Zacarias2015-03-041-2/+6
| | | | | | | [Thomas: put comments near the relevant line.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: add patch to unbreak sparc non-threaded buildsGustavo Zacarias2015-03-042-0/+62
| | | | | | | | | | SPARC non-threaded builds are broken, add patch for uClibc & uClibc-ng to fix it. Status: upstream uClibc (so likely -ng will follow suit shortly). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: enable Xtensa NPTL support with uClibc-ngThomas Petazzoni2015-03-011-1/+3
| | | | | | | | | Contrary to mainline uClibc, uClibc-ng has support for NPTL on Xtensa, so let's allow selecting NPTL when a uClibc version other than the Xtensa special uClibc version is used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
* uclibc: add ability to use uClibc-ng 1.0.0Thomas Petazzoni2015-03-013-0/+304
| | | | | | | | | | | | | | | | This commit adds support for a new uClibc version: uClibc-ng 1.0.0. Since its build system is for now exactly the same as the one of uClibc, we don't create a new package, but instead simply add it as a new uClibc version. The only special trick needed is the creation of a symlink to the program interpreter, due to a mismatch between the program interpreter file name generated by uClibc-ng and the one used by gcc. This patch is heavily based on previous work from Waldemar Brodkorb. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
* uclibc: cleanup handling of ARC uClibc versionThomas Petazzoni2015-02-202-3/+7
| | | | | | | | | | | | This commit makes the ARC uClibc version handling explicit by adding a BR2_UCLIBC_VERSION_ARC_GIT option, rather than only relying on the selected architecture. This is needed in preparation to the introduction of uClibc-ng support, which also supports the ARC architecture: so we will now have two uClibc versions capable of handling ARC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package/uClibc: RIP, avr32Yann E. MORIN2015-02-1419-1055/+8
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ARC: bump tools to 2014.12 releaseAlexey Brodkin2015-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when new shiny tools are released by Synopsys we're ready for version update in Buildroot again. More details about arc-2014.12 release are available here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2014.12 Following patches were removed from GCC since they are a part of release now: * 200-size_type_unsigned_int.patch * 300-ptrdiff_type_int.patch * 400-call-arc_hazard-before-branch-shortening.patch * 401-fix-length-attribute-for-casesi_load-pattern.patch * 402-fix-length-of-instructions-that-are-in-delay-slot-and-needs-to-be-predicated.patch * 403-update-casesi_compact_jump-instruction-length.patch But since arc-2014.12 tools are still based on GCC 4.8 following patches ar still relevant so moving to the new folder to match ARC gcc bump. * 100-libstdcxx-uclibc-c99.patch * 910-gcc-poison-system-directories.patch Binutils are still based on 2.23 so following patch still makes sense: * 600-poison-system-directories.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc/0.9.33.2: Rename MIPS' siginfo _timer membersVicente Olivert Riera2015-02-011-0/+157
| | | | | | | | | | | | | | Backport an upstream patch to fix a compilation problem of strace-4.9+ on MIPS platforms with uClibc. Upstream commit: http://git.uclibc.org/uClibc/commit/?id=a1b88fe87a9d2be5696247d266f5c4fd20f000bb Fixes: http://autobuild.buildroot.net/results/e8f/e8f4965b27c9dcc58d6ec77cdc48b83c218c5bec/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2015-01-151-2/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-12-221-4/+4
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* uclibc: enable UCLIBC_HAS_STRING_GENERIC_OPT in all configsAlexey Brodkin2014-12-103-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description in uClibc for this optoin is: --->--- bool "Use faster (but larger) generic string functions" default y help Answer Y to use the (tweaked) glibc generic string functions. In general, they are faster (but 3-5K larger) than the base uClibc string functions which are optimized solely for size. Many people will answer Y. --->--- Additional 3-5K of size is not that important if resulting libuClibc.so is of size about 300k. But benefits in terms of performance could be pretty significant. For example on ARC in LMbench we see more than 3 times bump in some tests --->--- libc bcopy unaligned ... 8.39 - 6.76 (UCLIBC_HAS_STRING_GENERIC_OPT=no) 8.39 - 23.86 (UCLIBC_HAS_STRING_GENERIC_OPT=yes) --->--- Also since the option in question is default in uClibc I don't expect if enabled back (it was silently disabled in http://git.buildroot.net/buildroot/commit/?id=cfbf8abc33d86a0cf5c1bb3e0817a22009b7f301 on introduction of NPTL in uClibc by Khem Raj) it to introduce problems. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Anton Kolesov <anton.kolesov@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch/mips: remove deprecated mips1/2/3/4 supportGustavo Zacarias2014-12-011-4/+0
| | | | | | | | | | Remove the support for generating mips1/2/3/4 code since it has been deprecated for more than a year now. Also remove the unnecessary kludges in packages for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: do not use GENERATE_LOCALEThomas Petazzoni2014-11-211-2/+4
| | | | | | | | | | | | | | | | | | Since commit 33de7401701e5242196a86b0695ee4ae9a4c4082 ("Makefile: convert "target-generatelocales" to a hook"), the GENERATE_LOCALE variable is never defined when using uClibc. This means that setting any value to the BR2_GENERATE_LOCALE option had no effect for uClibc toolchains. In this commit, we make sure the uclibc.mk logic re-creates its own qstripped version of BR2_GENERATE_LOCALE, in a variable called UCLIBC_GENERATE_LOCALES. This fixes locale generation with uClibc in the internal toolchain backend. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-11-021-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arc: add support of ARC HS38 coreAlexey Brodkin2014-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | Synopsys has recently announced its new ARC HS38 core that is capable of running Linux - http://www.synopsys.com/dw/ipdir.php?ds=arc-hs38-processor ARC HS38 is based on ARCv2 ISA and requires special settings of gcc and libc. Also in case of HS38 atomic extensions (LLOCK/SCOND instructions) are built-in by default, so enabling atomic extensions in Buildroot as well. This commit adds support of the core in buildroot. [Peter: string type, so must be in quotes as noted by Yann] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Anton Kolesov <anton.kolesov@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: add explicit setup of ARC-specific optionsAlexey Brodkin2014-11-022-0/+18
| | | | | | | | | | | | | As with other architectures for ARC we need to have an ability to set specific options in uClibc. In particular this is required for selection of ARC ISA version. [Peter: string type, so must be in quotes as noted by Yann] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Anton Kolesov <akolesov@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/uclibc: enable long double math for xtensaMax Filippov2014-10-251-0/+26
| | | | | | | | | | | | | | | | | | | | It fixes the following build failure for packages that expect long double support in libm: Linking C executable winpr-hash ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl' ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl' ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill' ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l' ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl' Fixes: http://autobuild.buildroot.net/results/323/3236ddfe8eaf89f05f84db60eb42583cca397464/ Mainline status: patch submitted. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: Do not include __iconv_codesets into iconv utilityVicente Olivert Riera2014-10-252-0/+158
| | | | | | | | | | | | | | | | | | | | Backporting an upstream patch to fix a problem in the install step: make[1]: Entering directory `/br/output/build/uclibc-0.9.31.1' make[2]: Nothing to be done for `locale_headers'. CC utils/getconf STRIP -x -R .note -R .comment ../utils/getconf CC utils/iconv ../lib/libc.a(iconv.os):(.rodata+0x18): multiple definition of `__iconv_codesets' /tmp/ccVmV8Lq.o:(.rodata+0x18): first defined here collect2: error: ld returned 1 exit status Upstream commit: http://git.uclibc.org/uClibc/commit/?id=d46dc8bc88e38251bfa3712efe7abf62933f5419 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: rename patches to follow the new name structureVicente Olivert Riera2014-10-2577-0/+0
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: add hash fileGustavo Zacarias2014-10-191-0/+4
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: drop stray patchesGustavo Zacarias2014-10-142-136/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: explicitly set HAVE_SHARED depending on BR2_PREFER_STATIC_LIBAlexey Brodkin2014-10-134-3/+11
| | | | | | | | | | | | | | Now with change of BR2_PREFER_STATIC_LIB meaning to "do not build dynamic libs and build statically linked applications" it's possible to disable support of shared libs in uClibc as well as builting of shared libc libs. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uClibc: ldso/libdl: Also include dl-tls.h for for !SHARED.Vicente Olivert Riera2014-10-121-0/+58
| | | | | | | | | | | | | | | | | | | | | Apply an upstream patch: http://git.uclibc.org/uClibc/commit/ldso/libdl/libdl.c?id=b57e9640db53166c88cdac66b79a046e46b8d728 On MIPS, several relocations that were original only resolved by the dynamic linker were reused as static relocations. Consequently the macros TLS_DTPREL_VALUE and TLS_TPREL_VALUE defined in libpthread/nptl/sysdeps/mips/dl-tls.h need to be available even for !SHARED. Relevant: http://www.linux-mips.org/wiki/NPTL#History Fixes: http://autobuild.buildroot.net/results/85e/85e66962da9a6b80e1d1b721031b6ef0da45e3d5/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: build uclibc unstripped by defaultAlexey Brodkin2014-10-124-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uClibc can be built stripped (implemented as link-time option in uClibc). This could be useful for those who build root fs manually. In Buildroot there is a global strip stage wich strips most of shared libs in "target" folder (wexcept kernel modules known to not work properly being stripped and libpthread required to be non-stripped for correct debugging with gdb of multi-threaded apps). So there're few problems with current implementation: 1. uClibc is being stripped 2 times (first on its build stage, second on global Buildroot strip stage) 2. uClibc libs in "staging" folder are also always stripped except if "no strip" (BR2_STRIP_none) is explicitly is selected in Buildroot config. That makes it possible to remote debug uClibc libs on target only if target rootfs was not stripped (which might not be possible due to huge libs like Qt) This patch disables embedded strip in uClibc (still users may modify uClibc config and explicitly set "DOSTRIP=yes" if really needed). Interesting that DOSTRIP was not only selected in uClibc config but also was force set with Buildroot on uClibc configuration step with UCLIBC_STRIP_CONFIG. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Waldemar Brodkorb <wbx@openadk.org> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: Make __SIGEV_PAD_SIZE to take __WORDSIZE into accountVicente Olivert Riera2014-10-122-0/+140
| | | | | | | | | | | Applying an upstream patch to make __SIGEV_PAD_SIZE to take __WORDSIZE into account for alpha, mips and ia64 arches. Upstream patch URL: http://git.uclibc.org/uClibc/commit/libc/sysdeps/linux?id=b97b4b698b023f75b54f987859c856ab4861ea00 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud