summaryrefslogtreecommitdiff
path: root/patches/gcc
AgeCommit message (Collapse)AuthorFilesLines
2016-11-29Sync up with buildroot GCC 6.2.0 patches.Alexey Neyman11-166/+2243
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-22gcc: backport fix for xtensa PR target/78118Max Filippov1-0/+318
This fixes ICE when building libgcc for xtensa with call0 ABI. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22gcc: don't use unwind-dw2-fde-dip with xtensa-elf targetsMax Filippov2-0/+124
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-22gcc: fix libgcc build with --text-section-literals for xtensaMax Filippov1-0/+67
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-22gcc: fix xtensa_fallback_frame_state for call0 ABIMax Filippov1-0/+108
This allows for stack unwinding over signal frames on xtensa linux with call0 ABI. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-18Remove 4.9.3 patch directory.Alexey Neyman20-2030/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-18Add missing 4.9.3 patches.Alexey Neyman3-0/+175
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-18add support for gcc 4.9.4Thorsten Johannvorderbrueggen24-0/+2193
2016-11-11Unbreak 4.9.3.Alexey Neyman1-1/+1
The patch provided by the original submitter did not apply cleanly to 4.9.3; had a fuzz 2. We only allow fuzz 1. Fix up the patch. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-11Merge pull request #468 from dajamminyogesh/masterAlexey Neyman8-0/+0
gcc: Updated gcc from 6.1.0 to 6.2.0
2016-10-31gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma8-0/+0
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-28Apply patch for config.gcc to support e6500 to gcc4.9.3Oliver Graff1-0/+29
This resolves crosstool-ng/crosstool-ng#405 Signed-off-by: Oliver Graff <oliver.e.graff@gmail.com>
2016-09-07gcc: Migrated patches from 5.3.0 to 6.1.0Yogesh Sharma8-0/+466
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-08-24xgcc: Update gcc 5 to 5.4.0kozyilmaz33-151/+264
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-23nios2: bad option reported in multilib_defaultsAlexey Neyman1-0/+28
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-05-13patches/gcc: Backport fix for building gcc-5 with gcc-6Bryan Hundven1-0/+151
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 ...was observed while trying to build gcc-5.3.0 on latest (at the time of this change) archlinux using gcc-6.1.1. This patch fixes the issue. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-03-15gcc: backport fixes that preserve FLAGS_FOR_TARGETMax Filippov4-0/+106
CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET are rewritten in gcc-4.8.x and gcc-4.9.x, so libstdc++ does not get any flags passed to gcc configure. Backport fixes for config/mt-gnu and config/mt-ospace that preserve these flags. With these fixes libstdc++ gets built with flags specified in CT_TARGET_CFLAGS. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-01-03POSIX: Fix GCC 5+ plugin build failure on CygwinRay Donnelly1-0/+11
Cygwin follows POSIX IEEE Std 1003.1, 2004 Edition spec for the select() fuction as described at: http://pubs.opengroup.org/onlinepubs/009695399/functions/pselect.html .. so we must #include <sys/select.h> for the declaration. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2016-01-03Cygwin + MinGW-w64: GCC 5+ plugin supportRay Donnelly1-0/+160
Define PICFLAG, UNDEFINEDPREAMBLE and UNDEFINEDCODE to nothing since Windows doesn't have -fPIC (GCC warns) and can't handle undefined variable references (which are not needed anyway). Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2016-01-03gcc: Update gcc 5 to 5.3.0Bryan Hundven24-14/+29
Reported-by: Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-30gcc: remove patches for removed gcc versionsBryan Hundven93-6970/+0
This commit simply removes the patches for gcc versions that are no longer supported. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13gcc: add xtensa-specific patches for 5.2.0Max Filippov1-0/+64
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-13gcc: Sync patches with buildrootBryan Hundven58-112/+5062
This commit sync gcc patches with buildroot. I found this useful for fixing a few uClibc related issues. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-31gcc: Support only the latest branch releases of gccBryan Hundven539-78749/+0
This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-22musl-libc: backport gcc-6 musl support, add gdb and strace patchesBryan Hundven10-0/+825
This gets gcc and friends working with musl-libc. GDB and Strace patches come from openwrt. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-08-25gcc/patches: fix linux-unwind.h siginfo incomplete typeBen Gardiner1-0/+112
This changeset fixes an 'incomplete type struct siginfo' error when attempting to build gcc-4.5.3 for mipsel. Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>
2015-06-02gcc/patches: Add musl patches to gcc 5.1.0Bryan Hundven10-0/+825
This commit adds new musl patches from gcc-6 (in development) to gcc-5.1.0. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-01-14Merge pull request #32 from manni83/e500v2Bryan Hundven3-0/+168
Adding upstream patches of powerpc-e500v2-linux-gnuspe
2015-01-09cc/gcc: added upstream patches for powerpc-e500v2-linux-gnuspe.Manfred Rudigier3-0/+168
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
2015-01-09cc/gcc: Fix dynamic linker path for hard float libcBernhard Walle1-0/+44
When compiling glibc 2.16 and gcc 4.7.4 with CT_ARCH_FLOAT="hard", I end up in a dynamic linker called /lib/ld-linux-armhf.so.3, but gcc compiles the binaries with an ELF interpreter /lib/ld-linux.so.3. That doesn't work. This patch (which is included in recent gcc version and also is included in Linaro 4.7 versions) fixes the problem. I just stripped the ChangeLog diff from the original commit. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2014-07-03cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev2-0/+129
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-04-18cc/gcc: fix the PR58595 patchYann E. MORIN"1-1/+1
It applies manually with fuzz 2, but ct-ng does not accept any fuxx at all. So, re-diff the patch so it applies cleanly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-04-17cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2Yann E. MORIN"3-0/+232
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-21cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2Daniel Zimmermann3-0/+78
Fix the problem with parallel build on gcc 4.8.0, 4.8.1 and 4.8.2 See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683 and http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev Log: 2013-11-21 Zhenqiang Chen <zhenqiang.chen@linaro.org> PR bootstrap/57683 Backport from mainline: r197467 and r198999. 2013-04-03 Jeff Law <law@redhat.com> * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. 2013-05-16 Jeff Law <law@redhat.com> * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com> Message-Id: <66398633eea949023e0d.1385290839@haus-VirtualBox> Patchwork-Id: 293742
2013-05-03cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releasesYann E. MORIN"2-0/+66
Bring the appropriate patches along, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-26cc/gcc: add patch for 4.7.2Richard Braun1-0/+27
This patch fixes compilation of gcc when C++ is enabled and MMX is available, but not SSE/SSE2/AVX. Signed-off-by: Richard Braun <rbraun@sceen.net> Message-Id: <20121126105642.GA12098@mail.sceen.net> Patchwork-Id: 201648
2012-11-09cc/gcc: fix patches for 4.6.{0,1}Yann E. MORIN"2-30/+6
Remove the sparc part, as it touches code that does not exist in those versions of gcc (it was added at 4.6.2). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> CC: Florian Fainelli <f.fainelli@gmail.com>
2012-09-19cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494Florian Fainelli1-0/+37
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494, also has a serious impact on the Linux/MIPS kernel build. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-09-19cc/gcc: backport upstream patches for GCC bug 54369Florian Fainelli5-0/+225
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more information This bug has a serious effect on Linux/MIPS and SPARC kernel builds. Add the fix for these versions of gcc: 4.6.0, 4.6.2, 4.6.3, and 4.7.0. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-03-23cc/gc: add update 4.4.7Yann E. MORIN"32-0/+1118
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: propagate patchset from 4.4.6] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-23cc/gcc: add gcc-4.7.0Yann E. MORIN"1-0/+91
Add the new release gcc-4.7.0. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: add 4.7.0 patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-03cc/gcc: forward-port patch to new versionsYann E. MORIN"2-0/+78
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2011-08-31cc/gcc: libgcc_eh.a may be required, even from the stage-1 compilerYann E. MORIN"24-0/+901
Building uClibc with libubacktrace requires libgcc_eh.a to be available, but gcc does not build it unless it is configured to generate shared libs. However, libgcc_eh.a does not *require* shared libs support, as it is a static library. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12cc/gcc: propagate 4.5.2 patchset to 4.5.3Yann E. MORIN"1-0/+13
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-02cc/gcc: propagate 4.3.5 patchset to 4.3.6Yann E. MORIN"30-0/+1348
They applied cleanly with only offsets Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-16cc/gcc: add latest versionYann E. MORIN"31-0/+1079
Propagate the gcc-4.4.5 patchset to the newly added gcc-4.4.6. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-30cc/gcc: fix building of ecjxYann E. MORIN"3-0/+39
When building ecjx, the compiler for the build system must be used, not for the compiler for the host system. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-13cc/gcc: fix pr42289: incorrect alignment on OABIYann E. MORIN"7-0/+77
Fix building libffi on OABI. Although it has been marked as 4.3-only, it is stil not fixed, and also applies to 4.4.x See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-13cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildrootYann E. MORIN"6-0/+228
Reported-by: M P <buserror@gmail.com> [Yann E. MORIN: add the patch to other 4.4.x] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-09cc/gcc: add 4.4.5Yann E. MORIN"29-0/+1030
Add 4.4.5, propagate patchset from 4.4.4. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>