/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/optee-os/ |
H A D | 0003-optee-enable-clang-support.patch | 4 Subject: [PATCH] optee: enable clang support 6 When compiling with clang, the LIBGCC_LOCATE_CFLAG variable used 8 compiler-rt. This is mitigated by including the variable as ammended. 10 Upstream-Status: Pending 12 Signed-off-by: Brett Warren <brett.warren@arm.com> 13 --- 14 mk/clang.mk | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 17 diff --git a/mk/clang.mk b/mk/clang.mk 19 --- a/mk/clang.mk [all …]
|
/openbmc/openbmc/poky/meta/recipes-sato/webkit/webkitgtk/ |
H A D | no-musttail-arm.patch | 3 Date: Fri, 12 Jan 2024 09:21:39 -0800 4 Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL 6 This causes clang-17 to crash see [1] 9 [1] https://github.com/llvm/llvm-project/issues/67767 12 Upstream-Status: Inappropriate [work around to avoid clang compiler crash] 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 Source/WTF/wtf/Compiler.h | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 18 diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
H A D | 0011-Check-for-clang-before-checking-gcc-version.patch | 3 Date: Wed, 15 Apr 2020 14:17:20 -0700 4 Subject: [PATCH] Check for clang before checking gcc version 6 Clang advertises itself to be gcc 4.2.1, so when compiling this test 7 here fails since gcc < 4.4.5 did not support -static-libstdc++ but thats 8 not true for clang, so its better to make an additional check for clang 9 before resorting to gcc version check. This should let clang enable 12 Upstream-Status: Pending 14 Signed-off-by: Khem Raj <raj.khem@gmail.com> 15 --- 16 configure | 2 +- [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/ |
H A D | 0001-Fix-initialization-in-test-1140.patch | 2 From: d-winsor <danwin@microsoft.com> 3 Date: Mon, 26 Feb 2024 13:17:12 -0800 6 * Suppress unsafe-buffer-usage 8 Upstream-Status: Backport [https://github.com/microsoft/GSL/commit/1b4d42ca2e97061042ec44a0b34ceb17… 10 Signed-off-by: Peter Marko <peter.marko@siemens.com> 11 --- 15 tests/span_tests.cpp | 2 +- 16 4 files changed, 31 insertions(+), 1 deletion(-) 18 diff --git a/include/gsl/span b/include/gsl/span 20 --- a/include/gsl/span [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | README.rst | 7 __ /Documentation/bpf/bpf_devel_QA.rst#q-how-to-run-bpf-selftests 31 trampoline support on IBM's s390x architecture. For cases like this, an in-tree 45 This last entry helps identify tests that can be re-enabled once such support is 54 would be run post-submit in the CI used by the Maintainers, with the exception 57 This script uses the in-tree kernel configuration and downloads a VM userspace 64 - clang (preferably built from sources, https://github.com/llvm/llvm-project); 65 - pahole (preferably built from sources, https://git.kernel.org/pub/scm/devel/pahole/pahole.git/); 66 - qemu; 67 - docutils (for ``rst2man``); 68 - libcap-devel. [all …]
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | clang-format.rst | 1 .. include:: ../disclaimer-ita.rst 3 :Original: :ref:`Documentation/process/clang-format.rst <clangformat>` 8 clang-format 10 ``clang-format`` è uno strumento per formattare codice C/C++/... secondo 14 ``clang-format`` può essere usato per diversi fini: 16 - Per riformattare rapidamente un blocco di codice secondo lo stile del 20 - Identificare errori di stile, refusi e possibili miglioramenti nei 24 - Ti aiuta a seguire lo stile del codice, particolarmente utile per i 28 Il suo file di configurazione è ``.clang-format`` e si trova nella cartella 32 :ref:`Documentation/translations/it_IT/process/coding-style.rst <it_codingstyle>`. [all …]
|
/openbmc/linux/Documentation/process/ |
H A D | clang-format.rst | 3 clang-format 6 ``clang-format`` is a tool to format C/C++/... code according to 10 ``clang-format`` can be used for several purposes: 12 - Quickly reformat a block of code to the kernel style. Specially useful 15 - Spot style mistakes, typos and possible improvements in files 18 - Help you follow the coding style rules, specially useful for those 22 Its configuration file is ``.clang-format`` in the root of the kernel tree. 24 coding style. They also try to follow :ref:`Documentation/process/coding-style.rst <codingstyle>` 28 another ``.clang-format`` file in a subfolder. 31 Linux distributions for a long time. Search for ``clang-format`` in [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/7zip/ |
H A D | 7zip_24.09.bb | 1 SUMMARY = "7-zip is a commandline utility handling 7z archives." 2 HOMEPAGE = "http://www.7-zip.org/" 3 LICENSE = "LGPL-2.1-or-later & unRAR & PD & BSD-2-Clause & BSD-3-Clause" 8 CVE_PRODUCT = "7-zip 7zip" 9 SRC_URI = "git://github.com/ip7z/7zip.git;protocol=https;branch=main \ 10 file://0001-support-yocto-cross-compiling.patch \ 11 file://7z_wrapper.sh \ 15 UPSTREAM_CHECK_URI = "https://github.com/ip7z/7zip/releases/latest" 20 CXXFLAGS:append:toolchain-clang = " -Wno-error=cast-qual -Wno-error=sign-conversion \ 21 -Wno-error=disabled-macro-expansion \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/ |
H A D | no-musttail-arm.patch | 3 Date: Sat, 30 Sep 2023 12:42:06 -0700 4 Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL 6 This causes clang-17 to crash see [1] 9 [1] https://github.com/llvm/llvm-project/issues/67767 12 Upstream-Status: Pending 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 Source/WTF/wtf/Compiler.h | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 18 diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/7zip/files/ |
H A D | 0001-support-yocto-cross-compiling.patch | 6 Remove -s from $LFLAGS_STRIP, do not strip binary to workaournd 9 WARNING: 7zip-native-24.09-r0 do_populate_sysroot: File 'tmp/work/x86_64-linux/ 10 7zip-native/24.09/recipe-sysroot-native/usr/lib/7z.so' from 7zip-native was already stripped, 16 Upstream-Status: Inappropriate [Yocto specific] 18 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 19 --- 20 CPP/7zip/7zip_gcc.mak | 2 +- 21 CPP/7zip/var_gcc.mak | 2 -- 22 2 files changed, 1 insertion(+), 3 deletions(-) 24 --- a/CPP/7zip/7zip_gcc.mak [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nss/nss/ |
H A D | 0004-nss-disable-Wvarargs-with-clang.patch | 3 Date: Sat, 7 Mar 2020 08:34:02 -0800 4 Subject: [PATCH] nss: disable Wvarargs with clang 6 clang 3.9 add this warning to rightly flag undefined 13 … that undergoes default argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs] 20 https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+cor… 23 Upstream-Status: Pending 25 Signed-off-by: Khem Raj <raj.khem@gmail.com> 26 --- 27 nss/coreconf/Werror.mk | 2 +- 28 1 file changed, 1 insertion(+), 1 deletion(-) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/ |
H A D | 0003-cmake-Do-not-add-msse4.2-mpclmul-on-clang.patch | 3 Date: Thu, 26 Jan 2023 13:00:43 -0800 4 Subject: [PATCH] cmake: Do not add -msse4.2 -mpclmul on clang 6 When testcase is compiled with clang and -msse4.2 -mpclmul is added to 7 cxxflags then clang -m32 still ends up compiling the test case which is 11 Upstream-Status: Inappropriate [OE-Specific] 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 CMakeLists.txt | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 18 diff --git a/CMakeLists.txt b/CMakeLists.txt [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libjxl/libjxl/ |
H A D | 0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch | 4 Subject: [PATCH] cmake: Do not use -mrelax-all with clang on RISCV64 6 This option causes clang 19+ to crash on riscv64 8 For RISC-V -mrelax-all causes the assembler stage to convert 18 We do all branch relaxation early for RISC-V during the compilation 25 Upstream-Status: Submitted [https://github.com/libjxl/libjxl/pull/3826] 26 Signed-off-by: Khem Raj <raj.khem@gmail.com> 27 --- 28 CMakeLists.txt | 2 +- 30 2 files changed, 2 insertions(+), 1 deletion(-) 32 diff --git a/CMakeLists.txt b/CMakeLists.txt [all …]
|
/openbmc/openbmc/poky/meta/recipes-gnome/libgudev/libgudev/ |
H A D | 0001-meson-Pass-export-dynamic-option-to-linker.patch | 3 Date: Tue, 16 Jan 2024 12:02:46 -0800 4 Subject: [PATCH] meson: Pass --export-dynamic option to linker 8 to translate it into --export-dynamic but clang 18+ rejects it 10 | x86_64-yoe-linux-clang: error: unknown argument: '-export-dynamic' 14 This makes it work as intended across gcc and clang 16 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/30] 17 [1] https://discourse.llvm.org/t/clang-option-export-dynamic-parse-to-e-xport-dynamic-error/72454 18 Signed-off-by: Khem Raj <raj.khem@gmail.com> 19 --- 20 gudev/meson.build | 2 +- [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/ |
H A D | mm_malloc.patch | 3 Date: Tue, 15 Jun 2021 22:48:07 -0700 4 Subject: [PATCH] mariadb: Fix build with clang/musl 6 Upstream-Status: Pending 7 --- 8 storage/rocksdb/rocksdb/port/jemalloc_helper.h | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 11 diff --git a/storage/rocksdb/rocksdb/port/jemalloc_helper.h b/storage/rocksdb/rocksdb/port/jemalloc… 13 --- a/storage/rocksdb/rocksdb/port/jemalloc_helper.h 15 @@ -5,7 +5,7 @@ 19 -#if defined(__clang__) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/ |
H A D | 0001-util-consideredharmful-Use-overloadable-func-attribu.patch | 3 Date: Fri, 22 Nov 2024 01:16:25 -0800 5 clang 7 When building with glibc HEAD, it has fortified headers with clang as well 8 and clang reports errors e.g. 10 | ../git/src/util/consideredharmful.h:33:7: error: redeclaration of 'strncat' must have the 'overlo… 13 | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/taisei/1.4.2/recipe-sysroot/usr/include/bits/… 17 Upstream-Status: Submitted [https://github.com/taisei-project/taisei/pull/393] 18 Signed-off-by: Khem Raj <raj.khem@gmail.com> 19 --- 20 src/util/consideredharmful.h | 4 ++-- [all …]
|
/openbmc/libpldm/scripts/ |
H A D | apply-renames | 3 set -eou pipefail 8 ABSPATH="$(command -v "$0" | xargs realpath)" 11 : "${LIBPLDM_ROOT:="${ABSPATH%scripts/apply-renames}"}" 13 # Deal with clang including its version in all the tool names 15 : "${CLANG_RENAME:="$(command -v clang-rename-"${CLANG_VERSION}")"}" 16 : "${CLANG_APPLY_REPLACEMENTS:="$(command -v clang-apply-replacements-"${CLANG_VERSION}")"}" 21 # Allow clang-rename to pick up the per-file flags from the compile command 23 : "${CRFLAGS:="-p=."}" 25 CRINPUT=$(realpath --relative-to "$BUILD" "$1") 27 # Deal with clang-rename segfaulting when file paths from the compile command [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/ |
H A D | 0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch | 3 Date: Sun, 15 Jan 2023 22:04:31 -0800 11 clang 16+ has started to flag this [2] 13 Fixes build when using -std >= gnu11 and using clang16+ 15 Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it 18 [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm 21 Upstream-Status: Pending 23 Signed-off-by: Khem Raj <raj.khem@gmail.com> 24 --- 25 Misc/md5-coreutils.c | 12 +++++++++++- 26 Misc/sha1.c | 12 +++++++++++- [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/ |
H A D | 0001-fix-non-literal-format-string-issue-with-clang.patch | 3 Date: Thu, 8 Jul 2021 23:13:30 -0700 4 Subject: [PATCH] fix non-literal format string issue with clang 6 clang errors out when using -Werror=format-nonliteral 7 since the definition of g_strdup_vprintf() from glib-2.0 8 is using va_list and clang seems to still warn where as 11 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-desktop-testing/-/merge_requests/9] 12 Signed-off-by: Khem Raj <raj.khem@gmail.com> 13 --- 14 src/gnome-desktop-testing-runner.c | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/files/ |
H A D | 0001-meson-Run-atomics-test-on-clang-as-well.patch | 3 Date: Sat, 12 Oct 2019 17:46:26 -0700 4 Subject: [PATCH] meson: Run atomics test on clang as well 7 ./glib-2.62.1/glib/gatomic.c:675:2: error: G_ATOMIC_LOCK_FREE defined, but incapable of lock-free a… 10 Upstream-Status: Pending 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 --- 13 meson.build | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 16 diff --git a/meson.build b/meson.build 18 --- a/meson.build [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | fix-attribute-issue-with-gcc.patch | 1 Upstream-Status: Pending 3 Description: remove clang-ism 4 Forwarded: not-needed 6 --- a/system/core/base/include/android-base/logging.h 7 +++ b/system/core/base/include/android-base/logging.h 8 @@ -451,10 +451,7 @@ 9 // -Wno-user-defined-warnings to CPPFLAGS. 10 #pragma clang diagnostic push 11 #pragma clang diagnostic ignored "-Wgcc-compat" 12 -#define OSTREAM_STRING_POINTER_USAGE_WARNING \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/ |
H A D | fix-attribute-issue-with-gcc.patch | 1 Upstream-Status: Pending 3 Description: remove clang-ism 4 Forwarded: not-needed 6 --- a/system/core/base/include/android-base/logging.h 7 +++ b/system/core/base/include/android-base/logging.h 8 @@ -451,10 +451,7 @@ 9 // -Wno-user-defined-warnings to CPPFLAGS. 10 #pragma clang diagnostic push 11 #pragma clang diagnostic ignored "-Wgcc-compat" 12 -#define OSTREAM_STRING_POINTER_USAGE_WARNING \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/suitesparse/suitesparse/ |
H A D | 0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch | 3 Date: Wed, 21 Oct 2020 10:43:16 -0600 10 --- 11 Upstream-Status: Pending 13 Mongoose/CMakeLists.txt | 6 +++--- 14 1 file changed, 3 insertions(+), 3 deletions(-) 16 diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt 17 index 7e134ab..91a7f70 100644 18 --- a/Mongoose/CMakeLists.txt 20 @@ -321,14 +321,14 @@ add_test(Unit_Test_EdgeSep ./tests/mongoose_unit_test_edgesep) 22 …if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang… [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | gcc-plugins.rst | 14 The GCC plugin infrastructure of the kernel supports building out-of-tree 15 modules, cross-compilation and building in a separate directory. 22 This infrastructure was ported from grsecurity [6]_ and PaX [7]_. 24 -- 27 .. [2] https://gcc.gnu.org/onlinedocs/gccint/Plugin-API.html#Plugin-API 32 .. [7] https://pax.grsecurity.net/ citation in Introduction 39 compiler features that are neither in GCC nor Clang upstream. Once 41 (and Clang), and then to finally remove them from the kernel once the 45 upstream compiler support (in either GCC or Clang). 47 When a feature exists in Clang but not GCC, effort should be made to [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/perfetto/ |
H A D | perfetto.bb | 1 LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib" 5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \ 12 # Dependencies from perfetto/tools/install-build-deps 15 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;de… 16 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https… 17 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https… 18 …m/libbase.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libbase;name=libbase \ 19 …unwinding.git;branch=master;protocol=https;destsuffix=git/buildtools/android-unwinding;name=unwind… 20 …m/logging.git;branch=master;protocol=https;destsuffix=git/buildtools/android-logging;name=logging \ 21 …bprocinfo.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libprocinfo;name=libp… [all …]
|