Commit Graph

4755 Commits

Author SHA1 Message Date
Alexey Neyman
9d43246664 Change the layout a bit
... to a more natural installation paths, and also include ct-ng into
$PATH in the containers.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 10:44:22 -07:00
Alexey Neyman
dc01f61898 Add libtool to CentOS6 docker configuration
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 14:51:15 -07:00
Alexey Neyman
e738751e83 Accept any libtool version
ct-ng will build its own version if a recent enough version is not
detected.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 14:19:27 -07:00
Alexey Neyman
d2bf59cb7d
Merge pull request #1072 from stilor/failure-when-saving
Detect errors in CT_SaveLocal
2018-10-27 14:04:14 -07:00
Alexey Neyman
21af769802 Detect errors in CT_SaveLocal
The function is called from a conditional and therefore, the CT_OnError
handler is not invoked on failures. Need to return an error and check
for the error return in the caller.

Also, while here, fix the issue that was causing the failure -
move can fail if it crosses a filesystem, so fall back to 'cp+rm' in
that case.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 13:56:22 -07:00
Alexey Neyman
e12e90c798
Merge pull request #1069 from austin-beer/master
Prevent Bash from searching $PATH when sourcing the .config file
2018-10-25 21:15:54 -07:00
Austin Beer
11e65e75f9 Add comment about preventing Bash from searching $PATH 2018-10-25 15:07:55 -06:00
Alexey Neyman
4a2b3830d9
Merge pull request #1067 from stilor/gcc8-ppcspe
Generate correct tuple for PowerPC with SPE ABI
2018-10-25 09:11:28 -07:00
Austin Beer
93d86b7e5c Prevent Bash from searching $PATH when sourcing the .config file 2018-10-24 18:56:12 -06:00
Alexey Neyman
091b7e4c87 Generate correct tuple for PowerPC with SPE ABI
Fixes #1018.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-23 23:22:01 -07:00
Alexey Neyman
ee829c25eb
Merge pull request #1065 from stilor/glibc-version
Supply "very old" and "very new" glibc versions
2018-10-22 22:37:50 -07:00
Alexey Neyman
6b53ad77c2
Merge pull request #1066 from stilor/centos7-docker
Centos7 docker
2018-10-22 22:37:39 -07:00
Alexey Neyman
675c392d1a Check for file presence (missing in default CentOS7)
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-22 14:44:53 -07:00
Alexey Neyman
cf7d68a8a4 Add CentOS7 docker configuration
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-22 14:44:38 -07:00
Alexey Neyman
782b45d0da Supply "very old" and "very new" glibc versions
... as 1.0 and 99.99, respectively, to gcc configure.

Fixes #1031.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-21 19:05:19 -07:00
Alexey Neyman
2157b53920
Merge pull request #1064 from stilor/git-shallow
Try to use 'git fetch --depth 1' if possible
2018-10-21 09:46:48 -07:00
Alexey Neyman
ce7eea8003 Try to use 'git fetch --depth 1' if possible
It should be possible if fetching a tag/branch, and it may be possible
if fetching a changeset if a server is configured to allow it.

Fixes #986

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-20 23:33:14 -07:00
Alexey Neyman
a86dc5416a
Merge pull request #1062 from stilor/state-dir-location
Fix state dir location
2018-10-19 17:11:01 -07:00
Alexey Neyman
e72d7df359 Fix state dir location
Fixes #1054

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-19 17:03:14 -07:00
Alexey Neyman
6a21d9bcfc
Merge pull request #1061 from stilor/fix-glibc-ports-symlink
Create glibc-ports symlink inside CT_SRC_DIR
2018-10-16 00:04:40 -07:00
Alexey Neyman
e697b4694a Create glibc-ports symlink inside CT_SRC_DIR
... so that it works in both "bundled" and "bundled,local" cases.

Fixes #1060.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-16 00:02:18 -07:00
Alexey Neyman
d19c46f8d5
Merge pull request #1058 from stilor/fix-m4-against-glibc2.28
Fix m4 against glibc2.28
2018-10-09 00:04:54 -07:00
Alexey Neyman
21c0ab272a Add the workaround for kconfig colors in archlinux
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-09 00:03:10 -07:00
Alexey Neyman
f72283d8b1 Fix gnulib build against glibc 2.28
(upstream commit from gnulib).

Fixes #1050.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-08 23:51:11 -07:00
Alexey Neyman
ad867266c2
Merge pull request #1056 from stilor/binutils-mingw
Restore binutils (gold) build on mingw32 host
2018-10-07 22:41:37 -07:00
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