/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntopng/files/ |
H A D | 0001-configure.ac.in-not-check-clang-on-host.patch | 4 Subject: [PATCH] configure.ac.in: not check clang on host 6 Don't check clang on host to avoid host contamination. 8 Upstream-Status: Inappropriate [OE specific] 10 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 11 --- 12 configure.ac.in | 16 ---------------- 13 1 file changed, 16 deletions(-) 15 diff --git a/configure.ac.in b/configure.ac.in 17 --- a/configure.ac.in 19 @@ -90,22 +90,6 @@ if test $SYSTEM = "FreeBSD" || test $SYSTEM = "Darwin"; then [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | README.rst | 4 This directory contains a test stubs, verifier test-suite and examples 7 Note that the XDP-specific samples have been removed from this directory and 8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools 11 in xdp-tools. 17 * clang 24 command: ``llc --version`` 27 ----------------------- 32 make -C tools clean 33 make -C samples/bpf clean 42 -------------- [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [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 10 BPF CI System 13 BPF employs a continuous integration (CI) system to check patch submission in an 14 automated fashion. The system runs selftests for each patch in a series. Results 21 The CI system executes tests on multiple architectures. It uses a kernel 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 58 image from the system used by the CI. It builds the kernel (without overwriting [all …]
|
/openbmc/qemu/ |
H A D | .travis.yml | 5 - gcc 9 # - OS name (currently only linux) 10 # - OS distribution (e.g. "jammy" for Linux) 11 # - Names and values of visible environment variables set in .travis.yml or Settings panel 19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu" 23 …- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K… 30 - SRC_DIR=".." 31 - BUILD_DIR="build" 32 - BASE_CONFIG="--disable-docs --disable-tools" 33 - TEST_BUILD_CMD="" [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 …]
|
H A D | Nonnull.patch | 1 Upstream-Status: Pending 3 Description: Bring Clang's _Nonnull keyword to GCC 4 Author: Kai-Chung Yan 5 Forwarded: not-needed 6 --- a/system/core/adb/sysdeps.h 7 +++ b/system/core/adb/sysdeps.h 8 @@ -40,11 +40,12 @@ 17 // Clang-only nullability specifiers 18 -#define _Nonnull 19 -#define _Nullable
|
/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 …]
|
H A D | Nonnull.patch | 1 Upstream-Status: Pending 3 Description: Bring Clang's _Nonnull keyword to GCC 4 Author: Kai-Chung Yan 5 Forwarded: not-needed 6 --- a/system/core/adb/sysdeps.h 7 +++ b/system/core/adb/sysdeps.h 8 @@ -40,11 +40,12 @@ 17 // Clang-only nullability specifiers 18 -#define _Nonnull 19 -#define _Nullable
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/perfetto/ |
H A D | perfetto.bb | 1 LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib" 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 …/android.googlesource.com/platform/system/libbase.git;branch=master;protocol=https;destsuffix=git/… 19 …android.googlesource.com/platform/system/unwinding.git;branch=master;protocol=https;destsuffix=git… 20 …/android.googlesource.com/platform/system/logging.git;branch=master;protocol=https;destsuffix=git/… 21 …ndroid.googlesource.com/platform/system/libprocinfo.git;branch=master;protocol=https;destsuffix=gi… 22 …://android.googlesource.com/platform/system/core.git;branch=master;protocol=https;destsuffix=git/b… [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.clang | 1 The biggest problem when trying to compile U-Boot with clang is that 2 almost all archs rely on storing gd in a global register and clang user 3 manual states: "clang does not support global register variables; this 20 -------------- 22 sudo apt-get install clang 25 CROSS_COMPILE. To compile U-Boot with clang on linux without IAS use e.g.: 26 make HOSTCC=clang rpi_2_defconfig 27 make HOSTCC=clang CROSS_COMPILE=arm-linux-gnueabi- \ 28 CC="clang -target arm-linux-gnueabi" -j8 31 make HOSTCC=clang sandbox_defconfig [all …]
|
/openbmc/linux/security/ |
H A D | Kconfig.hardening | 1 # SPDX-License-Identifier: GPL-2.0-only 12 flaws, this plugin is available to identify and zero-initialize 23 def_bool $(cc-option,-ftrivial-auto-var-init=pattern) 26 def_bool $(cc-option,-ftrivial-auto-var-init=zero) 29 # Clang 16 and later warn about using the -enable flag, but it 31 …def_bool $(cc-option,-ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-wi… 64 bool "zero-init structs marked for userspace (weak)" 69 Zero-initialize any structures on the stack containing 72 exposures, like CVE-2013-2141: 76 bool "zero-init structs passed by reference (strong)" [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/ |
H A D | mongodb_git.bb | 2 LICENSE = "SSPL-1 & Apache-2.0 & Zlib" 3 LIC_FILES_CHKSUM = "file://LICENSE-Community.txt;md5=3a865f27f11f43ecbe542d9ea387dcf1 \ 4 file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" 7 python3-setuptools-native \ 8 python3-pyyaml-native python3-cheetah-native \ 9 python3-psutil-native python3-regex-native \ 18 file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ 19 file://0001-Use-long-long-instead-of-int64_t.patch \ 20 file://0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch \ 21 file://0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch \ [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | s390.rst | 8 IBM Z are mainframe computers, which are descendants of IBM System/360 from 12 2. One-time setup 19 * Clang with BPF support 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain [all …]
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | unit-test.py | 189 if path[-1] == name: 199 from_name = path[-1] 204 Return post-order list of node names. 217 Print pre-order node names with indentation denoting node depth level. 276 cmd = ["make", "-n", target] 287 "-j", 290 "-l", 293 "-O", 309 check_call_cmd("sudo", "-n", "--", "ldconfig") 343 raise Exception(f"Unable to find build system for {name}.") [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/klibc/ |
H A D | klibc.inc | 5 LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & Zlib" 7 DEPENDS = "linux-libc-headers perl-native" 9 SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/2.0/klibc-${PV}.tar.xz \ 11 file://klcc-consider-sysroot.patch \ 12 file://klcc-cross-accept-clang-options.patch \ 13 file://0001-Define-in_-structs-for-non-glibc-system-libs.patch \ 14 file://0001-include-linux-sysinfo.h-directly.patch \ 15 file://0001-mkfifo-Implement-mkfifo.patch \ 16 file://0001-always-use-bfd-linker.patch \ 17 file://0001-arm-Do-not-set-a-fallback-march-and-mtune.patch \ [all …]
|
/openbmc/linux/samples/hid/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 9 tprogs-y += hid_mouse 10 tprogs-y += hid_surface_dial 22 hid_mouse-objs := hid_mouse.o 23 hid_surface_dial-objs := hid_surface_dial.o 26 always-y := $(tprogs-y) 29 # Strip all except -D__LINUX_ARM_ARCH__ option needed to handle linux 31 ARM_ARCH_SELECTOR := $(filter -D__LINUX_ARM_ARCH__%, $(KBUILD_CFLAGS)) 37 TPROGS_CFLAGS += -D__SANE_USERSPACE_TYPES__ 39 BPF_EXTRA_CFLAGS += -I$(srctree)/arch/mips/include/asm/mach-loongson64 [all …]
|
/openbmc/linux/lib/ |
H A D | Kconfig.kmsan | 1 # SPDX-License-Identifier: GPL-2.0-only 6 # Clang versions <14.0.0 also support -fsanitize=kernel-memory, but not 9 def_bool $(cc-option,-fsanitize=kernel-memory -mllvm -msan-disable-checks=1) 21 instrumentation provided by Clang and thus requires Clang to build. 25 the whole system down. 27 See <file:Documentation/dev-tools/kmsan.rst> for more details. 32 # -fsanitize-memory-param-retval is supported only by Clang >= 14. 34 def_bool $(cc-option,-fsanitize=kernel-memory -fsanitize-memory-param-retval) 41 If the compiler supports -fsanitize-memory-param-retval, KMSAN will 48 may potentially report errors in corner cases when non-instrumented
|
H A D | Kconfig.ubsan | 1 # SPDX-License-Identifier: GPL-2.0-only 9 Compile-time instrumentation is used to detect various undefined 11 Documentation/dev-tools/ubsan.rst 26 the system. For some system builders this is an acceptable 27 trade-off. 38 def_bool $(cc-option,-fsanitize=bounds-strict) 40 The -fsanitize=bounds-strict option is only available on GCC, 42 of flexible arrays, which is comparable to Clang's regular 43 -fsanitize=bounds. 46 def_bool $(cc-option,-fsanitize=array-bounds) [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | release-notes-4.0.17.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 3 Release notes for Yocto-4.0.17 (Kirkstone) 4 ------------------------------------------ 6 Security Fixes in Yocto-4.0.17 9 - bind: Fix :cve_nist:`2023-4408`, :cve_nist:`2023-5517`, :cve_nist:`2023-5679`, :cve_nist:`2023-5… 10 - binutils: Fix :cve_nist:`2023-39129` and :cve_nist:`2023-39130` 11 - curl: Fix :cve_nist:`2023-46219` 12 - curl: Ignore :cve_nist:`2023-42915` 13 - gcc: Ignore :cve_nist:`2023-4039` 14 - gdb: Fix :cve_nist:`2023-39129` and :cve_nist:`2023-39130` [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/Documentation/kbuild/ |
H A D | llvm.rst | 4 Building Linux with Clang/LLVM 7 This document covers how to build the Linux kernel with Clang and LLVM 11 ----- 14 such as GCC and binutils. Ongoing work has allowed for `Clang 15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be 18 <https://www.chromium.org/chromium-os>`_, `OpenMandriva 20 <https://chimera-linux.org/>`_ use Clang built kernels. Google's and Meta's 21 datacenter fleets also run kernels built with Clang. 24 objects <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM 26 pronounced "klang," not "see-lang." [all …]
|
/openbmc/entity-manager/ |
H A D | .clang-tidy | 2 -*, 3 boost-use-to-string, 4 bugprone-argument-comment, 5 bugprone-assert-side-effect, 6 bugprone-assignment-in-if-condition, 7 bugprone-bad-signal-to-kill-thread, 8 bugprone-bool-pointer-implicit-conversion, 9 bugprone-branch-clone, 10 bugprone-casting-through-void, 11 bugprone-chained-comparison, [all …]
|
/openbmc/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-s390x.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 5 ubuntu-22.04-s390x-all-linux: 10 - ubuntu_22.04 11 - s390x 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$S390X_RUNNER_AVAILABLE" 16 - mkdir build 17 - cd build 18 - ../configure --enable-debug --disable-system --disable-tools --disable-docs [all …]
|
/openbmc/linux/Documentation/rust/ |
H A D | quick-start.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------------------- 15 under names like ``rustc``, ``rust-src``, ``rust-bindgen``, etc. However, 39 rustup override set $(scripts/min-tool-version.sh rustc) 45 https://forge.rust-lang.org/infra/other-installation-methods.html#standalone 51 The Rust standard library source is required because the build system will 52 cross-compile ``core`` and ``alloc``. 56 rustup component add rust-src 59 version later on requires re-adding the component. 64 curl -L "https://static.rust-lang.org/dist/rust-src-$(scripts/min-tool-version.sh rustc).tar.gz" | [all …]
|