Age | Commit message (Collapse) | Author | Files | Lines |
|
1. Check if anything was installed outside sysroot; on some [baremetal only?]
configurations GCC doesn't install anything to ${CT_PREFIX_DIR}/${CT_TARGET}/lib.
2. We need to create <sysroot>/lib/<multilib> if it doesn't exist
(MUSL only installs in <sysroot>/usr/lib).
3. Do not move the linker scripts; elf2flt expects to find them
in gcc's dir, not sysroot.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Disable libmpx in x86-musl.
|
|
|
|
Fix issue #449.
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
After building final gcc, place the libraries in non-sysroot libs
into sysroot.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Disable libmpx for musl builds.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
elf2flt: do not treat warnings as errors
|
|
elf2flt is configured with -Werror flag by default. Disable it.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
|
|
binutils: make symlinks in a consistent way
|
|
On the stage "core gcc pass-2" the following layout is created:
1) buildtools/bin/TARGET-{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip}
2) buildtools/TARGET/bin/{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip}
3) x-tools/TARGET/bin/TARGET-{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip}
4) x-tools/TARGET/TARGET/bin{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip}
where both (1) and (2) are symlinks to (3). This effectively renders
core pass-2 gcc with elf2flt linker unusable.
Related elf2flt discussion:
https://github.com/crosstool-ng/crosstool-ng/pull/443
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
|
|
duma: add SHARED_LIBS dependency for DUMA shared library option
|
|
internals: properly strip gdbserver
|
|
On mingw target gdbserver is suffixed with '.exe', thus
plain 'strip gdbserver' fails.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
|
|
gcc: Added 6.1.0 to version list
|
|
|
|
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
|
|
Fixed compile error with gcc 6.1 and glibc 2.23 involving missing parenthesis
with patch from glibc git repository, commit df1cf48777fe4cd81ad7fb09ecbe5b31432b7c1c.
Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
|
|
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
|
|
Currently the broken file is not installed when doing an non-local install.
This causes ct-ng list-samples to not notify the user that a sample is
broken. This commit triggers the creation of the broken file as needed.
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
|
|
Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
|
|
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
|
|
Fixed compile error for DUMA 2.5.15 due to different function prototypes
for new operator in c++03 vs c++11
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
|
|
added gcc-6.1.0 to version list in kconfig
Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
|
|
samples: Add powerpc64 little-endian toolchain sample
|
|
samples: Add sparc-leon-linux-uclibc sample
|
|
gcc: Update gcc 5 to 5.4.0
|
|
uClibc: improve managing shared libs
|
|
Update x86.sh
|
|
This patch synchronizes crosstool CT_SHARED_LIBS and uclibc
HAVE_SHARED options.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
|
|
This change adds native ldd and ldconfig utils to sysroot.
For glibc just 'make install' installs everything including utils.
For uclibc there exists a separate goal 'install_utils'. Make it.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
|
|
|
|
cross: Only make 'build tools' for the 'build'
|
|
Update config.guess and config.sub
|
|
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
|
|
For a cross-compiler, we only need to make the 'build tools' for the
'build'. We also build the 'build tools' for the 'host' when building a
cross-canadian toolchain.
Closes #430
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
|
|
Added additional x86 architectures, like core2, that also map to i686
|
|
patches synced with buildroot trunk and:
110-xtensa-implement-trap-pattern.patch (copied to 5.4.0 patches)
130-build_gcc-5_with_gcc-6.patch (upstreamed in 5.4.0, dropped)
370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (copied to 5.4.0 patches)
380-gcc-plugin-POSIX-include-sys-select-h.patch (copied to 5.4.0 patches)
910-nios2-bad-multilib-default.patch (copied to 5.4.0 patches)
|
|
populate: Fix undefined awk
|
|
scripts/functions: fix log level in call to CT_DoLog
|
|
Update elf2flt git repository location
|
|
Multilib support
|
|
arm-cortex_a15-linux-gnueabi was actually
arm-cortex_a15-linux-gnueabihf.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
I am running out of space when running build-all for all samples.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
No threads (uclibc/libpthread does not compile on ARMv8); no C++ (libitm
depends on pthreads), no GDB/DUMA (depend on threads).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Now, both -mabi=n32 and -mabi=64 are available as multilibs.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Based on the following samples:
- x86_64-unknown-linux-gnu (-m64/-m32/-mx32)
- powerpc64-unknown-linux-gnu (-m64/-m32)
- mipsel-unknown-linux-gnu (-mabi={32,n32,64})
- sh4-unknown-linux-gnu (-m4/-m4a)
- x86_64-unknown-linux-uclibc (-m64/-m32)
- mips64el-unknown-linux-uclibc (-mabi={32,n32,64})
New samples:
- sparc64-multilib-linux-gnu (-m64/-m32)
- sh4-multilib-linux-uclibc (-m4/-m4a/-m3)
- x86_64-multilib-linux-musl (-m64/-m32)
Notably missing is arm-unknown-linux-gnu (aprofile): GLIBC does not
compile in one of the variants in its multilib set (-march=armv4t
-mthumb) due to missing atomic ops implementation.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
multilib_defaults refers to -EL/-EB, but this target uses -mel/-meb and
does not recognize -EL/-EB.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
It turns out that core GCC on binfmt architectures (m68k, for example)
cannot produce the final executable (looks for ld.real in the wrong
place). Need to wait for the final gcc to become available.
Signed-off-by: Alexey Neyman <stilor@att.net>
|