Commit Graph

3646 Commits

Author SHA1 Message Date
Kirill K. Smirnov
1ce0cabf04 patches: remove obsolete strace patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:40:28 +03:00
Kirill K. Smirnov
d59ac6c244 patches: remove obsolete ltrace patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:05:50 +03:00
Kirill K. Smirnov
456e5d9f3e patches/glibc: Backport more patches for 2.19
Fixes build with gcc 5.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 03:25:47 +03:00
Kirill K. Smirnov
415483a288 patches/glibc: Backport more patches for 2.18
These new patches fix build with make >= 4.0 and gcc 5.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 02:56:32 +03:00
Kirill K. Smirnov
d84501b980 build/glibc: Improve confusing comment
Up until cset 4e2227e8a5 there was an 'if'
statement with a comment. The abovementioned changeset removed the
conditional statement but the comment survived.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 01:31:45 +03:00
Kirill K. Smirnov
429b3e8846 patches: remove obsolete glibc patches
Glibc prior to 2.18, linuxthreads and ports are not supported.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 01:02:54 +03:00
Kirill K. Smirnov
1d28793575 patches: remove obsolete D.U.M.A. patches
User cannot choose D.U.M.A. versions prior to 2.5.15 in config,
so remove useless patches.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 22:04:09 +03:00
Kirill K. Smirnov
87088fe9b0 patches: remove cygwin
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 21:51:08 +03:00
Kirill K. Smirnov
b6a669728e patches: remove ELFkickers
The package ELFkickers has not been used for years, but the patches
remain. Remove them.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 21:18:50 +03:00
Bryan Hundven
290ae52db3 Merge pull request #441 from kozyilmaz/duma
duma: add SHARED_LIBS dependency for DUMA shared library option
2016-09-11 15:43:39 -07:00
Bryan Hundven
55dd8d4288 Merge pull request #444 from KirillSmirnov/mingw-gdbserver
internals: properly strip gdbserver
2016-09-11 15:41:39 -07:00
Kirill K. Smirnov
1a2024f96a 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>
2016-09-10 12:48:35 +03:00
Bryan Hundven
3a36f30ad7 Merge pull request #389 from dajamminyogesh/master
gcc: Added 6.1.0 to version list
2016-09-09 11:01:03 -07:00
kozyilmaz
2885b0ea2a duma: add SHARED_LIBS dependency for DUMA shared library option 2016-09-07 17:24:22 +03:00
Yogesh Sharma
4b4082785d musl: updated version to 1.1.15
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
a1b4ec3b17 glibc: fixed compile error
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>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
2bc7fc0dab sample: s390x-ibm-linux-gnu removed CT_PATCH_NONE=y
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
4d9a4f5534 samples: install "broken" file
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>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
270f1285bf sample: i686-w64-mingw32,nios2-spico-elf updated ISL
Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
0ec2166f26 gcc: Migrated patches from 5.3.0 to 6.1.0
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-07 10:15:56 -04:00
Yogesh Sharma
2f7adae8a7 duma: Fixed gcc 6.1.0 compile error
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>
2016-09-07 10:15:56 -04:00
Yogesh Sharma
a4a6f2305e gcc: Added 6.1.0 to version list
added gcc-6.1.0 to version list in kconfig

Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-09-07 10:15:56 -04:00
Bryan Hundven
1e4040e011 Merge pull request #406 from vaibhav92/powerpc64le-sample
samples: Add powerpc64 little-endian toolchain sample
2016-08-30 17:18:54 -07:00
Bryan Hundven
f881f818a7 Merge pull request #409 from KirillSmirnov/master
samples: Add sparc-leon-linux-uclibc sample
2016-08-30 17:17:56 -07:00
Bryan Hundven
3a7b513f2e Merge pull request #425 from kozyilmaz/gcc-5.4.0
gcc: Update gcc 5 to 5.4.0
2016-08-30 17:16:11 -07:00
Bryan Hundven
62331c9023 Merge pull request #435 from KirillSmirnov/uclibc
uClibc: improve managing shared libs
2016-08-30 17:12:09 -07:00
Bryan Hundven
a833c5596d Merge pull request #429 from pedronavf/patch-1
Update x86.sh
2016-08-30 17:09:50 -07:00
Kirill K. Smirnov
41cd6542a7 uClibc: propagate SHARED_LIBS option.
This patch synchronizes crosstool CT_SHARED_LIBS and uclibc
HAVE_SHARED options.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-08-30 01:54:08 +03:00
Kirill K. Smirnov
7120d81f48 uClibc: install native utils
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>
2016-08-30 01:54:08 +03:00
kozyilmaz
a73b160d49 Merge branch 'master' into gcc-5.4.0 2016-08-29 21:28:59 +03:00
Bryan Hundven
2b887e417a Merge pull request #431 from bhundven/fix_cross_build_tools
cross: Only make 'build tools' for the 'build'
2016-08-26 10:47:23 -07:00
Bryan Hundven
1696e2bbd5 Merge pull request #432 from bhundven/update_config_guess_sub
Update config.guess and config.sub
2016-08-26 08:54:46 -07:00
Bryan Hundven
effd8be643 Update config.guess and config.sub
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-08-26 08:54:13 -07:00
Bryan Hundven
a7b8cb3f58 cross: Only make 'build tools' for the 'build'
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>
2016-08-26 08:48:32 -07:00
Pedro Navarro
31c8645b37 Update x86.sh
Added additional x86 architectures, like core2, that also map to i686
2016-08-25 18:00:56 -07:00
kozyilmaz
deaa4b8ded xgcc: Update gcc 5 to 5.4.0
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)
2016-08-24 11:33:24 +03:00
Bryan Hundven
11cb2ddd43 Merge pull request #410 from jmlemetayer/fix_populate
populate: Fix undefined awk
2016-08-23 14:26:16 -07:00
Bryan Hundven
b18469054d Merge pull request #422 from datacom-teracom/master
scripts/functions: fix log level in call to CT_DoLog
2016-08-23 14:25:48 -07:00
Bryan Hundven
19fdf86ab6 Merge pull request #402 from lundmar/fix_elf2flt_repo
Update elf2flt git repository location
2016-08-23 14:25:22 -07:00
Bryan Hundven
8a4870c2f8 Merge pull request #383 from stilor/multilib
Multilib support
2016-08-23 14:14:35 -07:00
Alexey Neyman
b7ef2697ca Rename sample to match the 'saveconfig' location.
arm-cortex_a15-linux-gnueabi was actually
arm-cortex_a15-linux-gnueabihf.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Alexey Neyman
017ff08d61 build-all: Remove successful build trees.
I am running out of space when running build-all for all samples.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Alexey Neyman
7d8f85e6af arm-multilib-linux-uclibcgnueabi: Add.
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>
2016-08-23 11:00:27 -07:00
Alexey Neyman
667898fc44 mips64el-*-linux-uclibc: Remove.
Now, both -mabi=n32 and -mabi=64 are available as multilibs.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Alexey Neyman
e30e370800 Create multilib configurations based on certain *-linux-* samples.
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>
2016-08-23 11:00:27 -07:00
Alexey Neyman
509cd85b12 nios2: bad option reported in multilib_defaults
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>
2016-08-23 11:00:27 -07:00
Alexey Neyman
d2af095eb2 musl: Add multilib support.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Alexey Neyman
49d1d8f513 uClibc: move ldso check to post_cc.
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>
2016-08-23 11:00:27 -07:00
Alexey Neyman
98e556d386 Support multilib in sh/uClibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Alexey Neyman
258394c19f Treat multiroots differently.
'ld' does not search for dependency libraries in multi_os_directory, so
if there's both multi_os_directory and multi_root, and there is only one
configuration in each multi_root, forgo the multi_os_directory suffix.

Needed for sh4-multilib-linux-uclibc.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00