Commit Graph

4624 Commits

Author SHA1 Message Date
Alexey Neyman
ead247591d
Merge pull request #914 from stilor/msp430-fix
Backport GCC fix for partial int modes
2018-02-15 09:15:47 -08:00
Alexey Neyman
b2af5df5fc Backport GCC fix for partial int modes
... from trunk to GCC7/GCC6/GCC5.

Fixes #742.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-15 09:15:00 -08:00
M1cha
ea702af5c3 cc/gcc: use correct sysroot arg for do_gcc_core_backend
This fixes gccs LIMITS_H_TEST detection for baremetal targets
so limits.h will be installed correctly.

Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
2018-02-12 07:45:54 +01:00
Alexey Neyman
f97b3e38ee
Merge pull request #911 from stilor/uclibc-no-name-to-handle-at
uClibc-ng does not implement name_to_handle_at
2018-02-11 12:36:10 -08:00
Alexey Neyman
0a7ce2bed4 uClibc-ng does not implement name_to_handle_at
... so don't declare it, it confuses (at least) eudev's configure.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-11 12:18:16 -08:00
Alexey Neyman
9e8a2b295d
Merge pull request #910 from stilor/uclibc-no-rpc
uClibc-ng: configurability enhancements
2018-02-10 15:04:35 -08:00
Alexey Neyman
a20c29dcef Make libiconv an option in the menu config
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 14:51:45 -08:00
Alexey Neyman
89fdeb9af2 uClibc-ng retired RPC support as of 1.0.23
... make the corresponding option conditional.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 12:11:14 -08:00
Alexey Neyman
a3e1adbe71
Merge pull request #909 from stilor/make-defconfig-phony
Make defconfig (and a bunch of other targets) phony
2018-02-09 22:44:37 -08:00
Alexey Neyman
a624244b15 Make defconfig (and a bunch of other targets) phony
Otherwise, a file named `defconfig` (which is, ironically, the default name
for the default config expected by this very makefile) prevents the defconfig
target from being run.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-09 22:38:37 -08:00
Alexey Neyman
04d910b826
Merge pull request #907 from bhundven/update_kconfig_4_15
Sync kconfig files with upstream 4.15
2018-02-04 23:26:28 -08:00
Alexey Neyman
dfcb5fe3c1
Merge pull request #908 from stilor/upgrade2
Bring in GDB 8.1 and glibc 2.27.
2018-02-04 17:31:20 -08:00
Alexey Neyman
79b100707b Bring in GDB 8.1 and glibc 2.27.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-03 12:05:29 -08:00
Alexey Neyman
fd9fe523b2
Merge pull request #904 from stilor/upgrade
A bunch of upgrades
2018-02-01 22:16:05 -08:00
Bryan Hundven
59b08f8d06 Sync kconfig files with upstream 4.15
Last updated with 4.9-rc7.
This commit introduces the following upstream changes:

9059a3493efe kconfig: fix relational operators for bool and tristate symbols
88127dae6ed9 kconfig/symbol.c: use correct pointer type argument for sizeof
b24413180f56 License cleanup: add SPDX GPL-2.0 license identifier to files with no license
bb3290d91695 Remove gperf usage from toolchain
ad8181060788 kconfig: fix sparse warnings in nconfig
ff85a1a80e00 kconfig: Check for libncurses before menuconfig
9be3213b14d4 gconfig: remove misleading parentheses around a condition
83c3a1bad224 xconfig: fix missing suboption and help panels on first run
e039303ff71a xconfig: fix 'Show Debug' functionality
79e51b5c2dee kconfig/nconf: Fix hang when editing symbol with a long prompt
0eb47346968f Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning
237e3ad0f195 Kconfig: Introduce the "imply" keyword

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2018-01-31 16:39:45 -08:00
Alexey Neyman
36bb675a71 More fixes after the upgrades:
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix
  relies on binutils 2.24 or newer, which is okay for glibc 2.26 since
  it needs 2.25 or newer anyway. But older glibc versions are now pinned
  to binutils 2.29 or older on aarch64.
- xtensa needs patches in libgcc with gcc 7.3.
- comment in newlib's patch to indicate it is a reversal of a commit.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30 15:08:18 -08:00
Alexey Neyman
1c329c33bf Ncurses fixes for 6.1
- Update to 20180129
- Throw in --disable-db-install if database is disabled; otherwise
  'make install' tries to run tic which is not built.
- Select appropriate strip utility for the host; otherwise non-x86
  architectures fail to install (unless --disable-stripping is also
  added)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29 22:47:26 -08:00
Alexey Neyman
30d741c1e5 Newlib 3.0.0 seems to be a very broken release
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29 00:43:36 -08:00
Alexey Neyman
c3591a5ca4 Newlib developers should at least try to compile it
... before publishing a release.
2018-01-28 22:02:53 -08:00
Alexey Neyman
66ad1ff514 Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng

MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.

Also correct MPC URLs, the website seems to have adjusted its directory
layout.

Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-28 19:25:47 -08:00
Alexey Neyman
ba165ed4c0
Merge pull request #900 from stilor/issue-897
Only decorate TARGET_ARCH if using specific CPU
2018-01-24 23:18:05 -08:00
Alexey Neyman
b355005f56
Merge pull request #899 from franzflasch/master
riscv: Add ARCH_SUPPORTS_WITH_ABI and ARCH_SUPPORTS_WITH_ARCH
2018-01-23 09:01:44 -08:00
Franz Flasch
c8c9249659 Added vendor string for riscv32-hifive1-elf 2018-01-22 15:26:28 +01:00
Franz Flasch
8c74cdf9dc Added sample for riscv-hifive1 board
Signed-off-by: Franz Flasch <ffl@mission-embedded.com>
2018-01-22 14:16:27 +01:00
Alexey Neyman
7c720ae394 Only decorate TARGET_ARCH if using specific CPU
Otherwise, binutils don't recognize it as a valid target - even though
GCC does.

