Commit Graph

4042 Commits

Author SHA1 Message Date
Bryan Hundven
dc280e477d Merge branch 'master' into janitorial 2016-10-24 10:07:16 -07:00
Alexey Neyman
91575d02c4 Merge branch 'master' into static-libgcc-more-fixes 2016-10-12 11:58:28 -07:00
Alexey Neyman
339b83c393 MINGW doesn't like libmpx either.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-07 10:35:57 -07:00
Alexey Neyman
3330ad7197 Fine-tune moving gcc libraries to sysroot.
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>
2016-10-07 10:34:33 -07:00
Bryan Hundven
df5a341e59 Merge pull request #391 from stilor/uclibc-1.0.14
Upgrade uClibc-ng to 1.0.17 (1.0.18 has issues - marked experimental)
2016-10-06 10:06:02 -07:00
Alexey Neyman
1d43ed3151 Restore 1.0.17 and make 1.0.18 experimental.
1.0.18 changed the dependencies for the static libraries, notably
in libc/Makefile.in. This resulted in packing a lot of unrelated
stuff into libc.a, including (sic!) a nested .a library and stuff
from other libraries such as libdl. This results in a failure to
statically link with thus created libc.a:

.../libc.a(libdl.os):(.literal+0x74): undefined reference to `_dl_tlsdesc_return'

This was breaking xtensa-*-uclibc sample.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-05 15:23:40 -07:00
Alexey Neyman
1cb9253dd7 uClibc-ng pushes new releases faster than we merge them in!
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:48:28 -07:00
Alexey Neyman
8121be5b21 Fix m68k with uClibc-ng >= 1.0.15.
1.0.15 only kept a single LINUXTHREADS option, and renamed it, making it
no longer option-compatible with uClibc.

The option for "1.0.14 or later" version of uClibc-ng is not currently
used; rename it to "1.0.15 or later" and use it to handle newer
uClibc-ng's linuxthreads.

m68k happens to be the only sample using linuxthreads.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Alexey Neyman
03730997ae GC uClibc 1.0.14.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Alexey Neyman
2cb1b851c2 Make sparc-leon-linux-uclibc "version neutral".
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Alexey Neyman
f35c62daf0 Add uClibc-ng 1.0.17.
Also, support uClibc-ng in addToolVersion.sh

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Alexey Neyman
202ca9b7d4 Upgrade uClibc-ng to 1.0.14.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Kirill Smirnov
c7cb030fd5 Merge branch 'master' into janitorial 2016-10-05 02:59:48 +03:00
Bryan Hundven
3ec2211548 Merge pull request #451 from stilor/x86-musl
Disable libmpx in x86-musl.
2016-10-04 16:18:45 -07:00
Alexey Neyman
33fccf9838 Merge branch 'master' into x86-musl 2016-10-04 11:43:42 -07:00
Bryan Hundven
62e136d46d Merge pull request #459 from stilor/static-libgcc-link
Fix issue #449.
2016-10-04 11:21:24 -07:00
Alexey Neyman
96338beeca GCC uses multi_os_dir for libgcc, not multi_dir.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-02 18:50:41 -07:00
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