Commit Graph

4720 Commits

Author SHA1 Message Date
Alexey Neyman
e149e28e57 Disable -fstack-protector* from being used by glibc
... until it was fixed (to some extent) in 2.25.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:03:04 -08:00
Alexey Neyman
9d2a5f8413 Set ALL_TARGET_CFLAGS initially for !MULTILIB
Fixes #1107.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:03:04 -08:00
Alexey Neyman
f8874f447e
Merge pull request #1108 from stilor/config-fixes
Config fixes
2018-12-04 19:12:59 -08:00
Alexey Neyman
1e5c48f190 Require ld to be default when building mingw-w64
Fixes #674.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04 18:49:08 -08:00
Alexey Neyman
f5b57504d2 Add configuration options for enabling SSP
... in uClibc and glibc.

Fixes #681.

While here, relocate additional "sources" for uClibc/binutils into packages/
directory.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04 16:15:37 -08:00
Alexey Neyman
893932e90f Add a config option for default RELRO setting
Fixes #656.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 20:19:09 -08:00
Alexey Neyman
dc9fa6ad64
Merge pull request #1106 from stilor/x86-default-to-i686
Warn if architecture is empty on x86/32bit
2018-12-03 16:22:16 -08:00
Alexey Neyman
d9afcd80fc Warn if architecture is empty on x86/32bit
as that defaults to i386, which will fail with glibc (and likely other
libcs).

