Commit Graph

4926 Commits

Author SHA1 Message Date
Alexey Neyman
da11216f8d Centos6 also needs python3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04 00:21:22 -08:00
Alexey Neyman
8d65fc7fc2 Detect errors in each container if running an action
... in more than one; then complain at the end.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:49:25 -08:00
Alexey Neyman
6cfdb71894 Install Python3 from EPEL on CentOS7
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:48:39 -08:00
Alexey Neyman
862c35457d Fix build of glibc 2.29 on systems with obsolete host programs
- Force building make as a companion tool if host make is older than
4.0 (CentOS 7 currently has 3.82)
- Disable 2.29 as a choice if host python is older than 3.4
(CentOS 7 has 2.6 unless python from EPEL is installed)
- Python2 emits its version information to STDERR. Ugh.

While there, also use the detected host Python for GDB configuration.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:45:37 -08:00
Alexey Neyman
c4126d9397
Merge pull request #1156 from stilor/more-docker-stuff
More docker stuff
2019-02-28 17:35:38 -08:00
Alexey Neyman
28e311d2b9 Allow already configured directories
... while building in docker

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 17:13:12 -08:00
Alexey Neyman
9b9e5c4162 Make lzip an optional dependency
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 17:13:12 -08:00
Alexey Neyman
857b7928b8 uClibc-ng replaced a broken .lz tarball for 1.0.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 11:05:36 -08:00
Alexey Neyman
0aa6b2f033 Centos6 wasn't able to su into `ctng' user
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:58:11 -08:00
Alexey Neyman
f208f0f782
Merge pull request #1155 from stilor/archlinux2
Seems like ArchLinux renamed its base on dockerhub
2019-02-28 09:27:18 -08:00
Alexey Neyman
a0fdc36be6 Seems like ArchLinux renamed its base on dockerhub
... awhile ago; I had it cached on one machine.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:24:57 -08:00
Alexey Neyman
cc6da356cd
Merge pull request #1154 from stilor/final-fixes
Archlinux: update keyring before packages
2019-02-28 09:02:04 -08:00
Alexey Neyman
27423505bf Archlinux: update keyring before packages
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:01:07 -08:00
Alexey Neyman
fc3c5437be
Merge pull request #1151 from fidomax/patch-1
Add extra mirror to libelf package
2019-02-27 10:13:26 -08:00
fidomax
6f035fc3f5
Add extra mirror to libelf package 2019-02-27 08:24:15 +03:00
Alexey Neyman
84854dc9b0
Merge pull request #1150 from stilor/patches-gcc-8.3.0
Run GCC 8.3.0 patches through manage-packages.sh -P
2019-02-25 15:55:10 -08:00
Alexey Neyman
c0844b6c88 Run GCC 8.3.0 patches through manage-packages.sh -P
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-25 15:54:20 -08:00
Alexey Neyman
5b689264dd
Merge pull request #1147 from galak/gcc-8.3.0
Update to gcc 8.3.0
2019-02-25 15:36:23 -08:00
Alexey Neyman
5bc79c34bb
Merge pull request #1144 from bwalle/expat-docbook
expat: Build without docbook
2019-02-25 15:32:10 -08:00
Alexey Neyman
3915ee47d0
Merge pull request #1148 from dimkr/static-musl
Fix musl build when CT_SHARED_LIBS=n
2019-02-25 15:31:30 -08:00
Dima Krasner
55fe8a8ba7 Fix musl build when CT_SHARED_LIBS=n
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-02-24 09:36:46 +02:00
Kumar Gala
b96a10ab5a Update to gcc 8.3.0
Had to update the following patches so they'd apply:

0006-libgfortran-missing-include.patch
0010-crystax.patch

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-02-23 11:37:15 -06:00
Alexey Neyman
2a1e0cb031
Merge pull request #1146 from stilor/rc2-fixes-3
Add a Dockerfile for Alpine Linux 3.8
2019-02-22 00:21:52 -08:00
Alexey Neyman
d40237cba4 Add a Dockerfile for Alpine Linux 3.8
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-22 00:21:14 -08:00
Alexey Neyman
abbe41a48d
Merge pull request #1145 from stilor/rc2-fixes-3
Don't enable "shared flat"
2019-02-21 21:57:58 -08:00
Alexey Neyman
49b71e71d6 Don't enable "shared flat"
... unless experimental. This unbreaks m68k-uclinux-uclibc sample which
after the recent change in uClibc.sh attempted to build a shared flat
library and failed. We were not building shared flat libraries before.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-21 21:18:37 -08:00
Bernhard Walle
d295d45b0c expat: Build without docbook
This fixes following build error on Debian 9:

   configure: error: Your local docbook2man was found to work with SGML rather
      than XML. Please install docbook2X and use variable DOCBOOK_TO_MAN to point
      configure to command docbook2x-man of docbook2X.
      Or use DOCBOOK_TO_MAN="xmlto man --skip-validation" if you have xmlto around.
      You can also configure using --without-docbook if you can do without a man
      page for xmlwf.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2019-02-20 18:34:26 +01:00
