aboutsummaryrefslogtreecommitdiff
path: root/patches/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Add patches to Linaro GCCAlexey Neyman2017-02-28101-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 <stilor@att.net>
* Backport -fPIC patch for CygwinAlexey Neyman2017-02-112-0/+208
| | | | | Original patch by: Ray Donnelly <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Add host configuration for cygwin64Alexey Neyman2017-02-111-0/+11
| | | | | | ... backported from newer GCC releases. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #545 from dirkvdb/masterAlexey Neyman2017-01-191-0/+10
|\ | | | | Gcc compilation fix when fortran is enabled
| * Added patch for gcc compilation error with fortran enabledDirk Vanden Boer2017-01-181-0/+10
| | | | | | | | Signed-off-by: Dirk Vanden Boer <dirk.vdb@gmail.com>
* | Linaro 4.9 does not have a fix for build with GCC5/6.Alexey Neyman2017-01-172-0/+259
|/ | | | | | .. and 4.8 needs it, too. Signed-off-by: Alexey Neyman <stilor@att.net>
* Patch GCC to leave -framework alone.Alexey Neyman2017-01-104-0/+56
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove GCC 6.2.0Alastair D'Silva2017-01-0620-2958/+0
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Bump GCC to 6.3.0Alastair D'Silva2017-01-0620-0/+2958
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Backport the fix to 4.8.5.Alexey Neyman2016-12-051-0/+138
| | | | | | 4.9.4 doesn't need this, fixed upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
* gcc: backport fix for xtensa PR target/78603Max Filippov2016-11-302-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 <jcmvbkbc@gmail.com>
* Sync up with buildroot GCC 6.2.0 patches.Alexey Neyman2016-11-2911-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>
* gcc: backport fix for xtensa PR target/78118Max Filippov2016-11-221-0/+318
| | | | | | This fixes ICE when building libgcc for xtensa with call0 ABI. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* gcc: don't use unwind-dw2-fde-dip with xtensa-elf targetsMax Filippov2016-11-222-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>
* gcc: fix libgcc build with --text-section-literals for xtensaMax Filippov2016-11-221-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>
* gcc: fix xtensa_fallback_frame_state for call0 ABIMax Filippov2016-11-221-0/+108
| | | | | | | This allows for stack unwinding over signal frames on xtensa linux with call0 ABI. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* Remove 4.9.3 patch directory.Alexey Neyman2016-11-1720-2030/+0
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add missing 4.9.3 patches.Alexey Neyman2016-11-173-0/+175
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* add support for gcc 4.9.4Thorsten Johannvorderbrueggen2016-11-1724-0/+2193
|
* Unbreak 4.9.3.Alexey Neyman2016-11-111-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>
* Merge pull request #468 from dajamminyogesh/masterAlexey Neyman2016-11-108-0/+0
|\ | | | | gcc: Updated gcc from 6.1.0 to 6.2.0
| * gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma2016-10-318-0/+0
| | | | | | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* | Apply patch for config.gcc to support e6500 to gcc4.9.3Oliver Graff2016-09-281-0/+29
|/ | | | | | This resolves crosstool-ng/crosstool-ng#405 Signed-off-by: Oliver Graff <oliver.e.graff@gmail.com>
* gcc: Migrated patches from 5.3.0 to 6.1.0Yogesh Sharma2016-09-078-0/+466
| | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* xgcc: Update gcc 5 to 5.4.0kozyilmaz2016-08-2433-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)
* nios2: bad option reported in multilib_defaultsAlexey Neyman2016-08-231-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>
* patches/gcc: Backport fix for building gcc-5 with gcc-6Bryan Hundven2016-05-131-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>
* gcc: backport fixes that preserve FLAGS_FOR_TARGETMax Filippov2016-03-154-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>
* POSIX: Fix GCC 5+ plugin build failure on CygwinRay Donnelly2016-01-031-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>
* Cygwin + MinGW-w64: GCC 5+ plugin supportRay Donnelly2016-01-031-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>
* gcc: Update gcc 5 to 5.3.0Bryan Hundven2016-01-0224-14/+29
| | | | | Reported-by: Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: remove patches for removed gcc versionsBryan Hundven2015-11-2993-6970/+0
| | | | | | | This commit simply removes the patches for gcc versions that are no longer supported. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: add xtensa-specific patches for 5.2.0Max Filippov2015-11-131-0/+64
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* gcc: Sync patches with buildrootBryan Hundven2015-11-1258-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>
* gcc: Support only the latest branch releases of gccBryan Hundven2015-10-31539-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>
* musl-libc: backport gcc-6 musl support, add gdb and strace patchesBryan Hundven2015-10-2110-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>
* gcc/patches: fix linux-unwind.h siginfo incomplete typeBen Gardiner2015-08-251-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>
* gcc/patches: Add musl patches to gcc 5.1.0Bryan Hundven2015-06-0210-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>
* Merge pull request #32 from manni83/e500v2Bryan Hundven2015-01-133-0/+168
|\ | | | | Adding upstream patches of powerpc-e500v2-linux-gnuspe
| * cc/gcc: added upstream patches for powerpc-e500v2-linux-gnuspe.Manfred Rudigier2015-01-093-0/+168
| | | | | | | | Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
* | cc/gcc: Fix dynamic linker path for hard float libcBernhard Walle2015-01-081-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>
* cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev2014-07-032-0/+129
| | | | Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
* cc/gcc: fix the PR58595 patchYann E. MORIN"2014-04-181-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>
* cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2Yann E. MORIN"2014-04-173-0/+232
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2Daniel Zimmermann2013-11-223-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
* cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releasesYann E. MORIN"2013-05-032-0/+66
| | | | | | Bring the appropriate patches along, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add patch for 4.7.2Richard Braun2012-11-261-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
* cc/gcc: fix patches for 4.6.{0,1}Yann E. MORIN"2012-11-092-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>
* cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494Florian Fainelli2012-09-191-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>
* cc/gcc: backport upstream patches for GCC bug 54369Florian Fainelli2012-09-195-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>