Commit Graph

4751 Commits

Author SHA1 Message Date
Alexey Neyman
88a08bd2fd Run version check via eval
... otherwise it fails for autoconf/automake; for some reason, newer
Ubuntu 18.10 adds extra quoting around '${SHELL}' in
$ac_cv_path_AUTOCONF.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28 00:26:37 -08:00
Alexey Neyman
ea07954745 Ignore vim swap files while generating the file list
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-27 22:55:41 -08:00
Alexey Neyman
adc16046f7 Add upgrade logic to version-check.sh
Slightly rework config version detector to catch the case where neither
CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file.

Add olddefconfig and use it after the upgrade.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-27 22:55:26 -08:00
Alexey Neyman
20c6accc65 Retire GDB 7.0a, superseded by 7.0.1a
(missed by "retire old versions" commit awhile ago)

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:31:03 -08:00
Alexey Neyman
57e5be632d Basic framework for checking config file version
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Alexey Neyman
127c6cc64d Replace GDB 7.8.1 with 7.82
When merging new package framework, I missed that master had 7.8.2
imported in place of 7.8.1. Noone complained about this downgrade...

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Stephan Conrad
b0151f5eb5 added the version 5 to the check of bash versions
Signed-off-by: Stephan Conrad <stephan@conrad.pics>
2019-01-15 16:28:16 +01:00
Alexey Neyman
0a5107dd42
Merge pull request #1126 from stilor/prefix-with-symlinks
Handle a setup where CT_PREFIX_DIR has symlinks
2019-01-15 00:00:57 -08:00
Alexey Neyman
b6c5ae2f17 Fix building archlinux image
`groupadd` now requires libaudit.so, but coreutils can be installed
without audit package. Weird, gross.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:58:53 -08:00
Alexey Neyman
92ad0fe0ab Dump how multilib iterator is invoked
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:58:22 -08:00
Alexey Neyman
e05fa86bba Canonicalize prefix dir and sysroot
... because GCC prints the sysroot with symlinks resolved.

Fixes #892.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:56:40 -08:00
Alexey Neyman
e215e3aea8
Merge pull request #1121 from xNombre/master
Add new Android API levels
2019-01-02 12:34:54 -08:00
Andrzej Perczak
7d1b10b5e8
Add new Android API levels 2018-12-21 21:07:44 +01:00
Alexey Neyman
eb72b4eb1d
Merge pull request #1117 from stilor/fix-android
Fix android sample
2018-12-15 01:11:31 -08:00
Alexey Neyman
9fc729b4b0 Bionic modifies CT_TARGET_CFLAGS
... which, after a recent change, is not reflected into CT_ALL_TARGET_CFLAGS
for non-multilib configurations.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-15 00:39:04 -08:00
Alexey Neyman
e46f6d9966 Use "package ksym" when fetching/extracting
... in the default implementation of the fetch/extract methods.

Fixes #1116.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-14 18:50:51 -08:00
Alexey Neyman
de48268390
Merge pull request #1115 from stilor/binutils-lto
Add a symlink to LTO for binutils
2018-12-11 08:59:00 -08:00
Alexey Neyman
f2b64524b0 Add a symlink to LTO for binutils
... so that ar can find the plugin even when invoked directly, not
via the gcc-ar plugin.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-11 08:55:07 -08:00
Alexey Neyman
abee9bd482
Merge pull request #1114 from stilor/strip-vendor
Allow removing vendor part of the tuple
2018-12-10 22:31:17 -08:00
Alexey Neyman
b0d954f0ec Allow short "moxiebox" alias
... while making use of the new tunables.

Also, unmark the moxie-elf as broken: the ld scripts installed by newlib
can be found by the compiler and can link the binaries. Why the default
script is broken is not ct-ng's problem...

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-10 01:11:18 -08:00
Alexey Neyman
5cf859d9d9 Add config flags for omitting 'arch' and 'vendor'
... parts of the config tuple. While here, remove parts that are
setting portions of the target tuple to a value that's already
the default.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-10 01:10:01 -08:00
Alexey Neyman
afb17244d2 Run through 'ct-ng updatetools'
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-09 16:53:47 -08:00
Alexey Neyman
1f65837c01
Merge pull request #1112 from stilor/moxie-fix
Moxie fix
2018-12-07 17:45:11 -08:00
Alexey Neyman
7a7a20bfee Moxiebox requires target to be LE
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 14:49:28 -08:00
Alexey Neyman
e85ec884ad Use -mel/-meb for moxie
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 14:49:03 -08:00
Alexey Neyman
854b18b2ac Disallow selection of "both endianness"
... if the architecture only supports single endianness selection.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 14:48:08 -08:00
Alexey Neyman
8bee41d734 Remove a TBD
It only applied to core-pass-2 compiler; final compiler can locate
the linker script just fine.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 14:46:00 -08:00
Alexey Neyman
2a4ea327b6
Merge pull request #1111 from stilor/gcc-7.4
Import GCC 7.4.0
2018-12-07 11:23:42 -08:00
Alexey Neyman
faa7849782 Import GCC 7.4.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:33:35 -08:00
Alexey Neyman
4c2c2315df
Merge pull request #1109 from stilor/cflags-non-multilib
Fixes for 1107
2018-12-07 00:05:19 -08:00
Alexey Neyman
0ffcfd657c Add config from issue 1107
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:03:04 -08:00
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