path: root/patches/gcc
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Add patches to Linaro GCCAlexey Neyman101-121/+8991
Same as the base release as long as they applied. MUSL patches didn't, removed. Also, unobsolete Linaro GCC5 now that they rolled out a new release. Signed-off-by: Alexey Neyman <>
2017-02-12Backport -fPIC patch for CygwinAlexey Neyman2-0/+208
Original patch by: Ray Donnelly <> Signed-off-by: Alexey Neyman <>
2017-02-12Add host configuration for cygwin64Alexey Neyman1-0/+11
... backported from newer GCC releases. Signed-off-by: Alexey Neyman <>
2017-01-20Merge pull request #545 from dirkvdb/masterAlexey Neyman1-0/+10
Gcc compilation fix when fortran is enabled
2017-01-18Added patch for gcc compilation error with fortran enabledDirk Vanden Boer1-0/+10
Signed-off-by: Dirk Vanden Boer <>
2017-01-18Linaro 4.9 does not have a fix for build with GCC5/6.Alexey Neyman2-0/+259
.. and 4.8 needs it, too. Signed-off-by: Alexey Neyman <>
2017-01-10Patch GCC to leave -framework alone.Alexey Neyman4-0/+56
Signed-off-by: Alexey Neyman <>
2017-01-06Remove GCC 6.2.0Alastair D'Silva20-2958/+0
Signed-off-by: Alastair D'Silva <>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva20-0/+2958
Signed-off-by: Alastair D'Silva <>
2016-12-06Backport the fix to 4.8.5.Alexey Neyman1-0/+138
4.9.4 doesn't need this, fixed upstream. Signed-off-by: Alexey Neyman <>
2016-12-01gcc: backport fix for xtensa PR target/78603Max Filippov2-0/+70
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 <>
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 <>
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 <>
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 <>
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 <>
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 <>
2016-11-18Remove 4.9.3 patch directory.Alexey Neyman20-2030/+0
Signed-off-by: Alexey Neyman <>
2016-11-18Add missing 4.9.3 patches.Alexey Neyman3-0/+175
Signed-off-by: Alexey Neyman <>
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 <>
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 <>
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 <>
2016-09-07gcc: Migrated patches from 5.3.0 to 6.1.0Yogesh Sharma8-0/+466
Signed-off-by: Yogesh Sharma <>
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 <>
2016-05-13patches/gcc: Backport fix for building gcc-5 with gcc-6Bryan Hundven1-0/+151 ...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 <>
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 <>
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: .. so we must #include <sys/select.h> for the declaration. Signed-off-by: Ray Donnelly <>
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 <>
2016-01-03gcc: Update gcc 5 to 5.3.0Bryan Hundven24-14/+29
Reported-by: Freddie Chopin <> Signed-off-by: Bryan Hundven <>
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 <>
2015-11-13gcc: add xtensa-specific patches for 5.2.0Max Filippov1-0/+64
Signed-off-by: Max Filippov <>
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 <>
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 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 <>
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 <>
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 <>
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 <>
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 <>
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/, but gcc compiles the binaries with an ELF interpreter /lib/ 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 <>
2014-07-03cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev2-0/+129
Signed-off-by: Anton Leontiev <>
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" <>
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" <>
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: and Log: 2013-11-21 Zhenqiang Chen <> PR bootstrap/57683 Backport from mainline: r197467 and r198999. 2013-04-03 Jeff Law <> * (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. 2013-05-16 Jeff Law <> * (tree-switch-conversion.o): Depend on $(OPTABS_H). Signed-off-by: "Daniel Zimmermann" <> 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" <>
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 <> Message-Id: <> 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" <> CC: Florian Fainelli <>
2012-09-19cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494Florian Fainelli1-0/+37
See, also has a serious impact on the Linux/MIPS kernel build. Signed-off-by: Florian Fainelli <>
2012-09-19cc/gcc: backport upstream patches for GCC bug 54369Florian Fainelli5-0/+225
See 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 <>