Commit Graph

4439 Commits

Author SHA1 Message Date
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
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
Sergey Korolev
080db19355 gcc 7.2.0: fix 977-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
67b25c7094 gcc 7.2.0: fix 975-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
4e1c932f7c gcc 7.2.0: fix 973-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
64b273db83 gcc 7.2.0: fix 972-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
fd64d3775c gcc 7.2.0: fix 970-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
fbbbaac5fe gcc 7.2.0: fix 952-bionic-errno.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
c990e6814d gcc 7.2.0: fix 891-fix-m68k-uclinux.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
11c0d6871e gcc 7.2.0: fix 860-cilk-wchar.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
aee990e030 gcc 7.2.0: fix 810-arm-softfloat-libgcc.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
b5ebf71935 gcc 7.2.0: fix 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch offsets 2017-11-27 18:20:47 +03:00
Alexey Neyman
d759137c46 Align script names with the ct-ng commands
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
5495a3497b showConfig.sh no longer has anything substituted
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
f1cca2a7c2 Retire wiki-printer
It is not used anymore and is currently broken.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
63e91f4eba A few fixes for showSamples
- Use fork's name, not the master package name
- Allow to use a choice selector when printing a package
- Consider complibs always present (they are, gcc does require gmp/...)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Sergey Korolev
5e0d62fac6 scripts/showSamples.sh: support custom package versions
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-19 21:50:28 -08:00
Sergey Korolev
146c6814c9 scripts/functions: add CT_GetPkgBuildVersion
This allows to get a configured custom version of a package.

Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-19 21:50:28 -08:00
Alexey Neyman
8c581c2504
Merge pull request #868 from frantony/riscv
add RISC-V architecture support
2017-11-19 21:44:22 -08:00
Antony Pavlov
cc342748ce add a bare metal RISC-V sample
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-11-19 04:57:28 +03:00
Antony Pavlov
69c2ca97fb add RISC-V architecture support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-11-19 04:50:14 +03:00
Alexey Neyman
0b1595acf2
Merge pull request #863 from ksergeyv/master
showSamples.sh: update outdated variables
2017-11-12 11:11:36 -08:00
Sergey Korolev
a1f930bb70 showSamples.sh: fix description of a selected tool set
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-12 11:08:18 +03:00
Sergey Korolev
63ca8c75fc showSamples.sh: fix uClibc-ng detection
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-12 10:38:47 +03:00
Alexey Neyman
7a1e90c3ce
Merge pull request #862 from ksergeyv/master
use ${CT_${cc}_VERSION} to show a compiler version
2017-11-11 15:54:54 -08:00
Sergey Korolev
09151040fb use ${CT_${cc}_VERSION} to show a compiler version
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-11 23:38:13 +03:00
Alexey Neyman
521d6c1782
Merge pull request #855 from stilor/issue-770
Include Makefile.in in gettext 0.19.8.1 patch
2017-11-04 15:14:09 -07:00
Alexey Neyman
c5afabe6c8 Include Makefile.in in gettext 0.19.8.1 patch
Otherwise, make tries to rebuild it and fails.

Fixes #770.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-04 11:52:48 -07:00
Alexey Neyman
aec73d9cb8 Merge pull request #850 from stilor/upgrades
Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
2017-10-23 16:04:03 -07:00
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