Commit Graph

5230 Commits

Author SHA1 Message Date
Alexey Neyman
8f86bd8078 Restore binutils (gold) build on mingw32 host
Fixes #1049.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-07 22:36:26 -07:00
Alexey Neyman
e18e44ea8d
Merge pull request #1053 from stilor/add-comment-newlib
Add a comment explaining why CT_Mirrors is not used
2018-10-06 10:42:37 -07:00
Alexey Neyman
53f30ea89f Add a comment explaining why CT_Mirrors is not used
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 10:24:55 -07:00
Alexey Neyman
6d9014f214
Merge pull request #1052 from stilor/remove-android-ndk-r18
Remove android-ndk-r18
2018-10-06 10:15:20 -07:00
Alexey Neyman
6e85d0202f Remove android-ndk-r18
It no longer supports GCC.

Fixes #1047.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 10:13:28 -07:00
Alexey Neyman
a18778d024
Merge pull request #1051 from stilor/fix-glibc-2.15-i386
Fix glibc 2.15 i386
2018-10-06 08:52:11 -07:00
Alexey Neyman
5c10c92ed4 Add wget
... so that Docker image creation can fetch dumb-init.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 08:44:39 -07:00
Alexey Neyman
8236e5d996 Fix fdivp argument order
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-06 08:43:57 -07:00
Alexey Brodkin
7b929a528e Disallow linux versions before 4.8 for ARC
Inspired by a similar fix for AArch64 in 481cbaac9b.

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-10-01 11:34:12 +03:00
Alexey Neyman
68be6c2268
Merge pull request #1043 from stilor/master
Fix older automake with newer Perl
2018-09-29 15:31:43 -07:00
Alexey Neyman
9ea66ee43f Fix older automake with newer Perl
Fixes #973.
Fixes #987.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 15:27:44 -07:00
Alexey Neyman
f74175ae13
Merge pull request #1042 from stilor/master
Fix compilation against binutils-2.31.1
2018-09-29 14:12:29 -07:00
Alexey Neyman
c14bdd833a Fix compilation against binutils-2.31.1
... where <bfd/bfd.h> also needs <bfd/diagnostics.h>.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 14:11:07 -07:00
Alexey Neyman
ee1e67ccb4
Merge pull request #1041 from stilor/aarch64-in-linux3.7
Disallow linux versions before 3.7 for aarch64
2018-09-29 11:32:57 -07:00
Alexey Neyman
481cbaac9b Disallow linux versions before 3.7 for aarch64
Fixes #1028

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 11:30:54 -07:00
Alexey Neyman
99a261736b
Merge pull request #1040 from stilor/create-release-with-autotools
Move the last bits of release creation into Makefile.am
2018-09-29 10:28:26 -07:00
Alexey Neyman
2d6ecbda6b Move the last bits of release creation into Makefile.am
Fixes #938.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 10:24:18 -07:00
Alexey Neyman
c3ea42f08c
Merge pull request #1039 from stilor/xtensa-2.31.1
Patches to fix ld's abort on xtensa
2018-09-28 15:44:59 -07:00
Alexey Neyman
83a5eb4084 Patches to fix ld's abort on xtensa
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-28 15:43:17 -07:00
Alexey Neyman
d0dd654ca6
Merge pull request #1038 from stilor/make-fix-glob
Fix make's glob() with new glibc
2018-09-28 13:32:59 -07:00
Alexey Neyman
9d7c783a93 Make dockerfiles a bit more consistent
... 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-28 11:53:55 -07:00
Alexey Neyman
efe65615d0 Fix up timestamps after patching
... so that autotools-based packages do not re-run autoconf/autoheader/automake.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28 11:48:01 -07:00
Alexey Neyman
6ad79d8932 Add globbing patches to make from upstream
Fixes #1004.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28 11:47:57 -07:00
Alexey Neyman
5f18c3ed4e
Merge pull request #1036 from stilor/small-fixes
Small fixes
2018-09-27 14:43:04 -07:00
Alexey Neyman
f7c2952419
Merge pull request #1037 from galak/gcc-8.2.0-arm-fixes
Pull in fixes for ARM v8m support in gcc 8.2.0
2018-09-27 14:42:50 -07:00
Kumar Gala
b06864f7df Pull in fixes for ARM v8m support in gcc 8.2.0
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-27 04:26:52 -05:00
Alexey Neyman
2acab2f061 Make CT_PREFIX_DIR/CT_WORK_DIR/CT_BUILD_TOP_DIR absolute
... if they aren't already.