Fixes #897.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-21 19:45:13 -08:00
Alexey Neyman
59e52b2813
Merge pull request #895 from upsuper/patch-1
Use /usr/bin/env to locate bash
2018-01-20 11:32:44 -08:00
Franz Flasch
ff75c69df0 Add ARCH_SUPPORTS_WITH_ABI and ARCH_SUPPORTS_WITH_ARCH for riscv targets
Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
2018-01-19 19:07:15 +01:00
Xidorn Quan
0ea428bab5
Use /usr/bin/env to locate bash
On some systems (e.g. macOS), the bash provided by the system at `/bin/bash` is not new enough for the bootstrap script, while users may install a bash instance elsewhere. In that case, `/usr/bin/env` can get the bash in the current environment.
2018-01-06 12:35:33 +11:00
Alexey Neyman
adaa3a5d8b
Merge pull request #885 from ksergeyv/master
Fix gdb build flags forming
2017-12-17 22:47:35 -08:00
Sergey Korolev
6c9027b401 Fix gdb build flags forming
Build flags are scalar variables.

Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-18 02:35:58 +03:00
Alexey Neyman
37caa3d4d7
Merge pull request #882 from ksergeyv/gdb-link
Fix variables passing to gdb configure scripts
2017-12-17 11:42:07 -08:00
Alexey Neyman
f2db6bff7c
Merge pull request #884 from stilor/todo-update
Merge a local TODO list
2017-12-17 11:41:48 -08:00
Alexey Neyman
595daa6fb8 Merge a local TODO list
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-17 11:40:55 -08:00
Alexey Neyman
4088f4852c
Merge pull request #881 from ksergeyv/master
Do not build a native gdbserver automatically
2017-12-16 11:32:02 -08:00
Sergey Korolev
70a1584e15 Fix variables passing to gdb configure scripts
These changes mainly fix static linking errors when building static
native gdb and gdbserver (tested with gcc 7.2.0 + uClibc-ng 1.0.27 +
binutils 2.29.1 for MIPS):

[ALL  ]    .../lib/libstdc++.a(eh_throw.o): In function `__cxa_throw':
[ALL  ]    (.text.__cxa_throw+0x64): undefined reference to `_Unwind_RaiseException'
[ALL  ]    (.text.__cxa_throw+0x6c): undefined reference to `_Unwind_RaiseException'
[ALL  ]    .../lib/libstdc++.a(eh_throw.o): In function `__cxa_rethrow':
[ALL  ]    (.text.__cxa_rethrow+0x78): undefined reference to `_Unwind_Resume_or_Rethrow'
[ALL  ]    (.text.__cxa_rethrow+0x80): undefined reference to `_Unwind_Resume_or_Rethrow'
...

The problem is in mixing of CPP, CC, CXX, and LD with CPPFLAGS, CFLAGS,
CXXFLAGS, and LDFLAGS before passing to configure scripts.
gcc is sensitive to argument order and the scripts are normally responsible
to combine the variables in a proper way.

Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-14 22:55:43 +03:00
Sergey Korolev
1de8f5e98b Do not build a native gdbserver automatically
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-14 00:09:36 +03:00
Alexey Neyman
01e329051e
Merge pull request #877 from stilor/uclibc-2
More uClibc fixes from upstream
2017-12-05 07:39:02 -08:00
Alexey Neyman
6509c67082 More uClibc fixes from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:35:16 -08:00
Alexey Neyman
b8f36af460
Merge pull request #876 from stilor/uclibc-link-fail
Uclibc link fail
2017-12-05 01:14:47 -08:00
Alexey Neyman
bfd5a9b6ba Add a summary of the operations
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:09:56 -08:00
Alexey Neyman
a40d63cb04 Pick up linking fix from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:09:40 -08:00
Alexey Neyman
891f90d2a5
Merge pull request #875 from stilor/updates
Bunch of upgrades: android-ndk, expat, gcc-linaro, ...
2017-12-03 09:23:51 -08:00
Alexey Neyman
9d5da1886a Bunch of upgrades: android-ndk, expat, gcc-linaro, ...
... mingw-w64, musl, strace, uClibc-ng, linux.

Also, regenerate chksum's after @bhundven's upgrade of binutils.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-03 09:20:23 -08:00
Alexey Neyman
d917a29865
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
2017-12-02 15:30:38 -08:00
Alexey Neyman
98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00
Alexey Neyman
2a1935f3ad Retire old scripts for handling patches
Also rename test-packages -> manage-packages, it is no longer just testing.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:23:31 -08:00
Alexey Neyman
723a97fdd3 Add an ability to refresh/renumber patches
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:21:27 -08:00
Alexey Neyman
e832b9b220
Merge pull request #869 from stilor/show-samples
Support custom packages in show-config
2017-11-29 23:54:11 -08:00
Alexey Neyman
9fdb93cce0 Make comp.libs use generated templates, too
This allows us to include the component-to-package relation in the
generated kconfig files and make use of that information in the
show-config.sh script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-29 23:44:49 -08:00
Alexey Neyman
1b8d0d2138
Merge pull request #871 from ksergeyv/gcc-patches
fix offsets of gcc 7.2.0 patches
2017-11-28 22:02:01 -08:00