Alexey Neyman
9627a041d2
Merge pull request #1143 from stilor/rc2-fixes-2
RC2 fixes, part 2
2019-02-20 00:46:29 -08:00
Alexey Neyman
8088c6ef47 Select flat/FDPIC in accordance with ct-ng setting
uClibc-ng 1.0.31 enabled FDPIC as an option for ARM/no-MMU
configurations and defaults to that option if not set explicitly.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-20 00:43:39 -08:00
Alexey Neyman
16efa9d3e7 Add debug output to Kconfig manipulation functions
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-19 23:45:44 -08:00
Alexey Neyman
865171abc7 Stash the uClibc config after our mods
... before running `make olddefconfig`. This helps in debugging.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-19 23:39:14 -08:00
Alexey Neyman
a0249703fd Duh! do not override ${cflags}
... in the backend function with ${CFLAGS_FOR_HOST}. The caller either
supplies them already, or (in case of pass-1/2 of the canadian cross)
passes ${CFLAGS_FOR_BUILD} there.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-19 17:38:21 -08:00
Alexey Neyman
7d621cd831
Merge pull request #1142 from stilor/rc2-fixes
Fixes for regressions in 1.24.0-rc1
2019-02-18 10:22:17 -08:00
Alexey Neyman
8a61f74f38 Pick up a newer revision of elf2flt
... which includes the two local patches we have.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18 00:55:23 -08:00
Alexey Neyman
187aee1735 No longer mark newlib 3.x experimental
... they seem to have overcome the birthing pains of 3.0.0 and build is
stable.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18 00:36:26 -08:00
Alexey Neyman
d083cbea80 Move moxiebox build to post_cc
core-2 gcc does not search the final prefix now for newlib's headers.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-17 23:55:16 -08:00
Alexey Neyman
32dd66a35a Use -idirafter instead of copying headers.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-17 16:57:57 -08:00
Alexey Neyman
bf4b573089 Add sample from #985
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-17 16:57:23 -08:00
Alexey Neyman
f71d3cb1c2 Disable CXX while building glibc
Otherwise, glibc 2.29 tries to use it - but we haven't built libstdc++ yet.
We really need to implement #808... Until now, pass empty CXX to make.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-16 00:00:13 -08:00
Alexey Neyman
7217116836 Check/increase ulimit -n setting
... 2.32 ld runs out of file descriptors while linking uClibc-ng on
SuperH.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-15 18:46:39 -08:00
Alexey Neyman
d5c73fd9e6 strace 4.26 doesn't build on mips/o32
... so pick up a patch from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-15 13:39:50 -08:00
Alexey Neyman
2c6b185c41 Patch elf2flt to fix the breakage with host GCC8
... and binutils 2.32 (more headers needed).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-14 23:32:25 -08:00
Alexey Neyman
7c7eca2fab Improve error detection
... by filtering the messages that contain a *word* "warning" or
"error", i.e. is preceded by a space or is at the beginning of the line.
This improves the output from new uClibc-ng releases - which produce a
warning about an unused label, `mprot_error`.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-14 15:08:01 -08:00
Alexey Neyman
fb744d8158
Merge pull request #1140 from stilor/upgrade
Package updates
2019-02-13 23:54:06 -08:00
Alexey Neyman
91d01a0e47 Another wave of version updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 22:47:07 -08:00
Alexey Neyman
3552aa2e40 Update config.{sub,guess}
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 15:56:34 -08:00
Alexey Neyman
c47dd72602 Check if two versions conflict
by resolving to the same "relevant" portion.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 15:51:00 -08:00
Alexey Neyman
b135af0c4a
Merge pull request #1139 from stilor/master
decouple darwin/clang
2019-02-13 15:18:55 -08:00
Alexey Neyman
1a3b562c75 Check for lzip (some archives are lzipped)
Ideally, we should just skip the archives for which we don't have the
utilities; let's leave it until I convert the "trivial checks" part of
crosstool-NG.sh into a separate configure script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 14:45:07 -08:00
Alexey Neyman
841c6fc8c1 Use CFLAGS for both CFLAGS/CXXFLAGS in GDB
These config variables are documented as such anyway.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 13:42:15 -08:00