Age | Commit message (Collapse) | Author |
|
Upgrade to latest release of MinGW-w64.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adapt to changes in OE-Core locale generation and match alias handling
with the change in glibc packaging. The file is only used for legacy
situations.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Prepare for the scarthgap release.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
License 'LGPLv3' is obsolete
WARNING: nativesdk-libiconv-1.15-r1 do_package_qa: QA Issue: Recipe
LICENSE includes obsolete licenses LGPLv3 [obsolete-license]
so replace it with the SPDX name 'LGPL-3.0-only'.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
6badeda ("mingw32: Add WINDRES export for SDK") attempted to fix the GCC
13 Canadian cross compile for MinGW host, but used the broad sdkming32
override, which made it apply to all target recipes. This caused build
errors in other recipes. Tighten the scope of the variables to only
apply when doing a Canadian cross compile.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Amend 6c54d16058ed8fb911c44df93b5732ae693b9803 and add WINDMC
to be ignored from hash, otherwise it contaminates sstate cache
for every recipe.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
GCC-13 has added code where windres is called on a rc file which
includes winuser.h, this requires to call windres with -I option to
point to right header directory duting gcc-candian-cross builds
Fixes
../../../../../../../work-shared/gcc-13.1.0-r0/gcc-13.1.0/gcc/config/i386/utf8-mingw32.rc:1:10: fatal error: winuser.h: No such file or directory
| 1 | #include <winuser.h>
| | ^~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adjust a comment.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This is needed by qemu 8.0.0
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
In some cases Wine (and Windows proper) struggle with very long paths;
in particular the way that gcc invokes the 'cc1' subprogram is limited
in how deep the path to the subprogram can be. This can cause issues
when testing the SDK under wine, as the paths can easily get quite long
and exceed this limit. In order to work around this, setup the Wine test
context so that the W: drive maps to the SDK image ${WORKDIR}, which
allows wine to effectively use paths relative to this directory making
them significantly shorter.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Use the new addpylib functionality to ensure our library code is seen by
bitbake.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Modify toolchain-scripts-mingw32.bbclass to add a check in
environment-setup script which removes trailing slash in
path of SDKROOT.
This is needed to avoid multiple adjacent slashes in paths
which are produced by appending to SDKROOT.
In reference to https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN
naming convention used for paths and disk drives in windows
should use a single backslash. Even though in some cases windows
ignores double slashes in paths and it might work but it isn't
documented as a right naming convention and does fail in some
cases eg. dir command cannot interpret double slashes and fails.
For example if my SDK is located in D: drive, the environment
setup scripts sets "SDKROOT=D:\" and hence SDKTARGETSYSROOT
gets set as "SDKTARGETSYSROOT=D:\\sysroots\armv8a-oe-linux"
The introduced check removes additional slash in SDKROOT to
set it as "SDKROOT=D:" so all other variables using SDKROOT
get set without additional slash.
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Update license name with SPDX identifier to eliminate warning:
WARNING: mingw-libgnurx-2.5.1-r0 do_package_qa: QA Issue: Recipe LICENSE
includes obsolete licenses LGPLv2.1 [obsolete-license]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The changes to split classes into global vs. image specific contexts
has broken the inclusion of `wine` and `wineserver` host tools for
testing MinGW SDKs. This is because testsdk is an image specific class
and therefore it's inclusion is not detected globally and the wine host
tools are not present so the SDK tests fail.
Resolve this by using HOSTTOOLS_NONFATAL which will include the tools if
they exist, but won't fail if they are not present. This does mean that
users will now not know they need wine "up front" when doing a build,
but it will instead fail later when they actually try to test the SDK,
but there isn't really a better way to fix this.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
This addresses the failure with wayland 1.21:
| ../wayland-1.21.0/tests/meson.build:2:1: ERROR: Problem encountered: -Dtests=true requires -Dlibraries=true
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
this fixes:
| Has header "sys/select.h" : NO
| Checking whether type "fd_set" has member "fds_bits" : NO
| Checking whether type "fd_set" has member "__fds_bits" : NO
|
| ../xorgproto-2022.1/include/X11/meson.build:19:4: ERROR: Problem encountered: Your fd_set is too weird.
|
| A full log can be found at /home/flk/build/poky/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-xorgproto/2022.1-r0/build/meson-logs/meson-log.txt
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
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: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
The oe-core curl recipe changed PACKAGECONFIG options around, update
the bbappend to match.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The tools now build for MinGW so we don't need to disable them, but
as ncurses still fails we should continue to remove the bash RDEPENDS.
Signed-off-by: Ross Burton <ross.burton@arm.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: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
[libprotobuf ERROR google/protobuf/descriptor_database.cc:641]
File already exists in database: google/protobuf/descriptor.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed:
GeneratedDatabase()->Add(encoded_file_descriptor, size):
Switch to static linkage per upstream recommendation.
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
[libprotobuf ERROR google/protobuf/descriptor_database.cc:641]
File already exists in database: google/protobuf/descriptor.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed:
GeneratedDatabase()->Add(encoded_file_descriptor, size):
Switch to static linkage per upstream recommendation.
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Dynamically linked protoc.exe is failing as follows:
[libprotobuf ERROR google/protobuf/descriptor_database.cc:641]
File already exists in database: google/protobuf/descriptor.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed:
GeneratedDatabase()->Add(encoded_file_descriptor, size):
Switch to static linkage per upstream recommendation.
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Add a dynamic BBFILES pattern so that patches for openembedded-layer
are conditionally applied only if meta-oe is present.
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
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>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
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>
|
|
Include .def files to the -dev package to fix QA Issue: nativesdk-libidn2:
Files/directories were installed but not shipped in any package.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
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 the MinGW builds for zstd
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
This implements glibc regex and will be used by many
packages e.g. flex, therefore add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
|