summaryrefslogtreecommitdiff
path: root/patches/gcc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-08Convert gcc to new framework.Alexey Neyman273-24321/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-06Fix the newly added msp430 sample with other GCC versionsAlexey Neyman4-0/+216
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05New GCC releases from LinaroAlexey Neyman62-28/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-31Propagate xtensa fprintf fix to linaro versions.Alexey Neyman4-0/+294
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-31gcc: xtensa: backport fix for incorrect code generationMax Filippov5-0/+368
xtensa GCC incorrectly uses %ld/0x%lx format specifiers to output HOST_WIDE_INT values, which results in incorrect code generation by the compiler built for armhf host. The original issue: https://github.com/qca/open-ath9k-htc-firmware/issues/130 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-05-27patches: Fix gcc-linaro-6 with gcc7Kirill K. Smirnov1-0/+28
Duplicate the previous change for linaro version. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-27patches: Add patch that fixes gcc6 with gcc7Kirill K. Smirnov1-0/+28
Taken from the openembedded patchset. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-23Add patch from GCC #80037Alexey Neyman5-0/+65
Fixes #719. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Split the patch from CrystaX to separate commitsAlexey Neyman28-35140/+3100
... and edit the biggest chunk as in previous 950-bionic-android.patch. Also, drop arm_neon.h - it is a separate package, will be added separately. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Add sample Android config, gcc 6.3 patcheshyc3-0/+17647
2017-05-14Fix type mismatch in std::swap() argshyc1-0/+19
2017-05-14Fix for ctype change in NDK 14hyc1-0/+58
2017-05-14Preliminary bionic/Android supporthyc1-0/+17570
Mostly from Crystax NDK
2017-05-12Add GCC 7.1.0Alexey Neyman10-0/+356
Removed patches either picked up upstream, or no longer applicable (boehm-gc no longer part of GCC). Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
2017-02-12Backport -fPIC patch for CygwinAlexey Neyman2-0/+208
Original patch by: Ray Donnelly <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Add host configuration for cygwin64Alexey Neyman1-0/+11
... backported from newer GCC releases. Signed-off-by: Alexey Neyman <stilor@att.net>
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 <dirk.vdb@gmail.com>
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 <stilor@att.net>
2017-01-10Patch GCC to leave -framework alone.Alexey Neyman4-0/+56
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-06Remove GCC 6.2.0Alastair D'Silva20-2958/+0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva20-0/+2958
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
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 <stilor@att.net>
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 <jcmvbkbc@gmail.com>
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>