Commit Graph

455 Commits

Author SHA1 Message Date
Claus Strasburger
b5dc6e6c26 backport support patch for gcc 5 to glibc 2.13 arm ports
Signed-off-by: Claus Strasburger <claus@strasburger.de>
2017-02-09 18:05:36 -08:00
Alexey Neyman
ac4a37c8c4 Revert "patches: remove obsolete glibc patches"
This partially reverts commit 429b3e8846.

Bring back the patches for glibc 2.12 and newer. Propagate/refresh
some patches as needed.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
acd6066bee Pick up upstream fixes
... including zlib fix in configure, needed to build canadian crosses
with elf2flt.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-06 12:42:10 -08:00
Alexey Neyman
46bfc8a4dc Merge pull request #575 from stilor/ncurses-configure
Allow some tunables for ncurses
2017-02-06 00:04:33 -08:00
Alexey Neyman
ee12992547 Merge pull request #576 from stilor/update-kernel-libc
Update kernel & glibc
2017-02-06 00:03:59 -08:00
Alexey Neyman
a459a33936 Merge pull request #574 from stilor/uclibc-obstack
3 unrelated uClibc changes, see individual commits
2017-02-05 20:42:02 -08:00
Alexey Neyman
e69734cb12 Add glibc 2.25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 16:10:40 -08:00
Alexey Neyman
fed6287bfa Patch elf2flt to link libz last
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:26:09 -08:00
Alexey Neyman
ef841ea312 Allow some tunables for ncurses
- Allow user to specify configure arguments to pass through to host/target
ncurses.
- Checkbox for --disable-database
- String option for --with-fallbacks

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:20:01 -08:00
Alexey Neyman
df68f203b4 Use 'make olddefconfig' in uClibc/uClibc-ng configuration
instead of 'make oldconfig' and responding 'y'. This avoids 'Broken pipe'
errors in the log, as well as selects default setting for all options not
explicitly set.

This requires a small fix in the old uClibc. Won't have to maintain that fix
for long though :)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-04 21:16:10 -08:00
Alexey Neyman
675f7bfa4e Remove previous patch to strace
GDB maintainers said, <sgidefs.h> must be provided by C library.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 13:37:52 -08:00
Alexey Neyman
0636034688 Merge pull request #562 from stilor/binutils-patch
Add binutils 2.27 patch
2017-01-26 13:34:28 -08:00
Alexey Neyman
8f267b77ae Fix glibc build with GCC5/6.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
d0569d322b Add gettext 0.19.8.1
Patches:
120 - updated to apply cleanly
140,150 - removed, now upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
4ea47dddfd Add binutils 2.27 patch
https://sourceware.org/bugzilla/show_bug.cgi?id=20531

Reported-by: Floessie
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:35 -08:00
Alexey Neyman
ee44d6c458 Fix glibc 2.23/2.24 with --enable-static-nss.
2.22 and older have more warnings that break the build.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 11:17:01 -08:00
Alexey Neyman
74741a0dc3 Add patch for init_module/delete_module
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-24 14:58:11 -08:00
Alexey Neyman
30dc7e94c9 Add UCLIBC_HAS_LFS as always-enabled.
Buildroot checks for this feature.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 14:26:19 -08:00
Alexey Neyman
39db97a30f Patch from OpenEmbedded to fix strace build
for mips-*-linux-musl. Upstream report:
https://sourceforge.net/p/strace/mailman/message/35615169/

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 23:27:46 -08:00
Alexey Neyman
dc3f68c8a5 Merge pull request #545 from dirkvdb/master
Gcc compilation fix when fortran is enabled
2017-01-19 17:13:00 -08:00
Dirk Vanden Boer
272f62285d Added patch for gcc compilation error with fortran enabled
Signed-off-by: Dirk Vanden Boer <dirk.vdb@gmail.com>
2017-01-18 19:32:03 +01:00
Alexey Neyman
725fcbe1a7 Linaro 4.9 does not have a fix for build with GCC5/6.
.. and 4.8 needs it, too.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-17 17:23:31 -08:00
Alexey Neyman
2ee46bf9a1 Propagate caddr_t patch to other glibc versions
... 2.20, 2.21, 2.22 and 2.24.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-17 00:17:00 -08:00
Alexey Neyman
ee69c76356 Merge pull request #520 from c-robert/master
Fix for Candian-Cross builds for mingw host to arm target.
2017-01-17 00:10:01 -08:00
Alexey Neyman
fb426ac912 Replace strace workaround with a patch.
The correct solution was checked in to strace GIT; will be part of the
next release. Backport patch to 4.10..4.15, and remove the workaround
from 500-strace.sh. Versions 4.9 and older should build fine even
without the workaround (they would be picking up wrong definitions,
but they need different patch and I don't feel like spending any time
on these versions).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-16 09:07:59 -08:00
Alexey Neyman
ebf82e8215 Add versions 4.11..4.15 of strace.
Versions 4.13 and older marked as obsolete.
Identify the source of the patches 007..009.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-16 09:07:19 -08:00
Alexey Neyman
2b2c496f2a Merge pull request #536 from stilor/musl-update
Musl update to 1.1.16
2017-01-16 09:01:44 -08:00
Alexey Neyman
41bdf88156 Remove patches for unsupported musl versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14 14:59:01 -08:00
Alexey Neyman
d7b313774e Add gdb 7.12.
Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch -
modify configure.ac and regenerate configure (rather than modifying
the latter directly).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
cd0da51d91 Fix xtensa after binutils upgrade.
Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1404857

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 18:30:28 -08:00
Alexey Neyman
f14c290078 Patch GCC to leave -framework alone.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:28 -08:00
C. Robert Daniels III
d0cd6b8ece Fix for Candian-Cross builds for mingw host to arm target. 2017-01-06 09:52:14 -07:00
Alastair D'Silva
e427a6408f Remove GCC 6.2.0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alastair D'Silva
36e8567167 Bump GCC to 6.3.0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alastair D'Silva
92c33fe46d Bump binutils to 2.27
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alexey Neyman
83d9e6a49a Kill dmalloc.
- No new releases in almost 10 year.
- No public bug tracker or VCS.
- No responses from maintainer over sent patches.

