Commit Graph

4397 Commits

Author SHA1 Message Date
Alexey Neyman
8e5de7fcbf Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-23 13:02:01 -07:00
Alexey Neyman
6a8eb24df6 Merge pull request #847 from stilor/master
When handling overlay, move rather than symlink
2017-10-20 09:31:00 -07:00
Alexey Neyman
a91765156a When handling overlay, move rather than symlink
... as 'tar' does not follow symlink, rather creating a new directory instead.

Fixes #846.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-20 09:27:29 -07:00
Alexey Neyman
42429d9169 Merge pull request #841 from bhundven/update_binutils_2_29_1
[binutils] Add 2.29.1
2017-10-05 22:32:53 -07:00
Bryan Hundven
3cafb8d7b5 [binutils] remove 2.29
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 08:51:32 -07:00
Bryan Hundven
caf8e72233 [binutils] Add 2.29.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 07:21:06 -07:00
Alexey Neyman
626abb9614 Merge pull request #839 from stilor/glibc-local-build-fail
Do not change {pkg}_VERSION
2017-10-01 13:58:22 -07:00
Alexey Neyman
a6dbc8f701 Do not change {pkg}_VERSION
Instead, use new variable ${pkg_dir} to locate auxiliary files.

Fixes #838.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-01 13:55:29 -07:00
Alexey Neyman
f966dd855f Merge pull request #837 from stilor/download-verify
Verification of the downloads
2017-09-30 20:37:22 -07:00
Alexey Neyman
ca45a8f9ab Add -D__GLIBC__ to target CFLAGS
... when using musl to compile strace.

Also, honor CT_TARGET_CFLAGS in scripts compiling target libs/binaries.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30 18:47:35 -07:00
Alexey Neyman
4c321260b2 Strace 4.19 needs a patch for uClibc
Taken from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30 16:01:52 -07:00
Alexey Neyman
529e429c6e expat 2.2.4 dropped INSTALL_ROOT
... in favor of its alias, DESTDIR. Before, it supported both.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 21:29:09 -07:00
Alexey Neyman
b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 17:05:22 -07:00
Alexey Neyman
ea08141d45 Upgrade expat, mpfr, newlib, strace, linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:28:23 -07:00
Alexey Neyman
e29091ec06 Add an ability to download signatures from test-packages.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:10:46 -07:00
Alexey Neyman
48a949cf60 Add an ability to verify the digest/signature
Fixes #611.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 22:40:21 -07:00
Alexey Neyman
f86adab1f4 Merge pull request #834 from stilor/xtensa-fix-linaro
Xtensa fix for Linaro releases
2017-09-23 12:20:38 -07:00
Alexey Neyman
2ebbd3e318 Merge pull request #784 from bmwiedemann/date
Allow for reproducible builds
2017-09-18 12:11:59 -07:00
Alexey Neyman
ff4485ad30 Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 13:05:34 -07:00
Alexey Neyman
8bf31117bc Propagate xtensa fix to Linaro versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 12:19:26 -07:00
Alexey Neyman
aacd6f3b4a Merge pull request #832 from jcmvbkbc/xtensa-fix-pr82181
package/gcc: fix ICE on xtensa, PR target/82181
2017-09-12 12:24:51 -07:00
Max Filippov
09259ace3b package/gcc: fix ICE on xtensa, PR target/82181
Memory references to DI mode objects could incorrectly be created at
offsets that are not supported by instructions l32i/s32i, resulting in
ICE at a stage when access to the object is split into access to its
subwords:
  drivers/staging/rtl8188eu/core/rtw_ap.c:445:1:
     internal compiler error: in change_address_1, at emit-rtl.c:2126

Fixes: https://lkml.org/lkml/2017/9/10/151
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-09-12 11:33:28 -07:00
Alexey Neyman
42cb9694fb Merge pull request #827 from stilor/endianness-selectable
Doh, forgot one place to rename the BOTH_ENDIAN option
2017-09-05 11:56:54 -07:00
Alexey Neyman
3b62fd4083 Doh, forgot one place to rename the BOTH_ENDIAN option
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-05 11:55:47 -07:00
Alexey Neyman
67d16f7887 Merge pull request #824 from stilor/testpkg
Allow test-package.sh to be used in a clean tree
2017-09-04 16:23:24 -07:00
Alexey Neyman
a5c16ae304 Allow test-package.sh to be used in a clean tree
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-04 16:22:52 -07:00
Alexey Neyman
f994d1c7d7 Merge pull request #823 from stilor/sh-experiment-multilib
Better SuperH multilib support (different endian, glibc/uClibc for no-FPU, etc)
2017-09-03 19:55:58 -07:00
Alexey Neyman
602304b230 Use the new SuperH fixes in the two multilib samples
- Glibc configure args and tuple need adjustment on SuperH
- Only allow "both endian" and "with CPU" for unspecified arch
  variant. May reconsider endianness (was breaking things before
  adjusting glibc tuple)