Fixes #1010.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-27 01:01:20 -07:00
Alexey Neyman
d573c15758 Use 'chmod a-x' instead of 'chmod -x'
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-26 23:54:55 -07:00
Alexey Neyman
29f0662c18 Fix restarting after a complete build
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-26 16:20:12 -07:00
Alexey Neyman
b82b8adb44
Merge pull request #984 from slash3g/master
Properly handle newlib configuration flags
2018-09-25 23:52:05 -07:00
Alexey Neyman
ea1072c29b
Merge pull request #1027 from sifive/dev/paulw/rv64-bare-metal
riscv64: samples: add rv64gc bare-metal sample configuration
2018-09-25 23:41:59 -07:00
Alexey Neyman
49520dbf6d
Merge pull request #1032 from stilor/updates
Update packages
2018-09-25 21:47:03 -07:00
Alexey Neyman
581e8a514b Fix build with ISL 0.20
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-25 17:22:34 -07:00
Alexey Neyman
98834458f1 Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-24 23:09:53 -07:00
Alexey Neyman
eb65ba65ba
Merge pull request #1029 from stilor/fix-bionic-build
Restore *-android build
2018-09-24 22:46:14 -07:00
Alexey Neyman
b0e7b57c4a Restore *-android build
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-24 22:43:08 -07:00
Paul Walmsley
af8da8b181 riscv64: add rv64gc bare-metal sample
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-24 11:09:39 -07:00
Alexey Neyman
a6580b8e8b
Merge pull request #1001 from cpackham/kconfig-fix
kconfig: display recursive dependency resolution hint just once
2018-09-23 11:37:22 -07:00
Alexey Neyman
8026e6a013
Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416
package/gcc: fix xtensa PR target/65416
2018-09-23 11:35:59 -07:00
Bryan Hundven
af07934139
Merge pull request #1025 from bhundven/update_musl_1_1_20
Add musl-libc 1.1.20
2018-09-22 23:43:11 -07:00
Bryan Hundven
66fbd9f42e Fix compressed for tar, too
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-22 23:23:46 -07:00
Bryan Hundven
ad667b2a15 Ignore compressed files
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-22 23:22:36 -07:00
Bryan Hundven
5b42c4cb05 Add musl-libc 1.1.20
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-22 23:20:14 -07:00
Alexey Neyman
c426acbee7
Merge pull request #990 from antmak/fix_newlib_multilib_opt
Fix a wrong name for the newlib's multilib option
2018-09-21 23:37:29 -07:00
Alexey Neyman
8ab3b0b200
Merge pull request #1012 from EvgeniiDidin/master
patches: mpfr: Fix obsolete ARC asm constraints
2018-09-21 23:36:00 -07:00
Alexey Neyman
9ab0c733cd
Merge pull request #1020 from sifive/dev/paulw/rv64-fixed
riscv: add rv64gc support
2018-09-21 23:28:49 -07:00
Paul Walmsley
05d74f9d63 riscv64: add rv64gc linux-gnu sample
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-10 22:58:08 -07:00
Paul Walmsley
694580fa60 config: arch: riscv: add initial 64-bit support
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-09-10 13:28:56 -07:00
Evgeniy Didin
4a881ea56e patches: mpfr: Fix obsolete ARC asm constraints
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-08-21 15:51:09 +03:00
Masahiro Yamada
eef8eb4033 kconfig: display recursive dependency resolution hint just once
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-07-10 14:25:20 +12:00