Commit Graph

4972 Commits (master)
 

Author SHA1 Message Date
Alexey Neyman 45a88f046d
Merge pull request #1083 from antmak/dep_on_which
Add a "which" dependency into the configure script
4 years ago
Anton Maklakov 77b8e827b7 Add a "which" dependency into the configure script 4 years ago
Alexey Neyman 2808fdb6a3
Merge pull request #985 from antmak/platform_headers
Use the platform headers in the pass-2 and canadian gcc stages
4 years ago
Alexey Neyman be1ae32a98
Merge pull request #1082 from stilor/run-from
Run "local" ct-ng from any directory
4 years ago
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>
4 years ago
Daniel Black a98584c897 Allow ct-ng to be run from non-repo directories
closes #993

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
4 years ago
Alexey Neyman 673046cd2b
Merge pull request #1080 from stilor/check-dot-config
Check if .config is a regular file before clobbering it
4 years ago
Alexey Neyman d72f065e71 Check if .config is a regular file before clobbering it
Fixes #1014.

Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman 5958d54350
Merge pull request #1079 from stilor/elf2flt-patch-location
Fix the location for elf2flt patches
4 years ago
Alexey Neyman cc40350616
Merge pull request #1078 from stilor/force-bfd-linker
Add an ability to modify an exported variable
4 years ago
Alexey Neyman 167b848777 Fix the location for elf2flt patches
... after the git version numbering was adjusted.

Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman 7c4c6892b9
Merge pull request #1044 from abrodkin/topic-arc-linux-4.8
Disallow linux versions before 4.8 for ARC
4 years ago
Alexey Neyman 3b1e2f6d86
Merge pull request #1074 from stilor/docker-fix-ubuntu
Add g++ for Ubuntu dockers
4 years ago
Alexey Neyman 2748c96f33 Add g++ for Ubuntu dockers
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman 669f718ab0
Merge pull request #1073 from stilor/more-dockers
More dockers
4 years ago
Alexey Neyman 6eb2a236a9 More docker files
... for reference OSes

Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman dc01f61898 Add libtool to CentOS6 docker configuration
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman d2bf59cb7d
Merge pull request #1072 from stilor/failure-when-saving
Detect errors in CT_SaveLocal
4 years ago
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>
4 years ago
Alexey Neyman e12e90c798
Merge pull request #1069 from austin-beer/master
Prevent Bash from searching $PATH when sourcing the .config file
4 years ago
Austin Beer 11e65e75f9 Add comment about preventing Bash from searching $PATH 4 years ago
Alexey Neyman 4a2b3830d9
Merge pull request #1067 from stilor/gcc8-ppcspe
Generate correct tuple for PowerPC with SPE ABI
4 years ago
Austin Beer 93d86b7e5c Prevent Bash from searching $PATH when sourcing the .config file 5 years ago
Alexey Neyman 091b7e4c87 Generate correct tuple for PowerPC with SPE ABI
Fixes #1018.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman ee829c25eb
Merge pull request #1065 from stilor/glibc-version
Supply "very old" and "very new" glibc versions
5 years ago
Alexey Neyman 6b53ad77c2
Merge pull request #1066 from stilor/centos7-docker
Centos7 docker
5 years ago
Alexey Neyman 675c392d1a Check for `file` presence (missing in default CentOS7)
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman cf7d68a8a4 Add CentOS7 docker configuration
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
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>
5 years ago
Alexey Neyman 2157b53920
Merge pull request #1064 from stilor/git-shallow
Try to use 'git fetch --depth 1' if possible
5 years ago
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>
5 years ago
Alexey Neyman a86dc5416a
Merge pull request #1062 from stilor/state-dir-location
Fix state dir location
5 years ago
Alexey Neyman e72d7df359 Fix state dir location
Fixes #1054

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 6a21d9bcfc
Merge pull request #1061 from stilor/fix-glibc-ports-symlink
Create glibc-ports symlink inside CT_SRC_DIR
5 years ago
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>
5 years ago
Alexey Neyman d19c46f8d5
Merge pull request #1058 from stilor/fix-m4-against-glibc2.28
Fix m4 against glibc2.28
5 years ago
Alexey Neyman 21c0ab272a Add the workaround for kconfig colors in archlinux
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman f72283d8b1 Fix gnulib build against glibc 2.28
(upstream commit from gnulib).

Fixes #1050.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman ad867266c2
Merge pull request #1056 from stilor/binutils-mingw
Restore binutils (gold) build on mingw32 host
5 years ago
Alexey Neyman 8f86bd8078 Restore binutils (gold) build on mingw32 host
Fixes #1049.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman e18e44ea8d
Merge pull request #1053 from stilor/add-comment-newlib
Add a comment explaining why CT_Mirrors is not used
5 years ago
Alexey Neyman 53f30ea89f Add a comment explaining why CT_Mirrors is not used
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 6d9014f214
Merge pull request #1052 from stilor/remove-android-ndk-r18
Remove android-ndk-r18
5 years ago
Alexey Neyman 6e85d0202f Remove android-ndk-r18
It no longer supports GCC.

Fixes #1047.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman a18778d024
Merge pull request #1051 from stilor/fix-glibc-2.15-i386
Fix glibc 2.15 i386
5 years ago
Alexey Neyman 5c10c92ed4 Add wget
... so that Docker image creation can fetch dumb-init.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
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>
5 years ago