Age | Commit message (Collapse) | Author | Files | Lines |
|
... because GCC prints the sysroot with symlinks resolved.
Fixes #892.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... which, after a recent change, is not reflected into CT_ALL_TARGET_CFLAGS
for non-multilib configurations.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... in the default implementation of the fetch/extract methods.
Fixes #1116.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... so that ar can find the plugin even when invoked directly, not
via the gcc-ar plugin.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... parts of the config tuple. While here, remove parts that are
setting portions of the target tuple to a value that's already
the default.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
It only applied to core-pass-2 compiler; final compiler can locate
the linker script just fine.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... until it was fixed (to some extent) in 2.25.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #1107.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... in uClibc and glibc.
Fixes #681.
While here, relocate additional "sources" for uClibc/binutils into packages/
directory.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #656.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
as that defaults to i386, which will fail with glibc (and likely other
libcs).
Fixes #617.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Broken because of the capitalization of the name.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.
Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.
Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
and a moxie-unknown-elf target (which is what #1088 apparently wanted).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
(needed for cross-gdb targeting the moxie-* targets)
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
|
|
Use the platform headers in the pass-2 and canadian gcc stages
|
|
... and use that ability to permanently set CTNG_LD_IS in case gold is default linker
and we're building glibc.
Fixes #988. This was a long-standing breakage in crosstool-NG (at least since it began
to run each step in a sub-shell).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fixes #1018.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... as 1.0 and 99.99, respectively, to gcc configure.
Fixes #1031.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... so that it works in both "bundled" and "bundled,local" cases.
Fixes #1060.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... so that autotools-based packages do not re-run autoconf/autoheader/automake.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
There is a subtle difference when executable bit is a part of the umask.
And at least some versions (Debian/stretch) fail if the resulting mode
would've been different if not for the umask setting.
Fixes #998.
Although, with such chmods/umasks it is likely that some package installation
will break anyway. But I'll leave it until somebody complains.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Properly handle newlib configuration flags
|
|
Modify CT_TARGET_CFLAGS (which are passed to GCC's FOR_TARGET flags) rather
than CT_ALL_TARGET_CFLAGS.
Fixes #1006.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fix a wrong name for the newlib's multilib option
|
|
|
|
|
|
|
|
They're written in ARM dialect, and `ldmia r14, {r14, pc}` is not accepted in T2
encoding. GCC8 changed the list of multilibs for arm-*, which now includes a
variant with CPU that supports T2 but not A1 encoding.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... as it may need to override them for building runtime-selectable code.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
In case we build for ARC core which has no support of atomic ops among
other things we need to configure libc to use Linux kernel helper to emulate
HS atomic ops. This is done with disabling of CONFIG_ARC_HAS_ATOMICS in uClibc.
Currently we __remove__ this option from .config but this makes no sense as
its default state is "y" so we need to explicitly disable it instead.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
|
Fix building older glibc
|
|
Synopsys' DesignWare ARC Processors are a family of 32-bit CPUs
that SoC designers can optimize for a wide range of uses,
from deeply embedded to high-performance host applications in a variety
of market segments.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
|
... so instead, disable -Werror for older versions of glibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- Incompatible function type for ifunc alias
- Multiple statements macro expansion in strftime
- if_nametoindex size checking
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
(whether GDB has --disable-build-with-cxx) and use it.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... in the corresponding /lib directory. Mingw-w64 installs it to /bin,
so multiple variants in a multilib configuration override each other.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... which now defaults to --enable-mpers=yes, which attempts to
invoke aarch64-*-gcc with -m32 and fails.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- 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>
|
|
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>
|
|
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>
|