summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07Import GCC 7.4.0Alexey Neyman27-247/+25
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Disable -fstack-protector* from being used by glibcAlexey Neyman1-1/+1
... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Add configuration options for enabling SSPAlexey Neyman3-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>
2018-12-04Add a config option for default RELRO settingAlexey Neyman1-1/+1
Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03Strace needs a patch with Linux 4.19+Alexey Neyman3-1/+189
Also, they moved their repository. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman4-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>
2018-11-28Add DTC as a companion toolAlexey Neyman3-0/+12
(needed for cross-gdb targeting the moxie-* targets) Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-18Add uClibc-ng 1.0.31Alexey Neyman2-0/+16
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-08Update Linux versionsAlexey Neyman20-48/+56
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-08Import gcc 6.5.0Alexey Neyman37-319/+31
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01Fix the location for elf2flt patchesAlexey Neyman1-0/+0
... after the git version numbering was adjusted. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-30Merge pull request #1044 from abrodkin/topic-arc-linux-4.8Alexey Neyman1-1/+1
Disallow linux versions before 4.8 for ARC
2018-10-09Fix gnulib build against glibc 2.28Alexey Neyman1-0/+144
(upstream commit from gnulib). Fixes #1050. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-08Restore binutils (gold) build on mingw32 hostAlexey Neyman1-0/+122
Fixes #1049. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06Add a comment explaining why CT_Mirrors is not usedAlexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06Remove android-ndk-r18Alexey Neyman3-4/+2
It no longer supports GCC. Fixes #1047. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06Fix fdivp argument orderAlexey Neyman1-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>
2018-10-01Disallow linux versions before 4.8 for ARCAlexey Brodkin1-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>
2018-09-29Fix older automake with newer PerlAlexey Neyman2-0/+54
Fixes #973. Fixes #987. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29Fix compilation against binutils-2.31.1Alexey Neyman1-0/+30
... where <bfd/bfd.h> also needs <bfd/diagnostics.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29Disallow linux versions before 3.7 for aarch64Alexey Neyman1-1/+1
Fixes #1028 Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Patches to fix ld's abort on xtensaAlexey Neyman20-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>
2018-09-28Add globbing patches to make from upstreamAlexey Neyman2-0/+103
Fixes #1004. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-27Pull in fixes for ARM v8m support in gcc 8.2.0Kumar Gala2-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>
2018-09-26Fix build with ISL 0.20Alexey Neyman9-19/+134
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-25Upgrades. Lots of 'em.Alexey Neyman159-730/+1061
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-23Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416Alexey Neyman4-0/+404
package/gcc: fix xtensa PR target/65416
2018-09-23Add musl-libc 1.1.20Bryan Hundven2-0/+4
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-08-21patches: mpfr: Fix obsolete ARC asm constraintsEvgeniy Didin1-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>
2018-06-24package/gcc: fix xtensa PR target/65416Max Filippov4-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>
2018-06-05Add upstream patch fixing XScale buildAlexey Neyman1-0/+52
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05Backport a gcc8 fix from upstreamAlexey Neyman1-0/+32
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-31linux: removed 2.6.32.27Dima Krasner3-29/+0
Signed-off-by: Dima Krasner <dima@securingsam.com>
2018-05-28packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.xDima Krasner4-0/+26
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2018-05-21ARC: Add multilib support for Linux in GCCAlexey Brodkin1-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>
2018-05-16Merge pull request #971 from abrodkin/topic-elf32-multilibAlexey Neyman1-0/+35
ARC: Add support and sample for baremetal/elf32 multilib toolchain
2018-05-16ARC: Don't mention in multilib not yet supported CPUsAlexey Brodkin1-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>
2018-05-16ARC: Fix Linux kernel comilation for ARC700Alexey Brodkin1-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>
2018-05-15Too many fixes need backporting for GCC8...Alexey Neyman1-1/+1
... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-13Second batch of backported fixesAlexey Neyman51-0/+2584
getlogin/getlogin_r, zic Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12First batch of fixesAlexey Neyman35-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>
2018-05-06Restore a missing GDB optionAlexey Neyman1-1/+1
(whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-06Add GCC 8.1Alexey Neyman20-0/+1375
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ngAlexey Neyman45-172/+133
Also, fix manage-packages.sh after autotoolization. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-15Backport GCC fix for partial int modesAlexey Neyman3-0/+294
... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-11uClibc-ng does not implement name_to_handle_atAlexey Neyman5-0/+200
... so don't declare it, it confuses (at least) eudev's configure. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10Make libiconv an option in the menu configAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10uClibc-ng retired RPC support as of 1.0.23Alexey Neyman1-1/+1
... make the corresponding option conditional. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-03Bring in GDB 8.1 and glibc 2.27.Alexey Neyman10-0/+204
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30More fixes after the upgrades:Alexey Neyman20-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>