Age | Commit message (Collapse) | Author | Files | Lines |
|
Build flags are scalar variables.
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
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>
|
|
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
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>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
It is not used anymore and is currently broken.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- 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>
|
|
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
This allows to get a configured custom version of a package.
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
|
|
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
|
|
... as 'tar' does not follow symlink, rather creating a new directory instead.
Fixes #846.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Instead, use new variable ${pkg_dir} to locate auxiliary files.
Fixes #838.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... 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>
|
|
... in favor of its alias, DESTDIR. Before, it supported both.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
Fixes #611.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- 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>
|
|
Also, preserve .config when running test-package.sh.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
Then use this script to check that all packages can be extracted and patched.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... and limit our modifications to our variables.
Fixes #762.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... which also lead to cryptic failures.
Fixed #743.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, save/restore per-target source directory.
Fixes #800.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #789
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, missed upgrades of gmp, isl, mingw-w64
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Regressions
|
|
Fixes #782.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #788.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Tarball extensions list already contains leading dot,
do not add another one.
Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
|
|
Also, change the name for uClibc config to be version-agnostic,
the version changes too fast.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
In case there is a "patchlevel" suffix.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #779.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #777
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
They are unpacked properly, but fail during build.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, remove resolved TBDs.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... because there the symbols were constructer part by part.
Also, remove cc.sh and source $(CT_CC).sh directly - we only build
a single compiler at a time.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, add a poor man's upgrade script.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
It fails to compile with the only locale version available (030818)
(on master too, with exactly the same error).
uClibc-ng does not use pregenerated locales.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Does not build, though.
Signed-off-by: Alexey Neyman <stilor@att.net>
|