Commit Graph

4996 Commits

Author SHA1 Message Date
Max Filippov
4f360146eb Fix uClibc build for noMMU target
uclibc_backend_once tries to build dummy shared libraries regardless of
whether shared libraries support for target is enabled or not, resulting
in build failure in noMMU bFLT configuration.
Only build dummy shared libraries when shared library support for target
is enabled.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2019-03-23 11:09:45 -07:00
Max Filippov
f8ed7002c6 Add support for noMMU xtensa
scripts/build/kernel/linux.sh only provides suffix to known
architectures when building toolchain targeting noMMU linux.
Add support for xtensa and assign uclinux suffix to it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2019-03-23 11:09:43 -07:00
Alexey Neyman
5e82ca9e3d Only build libinproctrace for *-linux-gnu targets
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-20 17:40:33 -07:00
Alexey Neyman
4a0a490811 Use explicit revision in xtensa-fsf-elf
So that the build does not depend on internet connectivity.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-20 17:24:03 -07:00
Palmer Dabbelt
7ba6097629
riscv64-unknown-linux-gnu: Add C++ Support
We've had very solid support for C++ for quite a while now in RISC-V
land, at least in our Linux targets.  This patch set enables C++ support
by default, which I assume most users will want.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-03-20 01:47:32 -07:00
Alexey Neyman
89ba62fb1d
Merge pull request #1163 from stilor/docker-fixes
Fix build on CentOS6/7
2019-03-17 11:37:43 -07:00
Alexey Neyman
e4475c33df Install python3 in Mint
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-17 11:28:54 -07:00
Alexey Neyman
3be2ba2f0d Install python3 on Fedora29
GDB doesn't accept older 2.x as a valid choice.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15 12:14:53 -07:00
Alexey Neyman
48489ebb9d Note the experimental status of Alpine
I don't have the time to fix all the various breakages it shows.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15 12:13:42 -07:00
Alexey Neyman
b9e3a7de9c Use fedora29 as a reference
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 23:57:17 -07:00
Alexey Neyman
11f86e8b56 Reapply b34137
... which fixes <panel.h> detection on Alpine Linux (which has ncursesw
but installs it into plain /usr/include).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 18:25:32 -07:00
Alexey Neyman
cbd9af9ac9 event-loop.h is included via other paths, too
... so instead add an include guard.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 12:06:34 -07:00
Alexey Neyman
8b8e6b4e5d Remove "event-loop.h" inclusion from "top.h"
Older GCCs (e.g. GCC 4.4 in CentOS 6) chokes on having two identical
typedefs like this:

typedef void *p;
typedef void *p;

The event-loop.h header does not have a guard against double-inclusion.
Not the best solution, but it works and eventually 7.12 will fall into
obsolescence anyway.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-13 23:56:12 -07:00
Alexey Neyman
a75a770595 Make the proc_service.h workaround apply to gdbserver
... when it is compiled without the native GDB.

Also, fix the gdbserver to be installed without a program prefix in this
case, as it was before the unification of the GDB backend.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-12 23:08:58 -07:00
Alexey Neyman
de36f78f89 Allow older GDB to build against newer glibc
Also, fix the subdir used when only gdbserver is built (without native
GDB).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-11 00:33:22 -07:00
Alexey Neyman
5332f480e4 Update the samples to v3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-09 19:42:34 -08:00
Alexey Neyman
1e25ebc7e0 Move GDB build into a common backend function
... needed to create a common runtime test for an incompatible change
in glibc API.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-09 18:01:30 -08:00
Alexey Neyman
32af07341d GDB 7.12.1 fails to build in certain configurations
... for which we pick up a patch from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-06 00:51:36 -08:00
Alexey Neyman
4ddad7b34f CentOS6 cannot use newer GDB releases
... unless one retrofits it with a decent compiler instead of stock
GCC 4.4.

While here, sync up the ax_*.m4 with autoconf-archive.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-05 00:48:31 -08:00
Alexey Neyman
b3cce054ef Meet our new companion tool, bison
Which is here courtesy of CentOS6, which only has bison 2.4 - while new
glibc requires 2.7.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04 00:22:02 -08:00
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