Age | Commit message (Collapse) | Author | Files | Lines |
|
Upgrade script + test suite
|
|
Also, remove a couple of config options that dealt with package versions
that have been since retired.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
(missed by "retire old versions" commit awhile ago)
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
When merging new package framework, I missed that master had 7.8.2
imported in place of 7.8.1. Noone complained about this downgrade...
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
https://www.openwall.com/lists/musl/2019/01/21/8
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... until it was fixed (to some extent) in 2.25.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... 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>
|
|
Fixes #656.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, they moved their repository.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
(needed for cross-gdb targeting the moxie-* targets)
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... after the git version numbering was adjusted.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Disallow linux versions before 4.8 for ARC
|
|
(upstream commit from gnulib).
Fixes #1050.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #1049.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
It no longer supports GCC.
Fixes #1047.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
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>
|
|
Fixes #973.
Fixes #987.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... where <bfd/bfd.h> also needs <bfd/diagnostics.h>.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #1028
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also while there, fix the naming (some patches ended up with two sequence numbers somehow).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #1004.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
package/gcc: fix xtensa PR target/65416
|
|
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Dima Krasner <dima@securingsam.com>
|
|
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
|
|
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>
|
|
ARC: Add support and sample for baremetal/elf32 multilib toolchain
|
|
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>
|
|
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>
|
|
... so instead, disable -Werror for older versions of glibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
getlogin/getlogin_r, zic
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- Incompatible function type for ifunc alias
- Multiple statements macro expansion in strftime
- if_nametoindex size checking
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
(whether GDB has --disable-build-with-cxx) and use it.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, fix manage-packages.sh after autotoolization.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... from trunk to GCC7/GCC6/GCC5.
Fixes #742.
Signed-off-by: Alexey Neyman <stilor@att.net>
|