Commit Graph

3975 Commits

Author SHA1 Message Date
Alexey Neyman
75dee86653 Fix issue #449.
After building final gcc, place the libraries in non-sysroot libs
into sysroot.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-02 15:23:53 -07:00
Dmitry Pankratov
34ca68e3b0 Merge branch 'master' of https://github.com/crosstool-ng/crosstool-ng 2016-10-01 22:43:56 +02:00
Oliver Graff
8dd5462c04
Apply patch for config.gcc to support e6500 to gcc4.9.3
This resolves crosstool-ng/crosstool-ng#405

Signed-off-by: Oliver Graff <oliver.e.graff@gmail.com>
2016-09-28 14:02:14 -04:00
Alexey Neyman
651567ff90 Add a checkbox for libmpx build.
Disable libmpx for musl builds.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-09-22 17:01:43 -07:00
Kirill Smirnov
8c04681a99 Merge branch 'master' into janitorial 2016-09-23 00:56:46 +03:00
Bryan Hundven
531eab4c56 Merge pull request #454 from KirillSmirnov/disable-werror
elf2flt: do not treat warnings as errors
2016-09-22 08:33:40 -07:00
Kirill K. Smirnov
3362272d40 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>
2016-09-20 23:28:29 +03:00
Bryan Hundven
a24f06337c Merge pull request #448 from KirillSmirnov/binutils-symlinks
binutils: make symlinks in a consistent way
2016-09-17 22:18:37 -07:00
Kirill K. Smirnov
bcb6b03df9 patches: add patches for gmp
This changeset adds official patches published on gmp website.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:57:43 +03:00
Kirill K. Smirnov
5a88b7fd2a patches: remove obsolete gmp patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:16:48 +03:00
Kirill K. Smirnov
9618bc6de7 patches: remove obsolete libelf patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:10:11 +03:00
Kirill K. Smirnov
2e6a56d1cc patches: add patches for mpfr
This changeset adds official patches published on
mpfr website.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:01:42 +03:00
Kirill K. Smirnov
af1850f76f patches: remove obsolete mpfr patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 23:03:00 +03:00
Kirill K. Smirnov
d358a2e197 patches: clean up patches for strace 4.5.18
Backport patch for linux/netlink from strace 4.5.19.
Autoreconf changes.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 22:50:00 +03:00
Kirill K. Smirnov
2811011dc6 patches: cleanup patches for strace 4.5.19
Old series of patches:
1) update configure with old patch for 4.5.18
2) update configure.ac
3) update configure again, effectively reverting changes
   from 1).

Remove patch 1) and regenerate patch 3)

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 21:59:57 +03:00
Kirill K. Smirnov
01a2000898 patches: remove yet another bogus patch
The related issue has been fixed in strace 4.5.17

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 20:12:01 +03:00
Kirill K. Smirnov
341c06b3e8 patches: remove bogus patch
The related issue has been fixed in strace 4.5.15

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:40:50 +03:00
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
Kirill K. Smirnov
10972baa20 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>
2016-09-13 22:07:14 +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
f64f561e6f debug/gdb: Add comments for untrivial flags.
The necessity of --without-libexpat-prefix is not
obvious and needs comments.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-12 01:13:55 +03: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
Kirill K. Smirnov
5fd69f7652 complibs: let mingw-gcc find target companion libs
mingw-gcc searches for include and libs in <sysroot>/mingw
directory while non-mingw-gcc uses <sysroot>/usr. This patch
sets an appropriate prefix for target companion libs.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-10 03:35:53 +03:00
Kirill Smirnov
5d5465307b debug/gdb: properly link with expat
This patch fixes libexpat detection for gdb-native and
gdb-cross static builds.

For gdb-native build configure should not touch system
/usr/{lib,include} directories while looking for libexpat.
To fix this we pass --without-libexpat-prefix flag
to configure script.

For gdb-cross build configure is allowed to investigate
system /usr/{lib,include} directories, but it does not
hurt to disable this behavior. In this case configure
falls back to -lexpat, which works as expected.

For more info:
http://marc.info/?l=gnulib-bug&m=129660262901148&w=2

Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
2016-09-09 21:25:53 +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