aboutsummaryrefslogtreecommitdiff
path: root/config/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* glibc: Clean out old glibc versionsBryan Hundven2016-02-231-86/+2
| | | | | | | | | | We now only support glibc >=2.18 This now enables us to clean up glibc support! Also, add a comment about glibc 2.20 as the point which glibc no longer supports not building with pthread. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* glibc: Add glibc-2.23Bryan Hundven2016-02-231-0/+6
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Update to 1.0.12Bryan Hundven2016-02-051-5/+5
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Update to 1.0.11Bryan Hundven2016-01-121-5/+5
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven2015-12-081-3/+3
| | | | | | | We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-085-83/+203
| | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Remove gcc <= 4.7.xBryan Hundven2015-11-291-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | As per #222, in crosstool-NG >= 1.23.0, we will only support: [upstream supported gcc versions] - 1 As of this writing, these versions are: * 5.2.0 * 4.9.3 * 4.8.5 (the -1, since development on 4.8.x is now closed) I plan to keep 4.8.5 around because of some architectures having issues with over-optimization or just faulty optimization in the 4.9.x and possibly newer versions. I also cleaned up a requirement for glibc to depend on >= gcc-4.6.x for >= glibc-2.20, but since the lowest gcc we support after this change is >= 4.8.5, this condition can go away. Patches for older gcc versions are removed in the next commit. This closes #222 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc: Add kconfig option to enable IPv6 supportBryan Hundven2015-11-221-0/+6
| | | | | | This commit adds a kconfig option to enable IPv6 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Fix version promptBryan Hundven2015-11-161-1/+1
| | | | | | | | In commit c9704c6683ee2ddab8be390f48f6c2de412b80dc, I forgot to bump the version in the prompt for uClibc-ng-1.0.9. Reported-by: Reinoud Koornstra <reinoudkoornstra@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Update to uClibc-ng-1.0.9Bryan Hundven2015-11-151-4/+4
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #239 from diorcety-ctng/cc-cygwin-mingw-linuxBryan Hundven2015-11-121-0/+1
|\ | | | | Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
| * Add gettext and libiconv as companion libsRay Donnelly2015-11-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. they're needed for the RPC generation in glibc on both Cygwin and MinGW-w64. Neither are built on GNU/Linux and iconv is not built on Darwin. Two patches for gettext are needed, one so that -O0 works and one so that static builds can be made. They can take a good while to build, so if not needed for_host or for_build then they are not built. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* | uClibc: Fall back to default configs if not providedBryan Hundven2015-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | I've added the .config files to contrib/uClibc-defconfigs from buildroot to use as default configs if they are not provided in the sample. If a particular architecture really needs an option set, it should be either updated in the manange_uClibc_config function in scripts/build/libc/uClibc.sh or a custom ${uclibc_name}.config should be added to the sample (usually via `ct-ng saveconfig`). Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | uClibc: Add support for uClibc-ngBryan Hundven2015-11-122-0/+19
| | | | | | | | | | | | This commit adds uClibc-ng 1.0.8. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | uClibc: Reduce supported versionsBryan Hundven2015-11-111-64/+4
|/ | | | | | | | | This commit reduces the number of supported versions to: * 0.9.33.2 * custom location Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Support mingw-w64 in addToolVersion.sh.Alexey Neyman2015-11-101-4/+9
| | | | | | ... and add 4.0.4 release. Signed-off-by: Alexey Neyman <stilor@att.net>
* blackfin: Remove blackfin supportBryan Hundven2015-11-091-1/+1
| | | | | | | | | | This commit removes blackfin support. I'm open to re-adding blackfin after crosstool-1.23.0 is released, but it is currently too difficult to port forward to newer versions of gcc and uclibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Support only the latest branch releases of gccBryan Hundven2015-10-311-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl-libc: update musl-libc mainline to 1.1.12Bryan Hundven2015-10-201-2/+2
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Added additional newlib specific target flags with new optionJasmin Jessich2015-09-141-0/+14
| | | | | | LIBC_NEWLIB_TARGET_CFLAGS. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* LIBC_NEWLIB_CUSTOM is no longer part of the newlib version choice, but anJasmin Jessich2015-09-031-2/+35
| | | | | | | | independend configuration to enable LIBC_NEWLIB_CUSTOM. All newlib versions >=2.0.0 does provide __cxa_atexit. To enable this function in GCC, all versions >=2.0.0 does now select LIBC_PROVIDES_CXA_ATEXIT. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* glibc: Fix applying addons to glibc => 2.17Bryan Hundven2015-09-011-0/+9
| | | | | | | | glibc-2.17 and above no longer have external addons or ports. So if we are => 2.17, don't even think about trying to mess with ports or addons. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl: Update mainline to 1.1.11Bryan Hundven2015-09-011-2/+2
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* glibc: Add 2.22, and add a constraint on glibc >= 2.21Bryan Hundven2015-09-011-1/+12
| | | | | | | | | | | | | | * Add glibc 2.22 * Add a constraint on glibc-2.21 that depends on gcc-4.6 or greater. See: https://sourceware.org/ml/libc-alpha/2015-02/msg00119.html ====================================================================== * The minimum GCC version that can be used to build this version of the GNU C Library is GCC 4.6. Older GCC versions, and non-GNU compilers, can still be used to compile programs using the GNU C Library. ====================================================================== Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* avr-libc: add support for avr-libc C libraryErico Nunes2015-06-212-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the avr-libc C library. According to the project page at http://www.nongnu.org/avr-libc , the avr-libc package provides a subset of the standard C library for Atmel AVR 8-bit RISC microcontrollers. In addition, the library provides the basic startup code needed by most applications. Support for this library in crosstool-ng is only enabled for the AVR 8-bit target. The avr-libc manual and most distributions build the AVR 8-bit gcc toolchain with the "avr" (non-canonical) target. Some experimentation also led to the conclusion that other (canonical) targets are not very well supported, so we force the "avr" target for crosstool-ng as well. The manual also recommends building avr-libc after the final gcc build. To accomplish this with crosstool-ng, a new do_libc_post_cc step is added, in which currently only avr-libc performs its build, and is a no-op for the other libc options. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
* musl: Update versionsBryan Hundven2015-06-021-6/+6
| | | | | | | | | This commit updates the version knobs so that oldconfig does the right thing when we bump versions. Also, we update stable to 1.0.5 and experimental to 1.1.9. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* mingw: WINAPI_V_DEVEL should depend on EXPERIMENTALBryan Hundven2015-05-161-0/+1
| | | | | | | | While we do want users to be able to use the mingw from git, being under the experimental umbrella makes it more obvious that this should not be used as a production toolchain. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* mingw-w64: Add 'devel' version to use git 'master' branchRay Donnelly2015-05-121-0/+5
| | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* mingw-w64: Add updated versionsRay Donnelly2015-05-121-0/+31
| | | | | | | | | Specifically: 2.0.8 3.0.0, 3.1.0 4.0.0, 4.0.1, 4.0.2 Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* config: Add binutils, newlib, and glibc linaro configurationBryan Hundven2015-05-022-0/+37
| | | | | | | This commit introduces a "show linaro versions" for newlib, binutils, and glibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: remove eglibc.inBryan Hundven2015-04-301-240/+0
| | | | | | | | In commit cd47c091ba6f7d6d9a98c85fc5729a434c99d4ea I had forgot to also remove the config/libc/eglibc.in. This commit removes it. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #46 from stefanct/masterBryan Hundven2015-04-251-1/+7
|\ | | | | Add glibc 2.21
| * Add glibc 2.21Stefan Tauner2015-02-071-1/+7
| | | | | | | | Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
* | eglibc: Remove eglibc supportBryan Hundven2015-01-273-270/+267
|/ | | | | | | | | | | | | | | | | | | As posted on http://www.eglibc.org/ ==================== EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC. ==================== I'm not interested in maintaining build support for unsupported software. Older branches of crosstool-ng continue to have eglibc support. If you find issues with older branches, I'm always open to pull requests. Removing eglibc also frees up glibc cleanup and build optimization. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* libc: newlib: Add NewLib 2.2.0, Linaro NewLib 2.2.0-2015.01 and 2.1.0-2014.09Cristoforo Cataldo2015-01-161-4/+17
| | | | | | | | | This commit allows to choose, download and build latest NewLib: - newlib-2.2.0 - newlib-linaro-2.2.0-2015.01 - newlib-linaro-2.1.0-2014.09 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* libc: glibc: Add Linaro GLibc 2.20-2014.11Cristoforo Cataldo2015-01-161-0/+6
| | | | | | | This commit allows to choose, download and build latest Linaro GLibC: - glibc-linaro-2.20-2014.11 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* libc: eglibc: Add Linaro EGLibc 2.19-2014.08Cristoforo Cataldo2015-01-161-0/+6
| | | | | | | This commit allows to choose, download and build latest Linaro EGLibC: - eglibc-linaro-2.19-2014.08 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* Merge pull request #13 from davidholsgrove/newlib_canadianBryan Hundven2014-12-151-1/+2
|\ | | | | libc/newlib: Canadian baremetal builds require core pass-1
| * libc/newlib: Canadian baremetal builds require core pass-1David Holsgrove2014-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | Can safely skip the core pass-1 for normal baremetal builds, but when building a canadian baremetal, the repair_cc functionality (GCC_FOR_TARGET) in gcc.sh will force the core pass-2 to attempt to build gcc and libgcc without a ${CT_TARGET}-gcc existing, causing a failure on ${CT_TARGET}-gcc -dumpspecs > tmp-specs Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* | Merge pull request #6 from davidholsgrove/libc_custom_locationBryan Hundven2014-12-152-0/+48
|\ \ | |/ |/| Libc custom location
| * libc/eglibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2014-12-091-0/+25
| | | | | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
| * libc/glibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2014-12-091-0/+23
| | | | | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* | config/glibc: Disable ports/ for 2.20Bryan Hundven2014-12-091-0/+2
|/ | | | | | | | | | | | | | | As per the glibc release notes for 2.20: -------------------------------------------------------------------------------- All supported architectures now use the main glibc sysdeps directory instead of some being in a separate "ports" directory (which was distributed separately before glibc 2.17). -------------------------------------------------------------------------------- There isn't a ports directory anymore. So disable using and forcing it. closes #7 on crosstool-ng github Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* glibc: nptl is default from 2.20, so dont add to addons_listDavid Holsgrove2014-12-091-0/+4
| | | | | | | | | | No longer recommended practice to use --enable-add-ons=nptl, so for 2.20 and later (along with custom glibc), don't add the CT_THREADS to the addons_list https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* libc/glibc: Add glibc-2.20Bryan Hundven2014-12-091-0/+5
| | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* config/libc: update musl-libc mainline to 1.1.5Bryan Hundven2014-12-041-3/+3
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* libc/musl: Add config option for extra developer warningsBryan Hundven2014-09-111-0/+6
| | | | | | | | This commit adds a configuration knob for enabling extra developer warnings to be enabled during the musl-libc build. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* libc/musl: Add config option for debugging infoBryan Hundven2014-09-111-0/+7
| | | | | | | This option enables a configuration knob for adding debugging info. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* libc/musl: Add options for optimizationBryan Hundven2014-09-111-0/+38
| | | | | | | This commit adds configuration knobs for optimizing musl-libc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* libc/musl: Remove 1.0.3 and 1.1.3. Add 1.0.4.Bryan Hundven2014-08-311-9/+3
| | | | | | | | | | This change removes 1.0.3 and 1.1.3 and linker regession patches for those versions. We add 1.0.4, and a patch needed for gcc-4.9.x which defines `max_align_t'. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>