| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The append is a single line mingw specific change which can be generic,
not version specific.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
| |
GCC-14 promoted this warning into error by default but code does not
build cleanly and now this warning becomes a hard error. Work around
it for now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
| |
Drop GCC-14 related backport, its not needed anymore
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This disables C++ 20 modules since c++-tools are
needed for that feature to work, this is therefore
an intermediate fix until we fix the c++-tools build
issue which seems to related to it asking for pic
version of libiberty.a which is not generated separately
on x86 unlike other architectures because defaults are
PIC already
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
|
| |
-Wincompatible-pointer-types
This pops up with gcc trunk
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
| |
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
| |
binutils 2.38 brings up a parallel build issue, work it out by disabling
parallel build for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
|
|
| |
Drop upstreamed fixes for rdtsc [1] __udivmoddi4[2]
[1] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/6a0e9165008f731bccadfc41a59719cf7c8efc02/
[2] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/ab0fa5ad3c67d634fd7754d9473d1bb7051f9bf0/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
| |
this is new plugin added in binutils 2.36
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
| |
Fix a coupld of mis-converted lines from the automated override
conversion script.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
|
| |
This converts the layer to the new override syntax. This was done using
<oe-core>/scripts/contrib/convert-overrides.py <this-layer>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
| |
Disables debuginfod when using MingGW. This feature brings in
unbuildable dependencies and can't be used.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
| |
Fixes build with gcc 11+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
| |
When building the nativesdk for mingw we need to set GOROOT in order to build
anything out of the box.
Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
| |
bash-completion pulls in ncurses which does not build for mingw.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set SDK_VENDOR to '-w64', which makes the host triplet match what GCC
expect to find when using mingw32-w64. This enables features that are
not functional in the classic mingw32, but have been implemented in the
mingw32-w64.
Disable 32bit libs from the runtime component when compiling for 64bit,
which were enabled as a side effect of the GCC config change.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
| |
Now that cmake.bbclass in OE-core correctly accounts for MinGW hosts, it
is no longer necessary to manually specify that CMAKE_SYSTEM_NAME as
"Windows"
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
| |
gdb was configured to statically link, presumably so it could find the
static libexpat library. Since libexpat has been updated, it no longer
builds a static library, so remove the flag to make GDB look for one.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
| |
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
OE-Core dropped gcc-initial, we can do the same for mingw.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
| |
Upgrades the MinGW support recipes to the latest version
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
| |
Build nativesdk-cmake and dependency libs without without openssl.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Configures the mingw SDK environment to set the SWIG_LIB environment
variable so that swig can find its core library. Otherwise, swig will
look for a directory called "Lib" next to the executable.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
|
|
|
|
|
| |
Use the latest mingw64 release to get access to the latest Windows APIs
BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw
build to include correct float.h. (error: '_MCW_DN' undeclared here)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
|
|
|
|
|
| |
Don't be overly specific by demanding 2.2%, 2.% is sufficient as this bbappend
simply changes some options.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
|
|
| |
oe_filter_out has been removed from oe-core so use the replacement function.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
|
| |
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Add the 'secure-api' PACKAGECONFIG and enable it by default. The
'secure-api' feature enables the secure string functions that are
provided in the MS C Runtime e.g. "strerror_s".
These functions are needed for glib-2.0 compilation.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit fixes the build error:
make[1]: x86_64-pokysdk-mingw32-gcc: Command not found
The build error appeared after oe-core switched to Recipe
Specific Sysroots.
[YOCTO#10971]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
With the change of crosssdk to use SDK_SYS instead of SDK_ARCH, we need to update
the recipe to match the changes in master.
[YOCTO #9281]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Tested with 7.11.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Tested up to 2.27
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
mingw runtime 3.1 is released under ZPL-2.1 license.
This fixes the warning:
WARNING: nativesdk-mingw-w64-runtime: No generic license file exists for: ZPL in any provider
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|