RIP, dmalloc.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-16 16:10:32 -08:00
Alexey Neyman
b7194db3ff Fix xtensa static link.
uClibc-ng 1.0.20 fixed static linking with "libdl" by adding all libdl functions
into the libc. On xtensa, though, libdl contains an unresolved reference that is
satisfied by the ld.so - which is not a part of the linking in a static case.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-09 15:49:38 -08:00
Alexey Neyman
25f5b82d2e Update Linux kernel patches.
3.0.9/100-headers-install-fix*.patch picked up upstream.
The Cygwin fix is needed for Cygwin on all kernel versions.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
f6ea9a68b2 Add patches for <sys/select.h> issue on Cygwin.
From gnulib´s mailing list; paths modified to match gnulib module inside
gettext.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
31e2a8776d Rename gettext 0.19.6 patches to 0.19.7.
120-*.patch needed an update; others copied verbatim.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
368398bdf4 Backport the fix to 4.8.5.
4.9.4 doesn't need this, fixed upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-05 18:38:31 -08:00
Max Filippov
bd2a376fe3 gcc: backport fix for xtensa PR target/78603
This fixes the following kind of ICE on configurations with zero
overhead loops support:

  ../src/pjlib-test/thread.c: In function 'thread_test':
  ../src/pjlib-test/thread.c:328:1: internal compiler error: in
    dwarf2out_var_location, at dwarf2out.c:21846

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-30 17:17:18 -08:00
Alexey Neyman
3285ccbd3e Sync up with buildroot GCC 6.2.0 patches.
Additionally, copy from 5.4.0:
- 910-nios2-bad-multilib-default.patch (needed for nios2 sample)
- 930-libgcc-disable-split-stack-nothreads.patch (applicable to 6.2.0 as well)

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-29 11:15:21 -08:00
Max Filippov
b55c288db9 gcc: backport fix for xtensa PR target/78118
This fixes ICE when building libgcc for xtensa with call0 ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:30 -08:00
Max Filippov
c9b2d11f54 gcc: don't use unwind-dw2-fde-dip with xtensa-elf targets
This fixes build for elf target with windowed xtensa core that currently
breaks with the following error message:

  unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:30 -08:00
Max Filippov
73b11177c2 gcc: fix libgcc build with --text-section-literals for xtensa
This fixes toolchain build with --text-section-literals, which should
normally be enabled for linux targets.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:09 -08:00
Max Filippov
fe3cca91d2 gcc: fix xtensa_fallback_frame_state for call0 ABI
This allows for stack unwinding over signal frames on xtensa linux with
call0 ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:09 -08:00
Alexey Neyman
5d4e179980 Remove 4.9.3 patch directory.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-17 17:23:53 -08:00
Alexey Neyman
1517360c6a Add missing 4.9.3 patches.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-17 17:20:48 -08:00
Thorsten Johannvorderbrueggen
18b5382e9c add support for gcc 4.9.4 2016-11-17 16:17:22 -08:00