- Retire non-multilib sample, it should be a subset of the
  multilib one now.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:12:14 -07:00
Alexey Neyman
1e4eeb5c3b Workaround for static uClibc-ng issue with -lpthread
Also, preserve .config when running test-package.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:12:14 -07:00
Alexey Neyman
e83a2e2333 Pick up uClibc-ng fixes for static GDB build
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
413f5f6100 Super-H multilib toolchain fixes
1. On SuperH, configuring GCC with explicit variant of the CPU
(like "sh4") limits the default set of multilibs to just that CPU
and requires --with-multilib-list to change. Allow for "unspecified"
variant, so that we can defer to GCC to determine the list.

2. Support toolchains with both endiannesses at the same time.

3. Add a SuperH/newlib sample

4. Add more flags processing for uClibc

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
1da3cc59df Fix typo
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
95de709fe3 Merge pull request #822 from nathanchance/pkgversion-flexibility
Improve toolchain ID options
2017-09-03 10:43:21 -07:00
Nathan Chancellor
b0f14b0dfa config: Show crosstool-NG version in .config
This was previously available in 6c62da4803 but was then removed
in cb7fcbe1ef. Add it back since it will be helpful if the user
wants to hide the crosstool-NG version in the pkgversion.

To get the new version, a defconfig from "ct-ng savedefconfig" or
"ct-ng oldconfig" must be used in combination with "ct-ng menuconfig"
or "ct-ng nconfig".

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2017-09-01 16:49:16 -07:00
Nathan Chancellor
1d724767bd config: Add package versioning flexibility
Some users (like myself) may want to omit the crosstool-NG version
from the binaries' versioning output, as it can be incredibly long
and not too helpful. Add a config option to disable it. The possible
combinations are as follows:

- crosstool-NG version (default)
- crosstool-NG version - custom toolchain ID
- Custom toolchain ID
- No crosstool-NG version OR custom toolchain ID

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2017-09-01 16:48:59 -07:00
Alexey Neyman
98b6a5a450 Merge pull request #818 from stilor/nios2-mmu
Add NIOS2/MMU sample
2017-08-27 23:40:28 -07:00
Alexey Neyman
d25e19f780 Add NIOS2/MMU sample
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-27 23:36:56 -07:00
Alexey Neyman
893685e738 Merge pull request #796 from makoehr/patch-1
Update nios2.in
2017-08-27 22:28:23 -07:00
Alexey Neyman
0194366dbf Merge pull request #817 from stilor/linaro-glibc-2.26
Fix older GCC with glibc 2.26
2017-08-27 22:06:44 -07:00
Alexey Neyman
24b0e666b5 Apply ucontext patch to mainstream GCC releases
Not applicable to 4.8, as GLIBC2.26 requires 4.9 or newer. Record
that dependency.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-27 20:27:21 -07:00
Nathan Chancellor
4d012dd566 Fix Linaro GCC build with glibc 2.26
These were added by GCC in July but these branches are from May. I
suspect that they will be added to at least the 6.x and 7.x branches
but 5.x is EOL from Linaro it seems (as the base GCC version hasn't
been updated in a year and a half). For right now, these are needed.

This was testing on an arm64 build but the patches have fixes for all
supported architectures.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2017-08-27 14:28:11 -07:00
Alexey Neyman
c1b17d7bdd Merge pull request #816 from stilor/fix-mingw
patches/mingw-w64: Fix build with gcc7
2017-08-27 00:09:48 -07:00
Kirill Smirnov
68f201af2d patches/mingw-w64: Fix build with gcc7
Modified by Alexey Neyman: remove obsoleted v5.0.1, propagate the patches
to older versions.

Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-27 00:07:36 -07:00
Alexey Neyman
f627e740ff Merge pull request #814 from stilor/issue-802
Issue 802
2017-08-26 16:29:58 -07:00
Alexey Neyman
eba1a82686 Make --enable-obsolete-rpc an option in ct-ng
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:45 -07:00
Alexey Neyman
bf7641d1b9 Backport --enable-obsolete-rpc from 2.16
Fixes #802.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:45 -07:00
Alexey Neyman
8aa8a2cbc9 Missed glibc 2.14 when obsoleting releases
Superseded on the branch by 2.14.1.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:44 -07:00
Alexey Neyman
5324905c14 Fix glibc-ports with the new framework
While here, also consider patched by anything other than "bundled patches"
as per-target sources. Add scary warnings in case of a failure.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:37 -07:00
Alexey Neyman
5494335c03 Merge pull request #813 from stilor/binutils-2.29-regressions
Fix regressions after binutils 2.29
2017-08-25 18:07:47 -07:00
Alexey Neyman
a840a08f44 Fix regressions after binutils 2.29
Binutils 2.29 are more picky about versioning of common symbols.
Fix two offenders in glibc versions as applicable.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-25 15:14:00 -07:00