summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc
Commit message (Collapse)AuthorAgeFilesLines
* gcc/binutils: Allow plugins to be enabled on cross-canadian toolchainMark Hatle2020-02-211-1/+6
| | | | | | | | | | | | | | As of GCC 8, plugin support is available with mingw. If the plugins are enabled in the regular binutils/gcc configurations, carry over that configuration with the mingw versions as well. When plugins are enabled, they produce a file called [plugin].dll.a. This causes the debugsrc processor to find the file and attempt to pull out dwarf information. However, we need to prevent this as the files are not ELF, but in Microsoft PE format, and trigger an error if processed. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw-w64/gcc: Adapt to removal of gcc-initial from OE-Core2.7_M2Richard Purdie2018-12-201-3/+0
| | | | | | OE-Core dropped gcc-initial, we can do the same for mingw. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* winpthreads: use posix threads library from mingw64Samuli Piippo2018-11-202-1/+3
| | | | | | | | | Use the winpthreads library available in the mingw64 and change the thread model from win32 to posix to get access to c++11 features. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* gcc-crosssdk: use _remove instead of oe.utils.str_filter_outRoss Burton2018-01-301-2/+1
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* gcc-crosssdk: use oe.utils.str_filter_outRoss Burton2018-01-301-1/+1
| | | | | | oe_filter_out has been removed from oe-core so use the replacement function. Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgcc: Relocate and package dll's in bindirNathan Rossi2017-04-061-1/+7
| | | | | | | | | Relocate and package the dll's provided by libgcc in bindir. It is convention that on mingw/windows dll files are installed into the bindir, this is done to avoid issues with search paths and allows for execution of binaries without the need to point at a libdir. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gcc-runtime: Drop libmpx for mingw32 runtimeJuro Bystricky2017-03-121-0/+5
| | | | | | | | Intel Memory Protection Extension library for x86 builds are now enabled by default. However, the library does not build for mingw32, so remove it from mingw builds. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* gcc-crosssdk-initial_%.bbappend:Do not configure with initfini-array enabledJuro Bystricky2017-01-131-0/+2
| | | | | | | | | | | | | Default configuration for gcc-crosssddk-initial is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise, (with SDKMACHINE=x86_64-mingw32) we will eventually encounter errors such as: Assembler messages: Error: invalid instruction suffix for `push' Error: invalid instruction suffix for `pop' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-crosssdk_%.bbappend: Do not configure with initfini-array enabled.Juro Bystricky2017-01-131-0/+3
| | | | | | | | | | | Default configuration for gcc-crosssddk is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise we will eventually encounter build error such as: multiple definition of `__do_global_dtors' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-cross-canadian: Workaround LTO failureMark Hatle2017-01-131-1/+1
| | | | | | | | | | | | | Issue: LIN8-1615 Workaround for the failure: e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin' This disables the LTO support in the compiler, but does allow things to compile and link properly. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-runtime: Drop libitm for mingw32 runtimeJuro Bystricky2016-09-281-0/+1
| | | | | | | libitm mingw build presently not supported, so don't build it. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-gcc: Add mingw32 named libraries to files listMark Hatle2016-02-011-0/+6
| | | | | | | Also we skip the staticdev sanity check, as the '.a' file should be packaged as listed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc*.bbappend: Work with 5.2.Peter Seebach2016-01-215-0/+0
| | | | | | | | | Rename the bbappends to use % so they can be used with both 4.x and 5.x. None of these changes appear to be specific to a given version of gcc. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-runtime: Drop libgomp for mingw32 runtimePeter Seebach2016-01-211-2/+2
| | | | | | | The mingw32 runtime has issues building libgomp, so drop it for now. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc: Uprev gcc and related to latest versionMark Hatle2014-07-085-0/+0
| | | | | | | Uprev gcc to match master, and resync with latest mingw runtime. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/nativesdk-mingw-w84-headers: Move symlinking to headers recipeRichard Purdie2014-05-271-8/+1
| | | | | | | | | | | The symlinking is really an artefact of the way the headers are provided. Move all the code into one place. Also have the initial compiler depend on the headers else the build can fail. High parallelism prevented the issue from being seen in most cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime: Disable libatomic, it doesn't build for mingwRichard Purdie2014-04-301-1/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Initial populationRichard Purdie2013-09-045-0/+23