aboutsummaryrefslogtreecommitdiff
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Import GCC 7.4.0Alexey Neyman2018-12-0727-247/+25
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Disable -fstack-protector* from being used by glibcAlexey Neyman2018-12-071-1/+1
| | | | | | ... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add configuration options for enabling SSPAlexey Neyman2018-12-043-0/+328
| | | | | | | | | | | ... in uClibc and glibc. Fixes #681. While here, relocate additional "sources" for uClibc/binutils into packages/ directory. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a config option for default RELRO settingAlexey Neyman2018-12-031-1/+1
| | | | | | Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
* Strace needs a patch with Linux 4.19+Alexey Neyman2018-12-033-1/+189
| | | | | | Also, they moved their repository. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add moxiebox as a choice for libcAlexey Neyman2018-12-014-0/+79
| | | | | | | | | | | | | | | | | This required some rework of the libc selection, as moxiebox is a layer on top of another libc - newlib. Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox needs from libcrypto is SHA256, and it already includes a standalone implementation of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use that implementation for the host binary, too. Also, automate collecting/printing the list of all packages in a given category (e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given category. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add DTC as a companion toolAlexey Neyman2018-11-283-0/+12
| | | | | | (needed for cross-gdb targeting the moxie-* targets) Signed-off-by: Alexey Neyman <stilor@att.net>
* Add uClibc-ng 1.0.31Alexey Neyman2018-11-172-0/+16
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Update Linux versionsAlexey Neyman2018-11-0820-48/+56
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Import gcc 6.5.0Alexey Neyman2018-11-0737-319/+31
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the location for elf2flt patchesAlexey Neyman2018-11-011-0/+0
| | | | | | ... after the git version numbering was adjusted. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1044 from abrodkin/topic-arc-linux-4.8Alexey Neyman2018-10-291-1/+1
|\ | | | | Disallow linux versions before 4.8 for ARC
| * Disallow linux versions before 4.8 for ARCAlexey Brodkin2018-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Inspired by a similar fix for AArch64 in 481cbaac9b23. The point is in Linux v4.8 we introduced new ABIv4 which is now used in both Linux kernel and up-to-date GNU tools for ARC (based on GCC 6.x+). See [1] for more details. [1] https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Fix gnulib build against glibc 2.28Alexey Neyman2018-10-081-0/+144
| | | | | | | | | | | | | | | | (upstream commit from gnulib). Fixes #1050. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Restore binutils (gold) build on mingw32 hostAlexey Neyman2018-10-071-0/+122
| | | | | | | | | | | | Fixes #1049. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Add a comment explaining why CT_Mirrors is not usedAlexey Neyman2018-10-061-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Remove android-ndk-r18Alexey Neyman2018-10-063-4/+2
| | | | | | | | | | | | | | | | It no longer supports GCC. Fixes #1047. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Fix fdivp argument orderAlexey Neyman2018-10-061-0/+27
|/ | | | | | | | | Patch from upstream. Bug didn't exist in 2.14.1 and fix is already applied in 2.16. Fixes #1048 Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix older automake with newer PerlAlexey Neyman2018-09-292-0/+54
| | | | | | | Fixes #973. Fixes #987. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix compilation against binutils-2.31.1Alexey Neyman2018-09-291-0/+30
| | | | | | ... where <bfd/bfd.h> also needs <bfd/diagnostics.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow linux versions before 3.7 for aarch64Alexey Neyman2018-09-291-1/+1
| | | | | | Fixes #1028 Signed-off-by: Alexey Neyman <stilor@att.net>
* Patches to fix ld's abort on xtensaAlexey Neyman2018-09-2820-0/+128
| | | | | | Also while there, fix the naming (some patches ended up with two sequence numbers somehow). Signed-off-by: Alexey Neyman <stilor@att.net>
* Add globbing patches to make from upstreamAlexey Neyman2018-09-282-0/+103
| | | | | | Fixes #1004. Signed-off-by: Alexey Neyman <stilor@att.net>
* Pull in fixes for ARM v8m support in gcc 8.2.0Kumar Gala2018-09-272-0/+109
| | | | | | | | There are some fixes to the cmse code in mainline gcc that we need to build an embedded toolchain targetting Cortex-M cpus that support the v8m extensions. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Fix build with ISL 0.20Alexey Neyman2018-09-259-19/+134
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Upgrades. Lots of 'em.Alexey Neyman2018-09-24159-730/+1061
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416Alexey Neyman2018-09-234-0/+404
|\ | | | | package/gcc: fix xtensa PR target/65416
| * package/gcc: fix xtensa PR target/65416Max Filippov2018-06-244-0/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc-8.1 for xtensa miscompiles uClibc dynamic linker due to gcc PR target/65416. The build completes successfully, but the binary is non-functional because the following fragment in the _dl_get_ready_to_run in ld-uClibc.so overwrites register spill area on stack causing register corruption in the previous call frame and a subsequent crash: 419f: f0c1b2 addi a11, a1, -16 41a2: 1ba9 s32i.n a10, a11, 4 41a4: 0bc9 s32i.n a12, a11, 0 41a6: 5127f2 l32i a15, a7, 0x144 41a9: 1765b2 s32i a11, a5, 92 41ac: 4e2782 l32i a8, a7, 0x138 41af: 146af2 s32i a15, a10, 80 41b2: 001b10 movsp a1, a11 The crash terminates the init process and causes kernel panic. The fix prevents reordering of movsp opcode and any access to the stack frame memory and is applicable to all existing gcc versions. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* | Add musl-libc 1.1.20Bryan Hundven2018-09-222-0/+4
| | | | | | | | Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
* | patches: mpfr: Fix obsolete ARC asm constraintsEvgeniy Didin2018-08-211-0/+37
|/ | | | | | | | | | | | | | Adding this patch fixes errors while building mpfr for native ARC toolcahin. Error messages are: -----------------------------------------------------8<------------------ ... [ERROR] .build/HOST-arc-snps-linux-uclibc/arc-snps-linux-uclibc/src/ mpfr/src/mpfr-longlong.h:423:3: error: impossible constraint in 'asm' ... [ERROR] >> Build failed in step 'Installing MPFR for host' -----------------------------------------------------8<------------------ Signed-off-by: Evgeniy Didin <didin@synopsys.com>
* Add upstream patch fixing XScale buildAlexey Neyman2018-06-051-0/+52
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Backport a gcc8 fix from upstreamAlexey Neyman2018-06-051-0/+32
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* linux: removed 2.6.32.27Dima Krasner2018-05-313-29/+0
| | | | Signed-off-by: Dima Krasner <dima@securingsam.com>
* packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.xDima Krasner2018-05-284-0/+26
| | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* ARC: Add multilib support for Linux in GCCAlexey Brodkin2018-05-211-0/+76
| | | | | | | | | | | | | | | | | We never bothered to build multilibbed Linux toolchains for ARC and so we ended-up with no support of multilib for arc*-*-linux-* targets in GCC. That is now fixed in upstream by the following commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0eacfbcb2bf1834294f468a2bb41fe5d5e8d3883 Once the fix mentioned above is applied on top of GCC 8.1.0 we may easily build multilibbed uClibc toolchain for ARC. Note sice Glibc port for ARC is still in review process we cannot build any Glibc toolchains for ARC with pure upstream components, for that we eiter need Glibc sources from our Github repo or apply a set of patches on top of Glibc 2.27 - we'll try to address this later though. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #971 from abrodkin/topic-elf32-multilibAlexey Neyman2018-05-161-0/+35
|\ | | | | ARC: Add support and sample for baremetal/elf32 multilib toolchain
| * ARC: Don't mention in multilib not yet supported CPUsAlexey Brodkin2018-05-161-0/+35
| | | | | | | | | | | | | | | | | | | | hs4x and hs4xd were mistakenly mentioned in MULTILIB_OPTION/DIRNAMES before real support of those CPUs was accepted in upstream. That breaks multilib toolchains building becase we're trying to compile for not yet known CPU. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | ARC: Fix Linux kernel comilation for ARC700Alexey Brodkin2018-05-161-0/+402
|/ | | | | | | | | | | | | | | | Without this fix we're getting the following error on attempt to build Linux kernel: --------------------------------->8--------------------------------- xfrm4_mode_tunnel.s: Assembler messages: xfrm4_mode_tunnel.s:188: Error: operand out of range (128 is not between - 128 and 127) --------------------------------->8--------------------------------- The fix is taken from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/d8d716f49c0057e239f2b64e7d902046b92d244f and it is supposed to be merged in upstream GCC sources soonish. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Too many fixes need backporting for GCC8...Alexey Neyman2018-05-141-1/+1
| | | | | | ... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Second batch of backported fixesAlexey Neyman2018-05-1251-0/+2584
| | | | | | getlogin/getlogin_r, zic Signed-off-by: Alexey Neyman <stilor@att.net>
* First batch of fixesAlexey Neyman2018-05-1235-31/+1662
| | | | | | | | - Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
* Restore a missing GDB optionAlexey Neyman2018-05-061-1/+1
| | | | | | (whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add GCC 8.1Alexey Neyman2018-05-0520-0/+1375
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ngAlexey Neyman2018-04-1245-172/+133
| | | | | | Also, fix manage-packages.sh after autotoolization. Signed-off-by: Alexey Neyman <stilor@att.net>
* Backport GCC fix for partial int modesAlexey Neyman2018-02-153-0/+294
| | | | | | | | ... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
* uClibc-ng does not implement name_to_handle_atAlexey Neyman2018-02-115-0/+200
| | | | | | ... so don't declare it, it confuses (at least) eudev's configure. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make libiconv an option in the menu configAlexey Neyman2018-02-101-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* uClibc-ng retired RPC support as of 1.0.23Alexey Neyman2018-02-101-1/+1
| | | | | | ... make the corresponding option conditional. Signed-off-by: Alexey Neyman <stilor@att.net>
* Bring in GDB 8.1 and glibc 2.27.Alexey Neyman2018-02-0310-0/+204
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* More fixes after the upgrades:Alexey Neyman2018-01-3020-944/+1049
| | | | | | | | | | | - GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix relies on binutils 2.24 or newer, which is okay for glibc 2.26 since it needs 2.25 or newer anyway. But older glibc versions are now pinned to binutils 2.29 or older on aarch64. - xtensa needs patches in libgcc with gcc 7.3. - comment in newlib's patch to indicate it is a reversal of a commit. Signed-off-by: Alexey Neyman <stilor@att.net>