aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* picolibc: Build libstdc++ against picolibc if requestedKeith Packard2021-01-113-0/+57
| | | | | | | This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
* gcc: Add support for building libstdc++ with alternate libcKeith Packard2021-01-113-8/+353
| | | | | | | This adds another mode to do_gcc_core_backend that builds libstdc++ against an alternate libc implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Clean up configuration a bitKeith Packard2021-01-111-1/+2
| | | | | | | | | | | Use LIBC_PICOLIBC_CXA_ATEXIT to keep this name in the same 'namespace' as the other picolibc config names. Enable retargetable locking by default. This allows the few locks in picolibc to be implemented by the execution environment, rather than disabling the locking code. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Pull compatibility patches from upstreamKeith Packard2021-01-083-0/+226
| | | | | | | | | | | 1. Allows picolibc's stdio to be used with c++ applications 2. Includes arm exception information in link rules 3. Adds picolibc include directory to c++ header paths. These patches are all upstream in picolibc and included in version 1.5. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Convert to companion libraryKeith Packard2021-01-084-24/+34
| | | | | | | This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Pull tarballs from github instead of keithp.comKeith Packard2021-01-072-8/+7
| | | | | | Way more bandwidth at github. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge pull request #1433 from ivanka2012/add-mingw-8.0.0Chris Packham2020-12-173-0/+38
|\ | | | | Add MinGW version 8.0.0
| * Add MinGW version 8.0.0ivanka20122020-12-143-0/+38
| | | | | | | | Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
* | Merge pull request #1431 from cpackham/ltrace-url-fixChris Packham2020-12-141-1/+1
|\ \ | |/ |/| packages/ltrace: Remove stray ':' from URL
| * packages/ltrace: Remove stray ':' from URLChris Packham2020-12-111-1/+1
|/ | | | | | Change 'ftp::' to 'ftp:'. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1429 from galak/mac-arm-2Chris Packham2020-12-091-0/+33
|\ | | | | gcc: Additional build fix for building arm64 toolchain on M1 Mac's
| * gcc: Additional build fix for building arm64 toolchain on M1 Mac'sKumar Gala2020-12-081-0/+33
|/ | | | | | | | If we are targetting an aarch64-none-elf toolchain we end up running into a build issue in gcc/config/aarch64/driver-aarch64.c. This is fixed in upstream gcc so just backport the patch to gcc-10.2.0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Merge pull request #1426 from galak/mac-armChris Packham2020-12-088-458/+1377
|\ | | | | Initial changes to build cross compilers on new ARM based M1 Macs
| * gcc: Add some patches to get gcc 10.2 building on ARM based MacKumar Gala2020-12-042-0/+132
| | | | | | | | | | | | | | Pull in a change from upstream GCC and one from the gcc-darwin-arm64 repo that gets an initial cross compiler building on ARM based Mac. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
| * bump to gmp 6.2.1 + patch for ARM based MacOS supportKumar Gala2020-12-044-12/+528
| | | | | | | | | | | | | | | | Update to GMP 6.2.1 for MacOS ARM support and pull in one patch from repo that deal with a possible issue with GMP on MacOS ARM systems. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
| * Run through 'ct-ng updatetools'Kumar Gala2020-12-042-446/+717
|/ | | | | | Update config.{sub,guess} to get proper awareness for ARM based MacOS. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Merge branch 'aaujon-master'Chris Packham2020-11-304-1/+24
|\
| * Update reported.byArnaud Aujon Chevallier2020-11-242-3/+3
| |
| * samples : update armv6 configurationArnaud Aujon Chevallier2020-11-244-0/+23
|/
* Merge branch 'jemarch-oracle/ol-support'Chris Packham2020-11-2318-6/+125
|\
| * Add sample configuration for Oracle Linux 7 on aarch64Jose E. Marchesi2020-11-232-0/+24
| |
| * Add Oracle products to crosstool-ngJose E. Marchesi2020-11-2313-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the following Oracle products, in order to target Oracle Linux 7.9: Binutils 2.27-44.base.0.400 GCC 4.8.5-44.0.5 glibc 2.17-317.0.3 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provides for the following triplets: arm-ol7u9-linux-gnueabi arm-ol7u9-linux-gnueabihf Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
| * Set the origin of Linux releasesEgeyar2020-11-231-0/+1
| | | | | | | | | | | | | | | | | | Set the origin of the Linux tarballs to www.kernel.org in order to avoid getting an empty string in menuconfig. Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> [cp: use kernel.org] Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * Support released versions from Git branchesEgeyar2020-11-232-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not assume a release has a tarball if src_release is set to "n". * Do not assume versions in repositories are all experimental. * Allow versions to define their default repository_branch, repository_cset, repository_subdir and bootstrap. * Do not expect mirrors, archive_filename, archive_dirname, archive_formats and signature_format from a version if src_release is set to "n". * Add version_number to allow version names to be different than the version number. When given, use version_number to compare against the milestones. Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
* | Merge branch 'galak-macosx'Chris Packham2020-11-232-9/+85
|\ \ | |/ |/|
| * CI: Add MacOS X builds to CI testingKumar Gala2020-11-111-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add building on MacOS X as part of the CI testing. A few notes: * We exclude mips64-unknown-linux-gnu as the linux kernel headers need <byteswap.h> that is a GNU extension to build elf-entry.c and does not exist on Mac OS X. * We create a SPARSE image filesystem to ensure we have are doing the builds in a case sensitive fs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
| * gcc: add build fix for aarch64 toolchain on MacOS XKumar Gala2020-11-111-0/+34
|/ | | | | | | | When building aarch64-unknown-linux-gnu on MacOS X, aarch64-builtins.c files doesn't build by default with clang on MacOS X. We need to pass -std=gnu++11 when building the file for things to work with clang. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Merge pull request #1417 from cpackham/continuous-integrationChris Packham2020-11-111-1/+1
|\ | | | | CI: Replace add-path command
| * CI: Replace add-path commandChris Packham2020-11-101-1/+1
|/ | | | | | | | | | | The add-path and set-env commands are being deprecated[1]. Replace the one instance of add-path in the CI workflow with the recommended alternative[2]. [1] - https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ [2] - https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6xChris Packham2020-11-106-1/+160
|\ | | | | Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
| * c6x: Remove multilib requirementDan Tejada2020-11-024-25/+18
| | | | | | | | | | | | | | Restore tuple config check Add sample configuration Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
| * Experimental: Add support for the Texas Instruments C6X (TMS320C6000 series) ↵Dan Tejada2020-05-204-1/+167
| | | | | | | | | | | | | | | | | | | | DSPs -- c6x: Add support for c6x product families to pass on to uClibC-ng -- c6x: Fix multilib support -- c6x: Add patch fix internal instruction error (GCC 57295) Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
* | Merge pull request #1416 from galak/binutils-2.35.1-fixChris Packham2020-11-082-0/+962
|\ \ | | | | | | binutils: Pull in some bug fixes from binutils 2.35 branch
| * | binutils: Pull in some bug fixes from binutils 2.35 branchKumar Gala2020-11-062-0/+962
|/ / | | | | | | | | | | | | | | Expect that if there is a binutils 2.35.2 release these fixes will be included in there, these are pulled out of the binutils-2_35-branch post the 2.35.1 release. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* | Merge pull request #1414 from cpackham/disable-context-for-thumbChris Packham2020-11-031-0/+1
|\ \ | | | | | | arm: Disable context functions for Thumb
| * | arm: Disable context functions for ThumbChris Packham2020-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to commit 57679b5e ("Disable context functions for Thumb") when building for thumb we need to unset UCLIBC_HAS_CONTEXT_FUNCS. Fixes #1397 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | Merge pull request #1413 from cpackham/continuous-integrationChris Packham2020-11-031-0/+1
|\ \ \ | |/ / |/| | CI: Add armv6-nommu-linux-uclibcgnueabi
| * | CI: Add armv6-nommu-linux-uclibcgnueabiChris Packham2020-11-011-0/+1
|/ / | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge branch 'keith-packard-picolibc-1.4.7'Chris Packham2020-11-015-38/+5
|\ \
| * | Merge branch 'picolibc-1.4.7' of git://github.com/keith-packard/crosstool-ng ↵Chris Packham2020-11-015-38/+5
|/| | | | | | | | | | | into keith-packard-picolibc-1.4.7
| * | packages/picolibc: Update to version 1.4.7Keith Packard2020-10-265-38/+5
| | | | | | | | | | | | | | | | | | New picolibc release has some useful bug fixes Signed-off-by: Keith Packard <keithp@keithp.com>
* | | Merge branch 'lancethepants-xlocale'Chris Packham2020-11-011-1/+0
|\ \ \ | |/ / |/| |
| * | Merge branch 'xlocale' of git://github.com/lancethepants/crosstool-ng into ↵Chris Packham2020-11-011-1/+0
|/| | | | | | | | | | | lancethepants-xlocale
| * | Don't remove XLOCALE support unconditionally.lancethepants2020-10-151-1/+0
| | | | | | | | | | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* | | Merge pull request #1408 from abrodkin/topic-binutils-no-globChris Packham2020-10-181-0/+4
|\ \ \ | | | | | | | | binutils: Disable glob for better portability
| * | | binutils: Disable glob for better portabilityAlexey Brodkin2020-10-141-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since glibc 2.27 glob interface was changed [1] and so "glob" & "glob64" symbols require glibc 2.27+. For us that means if we build Binutils on a machine with glibc 2.27+ produced binaries won't be any longer usable on machines with older glibc. As an example [2]: build on Ubuntu 18.04 (with glibc 2.27) and try to run on CentOS 7.x (with glibc 2.17), you'll see this: ---------------------->8------------------- ldd ld ld: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ld) ---------------------->8------------------- Now given glob is not really used by Binutils itself (only needed by GDB) and we build Binutils & GDB separately let's make at least Binutils more portable. In theory we may even try to do the same hack for GDB forcing it to use imported glob implementation. But since GDB is now built strictly by C++ compiler we'll get waaay to many incompatibilities due to multiple changes of C++ ABI in between GCC 7.5 of Ubuntu 18.04 and GCC 4.8.5 of CentOS 7.x, so there's no point to even try. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ccf970c7a77e86f4f5ef8ecc5e637114b1c0136a [2] https://github.com/zephyrproject-rtos/sdk-ng/issues/280 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | | Merge pull request #1407 from ↵Chris Packham2020-10-181-2/+4
|\ \ \ | | | | | | | | | | | | | | | | bagasme/local-patch-dir-description-clarify-example Clarify tree layout of local patches directory
| * | | Clarify tree layout of local patches directoryBagas Sanjaya2020-10-131-2/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the help for LOCAL_PATCH_DIR did not specify the tree layout of custom patches directory. This commit adds such explanation. For example, the bundled patches for GCC are placed under packages/gcc/<gcc-version>, thus custom (local) GCC patches should be placed under $LOCAL_PATCH_DIR/gcc/<gcc-version>. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
* | | Merge pull request #1402 from lancethepants/add_uclibc-ng_1.0.36Chris Packham2020-10-182-0/+16
|\ \ \ | |/ / |/| | Add uClibc-ng 1.0.36
| * | Add uClibc-ng 1.0.36lancethepants2020-10-152-0/+16
|/ / | | | | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>