Commit Graph

4774 Commits

Author SHA1 Message Date
Anton Maklakov
b36e89d294 Add an ability to use a regular directory for overlaying. If it doesn't exist, the tarball is still used 2018-11-05 15:49:51 +08:00
Anton Maklakov
aec70d5310 Collect licenses for the distribution 2018-11-05 15:39:47 +08:00
Alexey Neyman
45a88f046d
Merge pull request #1083 from antmak/dep_on_which
Add a "which" dependency into the configure script
2018-11-04 23:35:22 -08:00
Anton Maklakov
77b8e827b7 Add a "which" dependency into the configure script 2018-11-05 15:20:15 +08:00
Alexey Neyman
2808fdb6a3
Merge pull request #985 from antmak/platform_headers
Use the platform headers in the pass-2 and canadian gcc stages
2018-11-03 15:38:51 -07:00
Alexey Neyman
be1ae32a98
Merge pull request #1082 from stilor/run-from
Run "local" ct-ng from any directory
2018-11-03 14:31:58 -07:00
Alexey Neyman
d4aa8d954d Fix CT_LIBEXEC_DIR and CT_DOC_DIR if "local" ct-ng is run from other dir
Also, no need to use $(shell) if make has the same builtin.

Fixes #933.
Closes #1081.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-03 14:20:45 -07:00
Daniel Black
a98584c897 Allow ct-ng to be run from non-repo directories
closes #993

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
2018-11-03 14:13:08 -07:00
Alexey Neyman
673046cd2b
Merge pull request #1080 from stilor/check-dot-config
Check if .config is a regular file before clobbering it
2018-11-01 23:23:45 -07:00
Alexey Neyman
d72f065e71 Check if .config is a regular file before clobbering it
Fixes #1014.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 23:19:12 -07:00
Alexey Neyman
5958d54350
Merge pull request #1079 from stilor/elf2flt-patch-location
Fix the location for elf2flt patches
2018-11-01 16:44:40 -07:00
Alexey Neyman
cc40350616
Merge pull request #1078 from stilor/force-bfd-linker
Add an ability to modify an exported variable
2018-11-01 16:39:42 -07:00
Alexey Neyman
167b848777 Fix the location for elf2flt patches
... after the git version numbering was adjusted.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 16:36:42 -07:00
Alexey Neyman
f232d6d09a Add an ability to modify an exported variable
... and use that ability to permanently set CTNG_LD_IS in case gold is default linker
and we're building glibc.

Fixes #988. This was a long-standing breakage in crosstool-NG (at least since it began
to run each step in a sub-shell).

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 15:50:12 -07:00
Alexey Neyman
7c4c6892b9
Merge pull request #1044 from abrodkin/topic-arc-linux-4.8
Disallow linux versions before 4.8 for ARC
2018-10-29 23:31:44 -07:00
Alexey Neyman
3b1e2f6d86
Merge pull request #1074 from stilor/docker-fix-ubuntu
Add g++ for Ubuntu dockers
2018-10-28 20:00:47 -07:00
Alexey Neyman
2748c96f33 Add g++ for Ubuntu dockers
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 19:58:22 -07:00
Alexey Neyman
669f718ab0
Merge pull request #1073 from stilor/more-dockers
More dockers
2018-10-28 11:32:43 -07:00
Alexey Neyman
6eb2a236a9 More docker files
... for reference OSes

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 11:28:13 -07:00
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