summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-29Disallow linux versions before 3.7 for aarch64Alexey Neyman2-1/+2
Fixes #1028 Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29Merge pull request #1040 from stilor/create-release-with-autotoolsAlexey Neyman2-60/+16
Move the last bits of release creation into Makefile.am
2018-09-29Move the last bits of release creation into Makefile.amAlexey Neyman2-60/+16
Fixes #938. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Merge pull request #1039 from stilor/xtensa-2.31.1Alexey Neyman20-0/+128
Patches to fix ld's abort on xtensa
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-28Merge pull request #1038 from stilor/make-fix-globAlexey Neyman14-40/+188
Fix make's glob() with new glibc
2018-09-28Make dockerfiles a bit more consistentAlexey Neyman10-39/+71
... and add Mint 19 and CentOS 6. The latter currently fails in ctng's configure due to an old libtool; need to make libtool optional. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Fix up timestamps after patchingAlexey Neyman2-1/+14
... so that autotools-based packages do not re-run autoconf/autoheader/automake. 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-27Merge pull request #1036 from stilor/small-fixesAlexey Neyman8-16/+25
Small fixes
2018-09-27Merge pull request #1037 from galak/gcc-8.2.0-arm-fixesAlexey Neyman2-0/+109
Pull in fixes for ARM v8m support in gcc 8.2.0
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-27Make CT_PREFIX_DIR/CT_WORK_DIR/CT_BUILD_TOP_DIR absoluteAlexey Neyman2-4/+13
... if they aren't already. Fixes #1010. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-27Use 'chmod a-x' instead of 'chmod -x'Alexey Neyman6-8/+8
There is a subtle difference when executable bit is a part of the umask. And at least some versions (Debian/stretch) fail if the resulting mode would've been different if not for the umask setting. Fixes #998. Although, with such chmods/umasks it is likely that some package installation will break anyway. But I'll leave it until somebody complains. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26Fix restarting after a complete buildAlexey Neyman1-4/+4
It is much, much better to *first* make the directory writable and *then* do a test for case-sensitivity (which requires writing in that directory). Fixes #1033. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26Merge pull request #984 from slash3g/masterAlexey Neyman1-4/+4
Properly handle newlib configuration flags
2018-09-26Merge pull request #1027 from sifive/dev/paulw/rv64-bare-metalAlexey Neyman2-0/+10
riscv64: samples: add rv64gc bare-metal sample configuration
2018-09-26Merge pull request #1032 from stilor/updatesAlexey Neyman169-750/+1198
Update packages
2018-09-26Fix build with ISL 0.20Alexey Neyman10-20/+137
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-25Merge pull request #1029 from stilor/fix-bionic-buildAlexey Neyman1-1/+7
Restore *-android build
2018-09-25Restore *-android buildAlexey Neyman1-1/+7
Modify CT_TARGET_CFLAGS (which are passed to GCC's FOR_TARGET flags) rather than CT_ALL_TARGET_CFLAGS. Fixes #1006. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-24riscv64: add rv64gc bare-metal samplePaul Walmsley2-0/+10
This sample works well for building the open-source first stage bootloader for the SiFive U540 device (and similar): https://github.com/sifive/freedom-u540-c000-bootloader Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2018-09-23Merge pull request #1001 from cpackham/kconfig-fixAlexey Neyman1-2/+6
kconfig: display recursive dependency resolution hint just once
2018-09-23Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416Alexey Neyman4-0/+404
package/gcc: fix xtensa PR target/65416
2018-09-23Merge pull request #1025 from bhundven/update_musl_1_1_20Bryan Hundven3-2/+9
Add musl-libc 1.1.20
2018-09-23Fix compressed for tar, tooBryan Hundven1-1/+1
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-23Ignore compressed filesBryan Hundven1-2/+5
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-23Add musl-libc 1.1.20Bryan Hundven2-0/+4
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-22Merge pull request #990 from antmak/fix_newlib_multilib_optAlexey Neyman1-1/+1
Fix a wrong name for the newlib's multilib option
2018-09-22Merge pull request #1012 from EvgeniiDidin/masterAlexey Neyman1-0/+37
patches: mpfr: Fix obsolete ARC asm constraints
2018-09-22Merge pull request #1020 from sifive/dev/paulw/rv64-fixedAlexey Neyman3-0/+18
riscv: add rv64gc support
2018-09-11riscv64: add rv64gc linux-gnu samplePaul Walmsley2-0/+15
This sample works well for the SiFive U540 device (and similar). Thanks to Jim Wilson <jimw@sifive.com> for his review, discovering several bugs (now fixed). Cc: Jim Wilson <jimw@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2018-09-10config: arch: riscv: add initial 64-bit supportPaul Walmsley1-0/+3
Add initial rv64 support. Originally based on suggestions from Franz Flasch <franz.flasch@gmx.at>. Cc: Franz Flasch <franz.flasch@gmx.at> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by: Paul Walmsley <paul@pwsan.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-07-10kconfig: display recursive dependency resolution hint just onceMasahiro Yamada1-2/+6
Commit 1c199f2878f6 ("kbuild: document recursive dependency limitation / resolution") probably intended to show a hint along with "recursive dependency detected!" error, but it missed to add {...} guard, and the hint is displayed in every loop of the dep_stack traverse, annoyingly. This error was detected by GCC's -Wmisleading-indentation when switching to build-time generation of lexer/parser. scripts/kconfig/symbol.c: In function ‘sym_check_print_recursive’: scripts/kconfig/symbol.c:1150:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (stack->sym == last_sym) ^~ scripts/kconfig/symbol.c:1153:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n"); ^~~~~~~ I could simply add {...} to surround the three fprintf(), but I rather chose to move the hint after the loop to make the whole message readable. Fixes: 1c199f2878f6 ("kbuild: document recursive dependency limitation / resolution" Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Luis R. Rodriguez <mcgrof@kernel.org> [upstream commit e3b03bf29d6b99fab7001fb20c33fe54928c157a] Fixes #1000 Signed-off-by: Chris Packham <judge.packham@gmail.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-15Fix a wrong name for the newlib's multilib optionAnton Maklakov1-1/+1
2018-06-11Properly handle newlib configuration flagsDaniele Baracchi1-4/+4
2018-06-07Merge pull request #981 from stilor/use-git-version-genAlexey Neyman3-11/+238
Use git-version-gen to generate version info
2018-06-07Use git-version-gen to generate version infoAlexey Neyman3-11/+238
Suggested-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-06Merge pull request #979 from stilor/masterAlexey Neyman3-15/+54
Make patch order overridable by individual packages
2018-06-06Make patch order overridable by individual packagesAlexey Neyman3-15/+54
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-06Merge pull request #978 from stilor/fix-gcc8-regressionsAlexey Neyman17-38/+121
Fix gcc8 regressions
2018-06-05Disable context functions for ThumbAlexey Neyman1-0/+1
They're written in ARM dialect, and `ldmia r14, {r14, pc}` is not accepted in T2 encoding. GCC8 changed the list of multilibs for arm-*, which now includes a variant with CPU that supports T2 but not A1 encoding. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05Add upstream patch fixing XScale buildAlexey Neyman1-0/+52
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05Add --enable-obsolete for powerpc-*-speAlexey Neyman1-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05Detect errors from gasAlexey Neyman1-0/+1
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-06-05Avoid adding arch/cpu/tune flags for target to GCC buildAlexey Neyman12-35/+32
... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>