Fixes #617.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 16:17:25 -08:00
Alexey Neyman
03b29ba5b0
Merge pull request #1105 from stilor/fix-uclibc
Fix a couple of regressions after recent checkins
2018-12-03 16:16:40 -08:00
Alexey Neyman
7185ac031a Strace needs a patch with Linux 4.19+
Also, they moved their repository.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 15:29:35 -08:00
Alexey Neyman
8c6cf388cd Fix uClibc builds after moxie merge
Broken because of the capitalization of the name.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 13:04:44 -08:00
Alexey Neyman
fc64f2d015
Merge pull request #1104 from stilor/restrict-flat-format
Restrict flat format to architectures that support it
2018-12-01 15:11:47 -08:00
Alexey Neyman
d1910b945b Restrict flat format to architectures that support it
Fixes #878

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 15:08:46 -08:00
Alexey Neyman
c34fe6eec6
Merge pull request #1103 from stilor/rmdir-in-ro-parent
Consider it success if DoForceRmdir removes only the content
2018-12-01 14:44:53 -08:00
Alexey Neyman
a4dc14dba4 Consider it success if DoForceRmdir removes only the content
Fixes #929.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 14:44:08 -08:00
Alexey Neyman
dc681ec8eb
Merge pull request #1102 from stilor/moxie
Moxie architecture support
2018-12-01 13:00:50 -08:00
Alexey Neyman
40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 10:10:51 -08:00
Alexey Neyman
172308cb1b Add moxie architecture
and a moxie-unknown-elf target (which is what #1088 apparently wanted).

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28 00:30:10 -08:00
Alexey Neyman
da76ae3ea3 Add DTC as a companion tool
(needed for cross-gdb targeting the moxie-* targets)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28 00:30:10 -08:00
Alexey Neyman
951afda508
Merge pull request #1101 from stilor/install-fixes
Install fixes
2018-11-28 00:11:51 -08:00
Alexey Neyman
3834a7b469 Add LICENSE symlink to release tarball.
Fixes #1091.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 22:38:46 -08:00
Alexey Neyman
ca7edf2fa3 Abbreviate to 7 characters when building out of git
Otherwise, release tarballs look weird with strings varying in length.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 15:39:53 -08:00
Alexey Neyman
15d1724bd1 Do not distribute paths.sh
Fixes #1100.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 15:38:00 -08:00
Alexey Neyman
71d85c9e16 Include testing/ into the release.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-26 23:50:47 -08:00
Alexey Neyman
5256e4768f
Merge pull request #1098 from stilor/master
Remove vestiges of Travis/Waffle
2018-11-23 22:50:28 -08:00
Alexey Neyman
9eb15242b4 Remove vestiges of Travis/Waffle
They are no longer used and cause more confusion among users than they
add benefits. If/when @bhundven finishes the integration with GitLab,
he'll add new scripts and status.

Fixes #999.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-23 22:20:43 -08:00
Alexey Neyman
26d5c3604d
Merge pull request #1096 from stilor/uclibc-31
Add uClibc-ng 1.0.31
2018-11-18 11:13:23 -08:00
Alexey Neyman
58dd139ca0 Add uClibc-ng 1.0.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-17 18:40:26 -08:00
Alexey Neyman
710c8e0d8e
Merge pull request #1094 from stilor/license-install-fixes
Fix installation of the license file
2018-11-12 12:47:08 -08:00
Alexey Neyman
35bec76b63 Fix installation of the license file
... for ct-ng configured without --enable-local. Also, install
licenses in subdirectories of the components.

Also, ct-ng configured with --enable-local removed the scripts directory
upon `ct-ng distclean`.

Also, misspelled CT_WGET/CT_CURL variables prevented use of
`ct-ng updatetools`.

Fixes #1091.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-12 01:19:04 -08:00
Alexey Neyman
fad46ac9d1
Merge pull request #1093 from stilor/fix-distclean
Fix distclean
2018-11-10 15:03:22 -08:00
Alexey Neyman
2a36181f70 Fix distclean
After d4aa8d9, make distclean removes scripts in ct-ng configured
with --enable-local.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-10 14:57:17 -08:00
Alexey Neyman
411589ead0
Merge pull request #1092 from stilor/check-libtool
Still need to check for libtool presence
2018-11-09 16:31:29 -08:00
Alexey Neyman
2a749b6923 Still need to check for libtool presence
... as kconfig depends on it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-09 16:30:44 -08:00
Alexey Neyman
616870f619
Merge pull request #1090 from stilor/gcc6.5
updates
2018-11-08 11:03:43 -08:00
Alexey Neyman
56cad6c9de
Merge pull request #1086 from roolebo/make-aliases
Provide more tool overrides
2018-11-08 11:02:57 -08:00
Alexey Neyman
4294786178 Update Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-08 00:24:52 -08:00
Alexey Neyman
48fa32776e Import gcc 6.5.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07 23:46:35 -08:00
Alexey Neyman
eabb3ec189
Merge pull request #1089 from stilor/option-for-collecting-licenses
Make license collection optional, on by default
2018-11-07 16:20:56 -08:00
Alexey Neyman
8fe21d70a2 Make license collection optional, on by default
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07 12:59:29 -08:00
Alexey Neyman
4270b8e62e
Merge pull request #1084 from antmak/collect_licences
Collect licenses for the distribution
2018-11-07 11:26:45 -08:00
Roman Bolshakov
0229bc415e Add an override for bison
glibc build requires GNU bison >= 2.7 but Apple ships bison 2.3. If we
provide an override for GNU bison it should be possible to use a version
from homebrew.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
2018-11-07 20:42:16 +03:00
Roman Bolshakov
7346d635b3 Provide more overrides for make
glibc's configure script looks for make in the following order:
  gnumake gmake make

but crosstool-ng has an override only for make. So glibc picks up
gnumake from system and fails to proceed with the build because system
make is very old.

It'd more reliable if we also override gnumake and gmake.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
2018-11-07 20:42:04 +03:00
Alexey Neyman
94e7967261
Merge pull request #1087 from stilor/pr-985
Fix detection of missing overlays
2018-11-06 23:49:37 -08:00
Alexey Neyman
4acea9cc95 Fix detection of missing overlays
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-06 23:48:51 -08:00
Alexey Neyman
c00822f468
Merge pull request #1085 from antmak/directory_overlay
Regular directory for overlaying
2018-11-06 23:01:44 -08:00
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