summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-01-14Add newlib-nano as companion libKeith Packard5-0/+364
This allows building newlib-nano in addition to newlib and picolibc, allowing users to select between C libraries within the same toolchain. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-13Merge pull request #1446 from cpackham/linux-version-bumpChris Packham22-48/+64
linux: Add new versions and bump LTS
2021-01-13linux: Add new versions and bump LTSChris Packham22-48/+64
Add 5.9.16 and 5.10.7 Bump 4.4.236 -> 4.4.251 Bump 4.9.236 -> 4.9.251 Bump 4.14.198 -> 4.14.215 Bump 5.4.65 -> 5.4.89 Bump 5.8.9 -> 5.8.18 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-01-13Merge branches 'elijahr-dtc-1.6.0', 'elijahr-readme-typo', ↵Chris Packham18-41/+700
'foss-for-synopsys-dwc-arc-processors-abrodkin-libgmp-for-mac' and 'keith-packard-picolibc-companion'
2021-01-12Fix typo in README.mdElijah Shaw-Rutschman1-1/+1
envolve -> involve Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2021-01-12packages/dtc: Add 1.6.0Elijah Shaw-Rutschman2-0/+8
Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2021-01-12Merge branch 'foss-for-synopsys-dwc-arc-processors-abrodkin-newlib-nano-io'Chris Packham1-0/+5
2021-01-12Merge branch 'cpackham-ncurses-mirror'Chris Packham1-1/+1
2021-01-12picolibc: Add version 1.5Keith Packard2-0/+4
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-12picolibc: Build libstdc++ against picolibc if requestedKeith Packard3-0/+57
This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-12gcc: Add support for building libstdc++ with alternate libcKeith Packard3-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>
2021-01-12picolibc: Clean up configuration a bitKeith Packard1-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>
2021-01-09picolibc: Pull compatibility patches from upstreamKeith Packard3-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>
2021-01-09picolibc: Convert to companion libraryKeith Packard4-24/+34
This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-08picolibc: Pull tarballs from github instead of keithp.comKeith Packard2-8/+7
Way more bandwidth at github. Signed-off-by: Keith Packard <keithp@keithp.com>
2020-12-23libgmp: Fix cross-canadian build for macOSAlexey Brodkin1-0/+9
Currently when building cross-canadian toolchain for macOS the folowing error happens when GCC is configured: |ld: illegal text-relocation to '___gmp_binvert_limb_table' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(mp_minv_tab.o) from '___gmpn_divexact_1' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(dive_1.o) |collect2: error: ld returned 1 exit status Apparently this might be solved with GMP configured with "--with-pic", even though we're talking about static library here. That solution was found here: https://github.com/Homebrew/homebrew-core/pull/25470 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-12-23gcc: Make it aware of Newlib nano IO featureAlexey Brodkin1-0/+5
Even though GCC as a compiler has nothing to do with a C library being used it still makes sense to know about Newlib's compact implementation of IO functions: * For targets like MSP430 which require to have such a tuned Newlib if "-mtiny-printf" is passed to the GCC's command-line [1] * For correct compilation of the following GCC's own DejaGnu tests [2]: - gcc/testsuite/gcc.c-torture/execute/920501-8.c - gcc/testsuite/gcc.c-torture/execute/930513-1.c - gcc/testsuite/gcc.dg/torture/builtin-sprintf.c - gcc/testsuite/gcc.c-torture/execute/ieee/920810-1.x [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=02afb6a9321fbfb435452636cedc2cd43f0c4fd2 [2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=571bbd0d48d5872eacbd0b681fce6e1ae754520b So we add that missing cross-dependency now. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-12-18packages/ncurses: update ncurses mirrorChris Packham1-1/+1
ftp://invisible-island.net/ncurses doesn't actually have the numbered ncurses tarball. We've not noticed because we fall back to using the GNU mirror which does. It's also ftp which is being deprecated. Switch to https://invisible-mirror.net/archives/ncurses which has the actual tarballs and provides a secure connection. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-12-17Merge pull request #1433 from ivanka2012/add-mingw-8.0.0Chris Packham3-0/+38
Add MinGW version 8.0.0
2020-12-14Add MinGW version 8.0.0ivanka20123-0/+38
Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
2020-12-14Merge pull request #1431 from cpackham/ltrace-url-fixChris Packham1-1/+1
packages/ltrace: Remove stray ':' from URL
2020-12-10packages/ltrace: Remove stray ':' from URLChris Packham1-1/+1
Change 'ftp::' to 'ftp:'. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-12-09Merge pull request #1429 from galak/mac-arm-2Chris Packham1-0/+33
gcc: Additional build fix for building arm64 toolchain on M1 Mac's
2020-12-08gcc: Additional build fix for building arm64 toolchain on M1 Mac'sKumar Gala1-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>
2020-12-08Merge pull request #1426 from galak/mac-armChris Packham8-458/+1377
Initial changes to build cross compilers on new ARM based M1 Macs
2020-12-04gcc: Add some patches to get gcc 10.2 building on ARM based MacKumar Gala2-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>
2020-12-04bump to gmp 6.2.1 + patch for ARM based MacOS supportKumar Gala4-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>
2020-12-04Run through 'ct-ng updatetools'Kumar Gala2-446/+717
Update config.{sub,guess} to get proper awareness for ARM based MacOS. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-11-30Merge branch 'aaujon-master'Chris Packham4-1/+24
2020-11-24Update reported.byArnaud Aujon Chevallier2-3/+3
2020-11-24samples : update armv6 configurationArnaud Aujon Chevallier4-0/+23
2020-11-23Merge branch 'jemarch-oracle/ol-support'Chris Packham18-6/+125
2020-11-23Add sample configuration for Oracle Linux 7 on aarch64Jose E. Marchesi2-0/+24
2020-11-23Add Oracle products to crosstool-ngJose E. Marchesi13-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>
2020-11-23Set the origin of Linux releasesEgeyar1-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>
2020-11-23Support released versions from Git branchesEgeyar2-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>
2020-11-23Merge branch 'galak-macosx'Chris Packham2-9/+85
2020-11-11CI: Add MacOS X builds to CI testingKumar Gala1-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>
2020-11-11gcc: add build fix for aarch64 toolchain on MacOS XKumar Gala1-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>
2020-11-11Merge pull request #1417 from cpackham/continuous-integrationChris Packham1-1/+1
CI: Replace add-path command
2020-11-10CI: Replace add-path commandChris Packham1-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>
2020-11-10Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6xChris Packham6-1/+160
Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
2020-11-08Merge pull request #1416 from galak/binutils-2.35.1-fixChris Packham2-0/+962
binutils: Pull in some bug fixes from binutils 2.35 branch
2020-11-06binutils: Pull in some bug fixes from binutils 2.35 branchKumar Gala2-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>
2020-11-03Merge pull request #1414 from cpackham/disable-context-for-thumbChris Packham1-0/+1
arm: Disable context functions for Thumb
2020-11-03Merge pull request #1413 from cpackham/continuous-integrationChris Packham1-0/+1
CI: Add armv6-nommu-linux-uclibcgnueabi
2020-11-02c6x: Remove multilib requirementDan Tejada4-25/+18
Restore tuple config check Add sample configuration Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-11-01arm: Disable context functions for ThumbChris Packham1-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>
2020-11-01CI: Add armv6-nommu-linux-uclibcgnueabiChris Packham1-0/+1
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-01Merge branch 'keith-packard-picolibc-1.4.7'Chris Packham5-38/+5