/openbmc/linux/tools/memory-model/Documentation/ |
H A D | control-dependencies.txt | 6 help you prevent your compiler from breaking your code. However, 9 your own code, even in the absence of help from your compiler. 41 WRITE_ONCE() are optional. Without the READ_ONCE(), the compiler might 43 the compiler might fuse the store to "b" with other stores. Worse yet, 44 the compiler might convert the store into a load and a check followed 45 by a store, and this compiler-generated load would not be ordered by 48 Furthermore, if the compiler is able to prove that the value of variable 53 b = 1; /* BUG: Compiler and CPU can both reorder!!! */ 56 In particular, although READ_ONCE() does force the compiler to emit a 57 load, it does *not* force the compiler to actually use the loaded value. [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | compiler-intel.h | 2 #error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead." 7 /* Some compiler specific definitions are overwritten here 8 * for Intel ECC compiler 13 /* Intel ECC compiler doesn't support gcc specific asm stmts. 30 * Given that this compiler does not have inline assembly, a compiler barrier 35 /* Intel ECC compiler doesn't support __builtin_types_compatible_p() */
|
H A D | compiler.h | 56 #include <linux/compiler-gcc.h> 65 /* Intel compiler defines __GNUC__. So we will overwrite implementations 69 # include <linux/compiler-intel.h> 72 /* Clang compiler defines __GNUC__. So we will overwrite implementations 76 #include <linux/compiler-clang.h> 80 * Generic compiler-dependent macros required for kernel 81 * build go below this comment. Actual compiler/compiler version 256 * Prevent the compiler from merging or refetching reads or writes. The 257 * compiler is also forbidden from reordering successive instances of 259 * compiler is aware of some particular ordering. One way to make the [all …]
|
H A D | compiler-clang.h | 2 #error "Please don't include <linux/compiler-clang.h> directly, include <linux/compiler.h> instead." 5 /* Some compiler specific definitions are overwritten here 6 * for Clang compiler
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/fwts/fwts/ |
H A D | 0001-libfwtsiasl-Disable-parallel-builds-of-lex-bison-fil.patch | 30 ${LEX} ${AM_LFLAGS} -PAslCompiler -o$@ $(top_srcdir)/src/acpica/source/compiler/aslcompiler.l 42 …rser.y.h: $(top_srcdir)/src/acpica/source/compiler/dtcompilerparser.l $(top_srcdir)/src/acpica/sou… 44 …} -bdtcompilerparser -pDtCompilerParser $(top_srcdir)/src/acpica/source/compiler/dtcompilerparser.y 47 …rparser.y.h --output=dtcompilerparser.c $(top_srcdir)/src/acpica/source/compiler/dtcompilerparser.y 51 …dtparser.y.h: $(top_srcdir)/src/acpica/source/compiler/dtparser.l $(top_srcdir)/src/acpica/source/… 53 - ${YACC} ${AM_YFLAGS} -bdtparser -pDtParser $(top_srcdir)/src/acpica/source/compiler/dtparser.y 56 …arser --header=dtparser.y.h --output=dtparser.c $(top_srcdir)/src/acpica/source/compiler/dtparser.y 60 …prparser.y.h: $(top_srcdir)/src/acpica/source/compiler/prparser.l $(top_srcdir)/src/acpica/source/… 62 - ${YACC} ${AM_YFLAGS} -bprparser -pPrParser $(top_srcdir)/src/acpica/source/compiler/prparser.y 65 …arser --header=prparser.y.h --output=prparser.c $(top_srcdir)/src/acpica/source/compiler/prparser.y
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/ |
H A D | 0009-Remove-Werror-flag.patch | 48 …set(TS_DEBUG_INFO_FLAGS "-fdiagnostics-show-option -gdwarf-2" CACHE STRING "Compiler flags to add … 49 …set(TS_MANDATORY_AARCH_FLAGS "-mstrict-align -march=armv8-a+crc -DARM64=1" CACHE STRING "Compiler … 50 -set(TS_WARNING_FLAGS "-Wall -Werror" CACHE STRING "Compiler flags affecting generating warning mes… 51 +set(TS_WARNING_FLAGS "-Wall" CACHE STRING "Compiler flags affecting generating warning messages.") 61 …set(TS_DEBUG_INFO_FLAGS "-fdiagnostics-show-option -gdwarf-2" CACHE STRING "Compiler flags to add … 62 set(TS_MANDATORY_AARCH_FLAGS "" CACHE STRING "Compiler flags configuring architecture specific ") 63 -set(TS_WARNING_FLAGS "-Wall -Werror" CACHE STRING "Compiler flags affecting generating warning mes… 64 +set(TS_WARNING_FLAGS "-Wall" CACHE STRING "Compiler flags affecting generating warning messages.") 74 …set(TS_DEBUG_INFO_FLAGS "-fdiagnostics-show-option -gdwarf-2" CACHE STRING "Compiler flags to add … 75 …set(TS_MANDATORY_AARCH_FLAGS "-fpic -mstrict-align -march=armv8-a+crc" CACHE STRING "Compiler flag… [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-cython/ |
H A D | 0001-Output-import-relative-paths-in-generated-C-code.-GH.patch | 14 Cython/Compiler/ExprNodes.py | 8 +++++++- 15 Cython/Compiler/ModuleNode.py | 9 ++++++--- 18 diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py 20 --- a/Cython/Compiler/ExprNodes.py 21 +++ b/Cython/Compiler/ExprNodes.py 44 diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py 46 --- a/Cython/Compiler/ModuleNode.py 47 +++ b/Cython/Compiler/ModuleNode.py
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/libfaketime/libfaketime/ |
H A D | 0001-Makefile-Detect-compiler-in-makefile.patch | 4 Subject: [PATCH] Makefile: Detect compiler in makefile 6 Add compiler specific options based on detected compiler gcc/clang 24 +COMPILER := clang 26 +COMPILER := gcc 28 +export COMPILER 32 +ifeq ($(COMPILER),clang) 36 +ifeq ($(COMPILER),gcc)
|
/openbmc/linux/Documentation/RCU/ |
H A D | rcu_dereference.rst | 27 compiler from deducing the resulting pointer value. Please see 28 the section entitled "EXAMPLE WHERE THE COMPILER KNOWS TOO MUCH" 29 for an example where the compiler can in fact deduce the exact 39 The compiler simply knows too much about integral values to 57 "(x-(uintptr_t)x)" for char* pointers. The compiler is within its 96 explained, if the two pointers are equal, the compiler could 104 Because the compiler now knows that the value of "p" is exactly 119 compiler knows that the pointer is NULL, you had better 121 non-equal, the compiler is none the wiser. Therefore, 126 Since there are no subsequent dereferences, the compiler [all …]
|
/openbmc/openbmc/poky/meta/recipes-sato/webkit/webkitgtk/ |
H A D | no-musttail-arm.patch | 12 Upstream-Status: Inappropriate [work around to avoid clang compiler crash] 15 Source/WTF/wtf/Compiler.h | 2 +- 18 diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h 20 --- a/Source/WTF/wtf/Compiler.h 21 +++ b/Source/WTF/wtf/Compiler.h 23 #if COMPILER(CLANG)
|
/openbmc/u-boot/scripts/ |
H A D | gcc-version.sh | 17 compiler="$*" 19 if [ ${#compiler} -eq 0 ]; then 20 echo "Error: No compiler specified." 25 MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1) 26 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1) 28 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -xc - | tail -n 1)
|
/openbmc/libpldm/ |
H A D | meson.build | 25 compiler = meson.get_compiler('c') variable 26 if compiler.has_argument('-Wvla') 31 if compiler.has_header('poll.h') 36 compiler.has_function_attribute('visibility:default', required: true) 39 ## Compile test until meson supports it via compiler.has_function_attribute() 41 if compiler.compiles( 44 name: 'compiler supports function attribute tainted_args',
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/libgnt/ |
H A D | 0001-meson-import-changes-from-3.0.-version.patch | 20 @@ -53,9 +53,9 @@ compiler = meson.get_compiler('c') 47 - compiler.find_library('ncursesw', required : false), 48 - compiler.find_library('panelw', required : false), 49 - compiler.find_library('tinfow', required : false), 70 + if compiler.has_header_symbol(f, 'get_wch', 91 + compiler.find_library('ncursesw', required : false), 92 + compiler.find_library('panelw', required : false) 97 if compiler.has_header_symbol(f, 'get_wch', 128 - compiler.find_library('ncurses', required : false), 129 - compiler.find_library('panel', required : false), [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/concurrencykit/concurrencykit/ |
H A D | 0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch | 7 We can not run binaries during cross compile, so poke at compiler to 23 printf "Finding suitable compiler........" 39 + COMPILER=gcc 41 + COMPILER=clang 43 + COMPILER="not-found" 76 -COMPILER=`./.1 2> /dev/null` 81 +if test "$COMPILER" = "not-found"; then 82 assert "" "update compiler"
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/ |
H A D | libidn-wr-cross-compile.patch | 5 Add support for cross-compile allowing the compiler binary to be 17 +my $compiler; 27 + "compiler=s" => \$compiler 36 + foreach my $cc ($compiler, qw/cc gcc/) 42 + if ($compiler == $cc)
|
/openbmc/openbmc/poky/meta/recipes-graphics/shaderc/files/ |
H A D | 0002-libshaderc_util-fix-glslang-header-file-location.patch | 10 libshaderc_util/src/compiler.cc | 2 +- 13 diff --git a/libshaderc_util/src/compiler.cc b/libshaderc_util/src/compiler.cc 15 --- a/libshaderc_util/src/compiler.cc 16 +++ b/libshaderc_util/src/compiler.cc
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ |
H A D | 0001-Tell-scons-to-use-build-settings-from-environment-va.patch | 31 - help='Select the C compiler to use') 32 + help='Select the C compiler to use', 36 help='Sets flags for the C and C++ compiler', 41 - help='Select the C++ compiler to use') 42 + help='Select the C++ compiler to use', 46 help='Sets flags for the C++ compiler',
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | utils.py | 413 # Helper function to get the host compiler version 414 # Do not assume the compiler is gcc 421 compiler = d.getVar("BUILD_CC") 423 if compiler.startswith('ccache '): 424 compiler = compiler[7:] 430 output = subprocess.check_output("%s --version" % compiler, \ 433 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8"))) 437 bb.fatal("Can't get compiler version from %s --version output" % compiler) 440 return compiler, version 449 compiler = d.getVar("BUILD_CC") [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/ |
H A D | no-musttail-arm.patch | 15 Source/WTF/wtf/Compiler.h | 2 +- 18 diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h 20 --- a/Source/WTF/wtf/Compiler.h 21 +++ b/Source/WTF/wtf/Compiler.h
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/protobuf/ |
H A D | protobuf-c_1.5.0.bb | 31 PACKAGE_BEFORE_PN = "${PN}-compiler" 33 FILES:${PN}-compiler = "${bindir}" 35 RDEPENDS:${PN}-compiler = "protobuf-compiler" 36 RDEPENDS:${PN}-dev += "${PN}-compiler"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/iozone3/iozone3/ |
H A D | parallelism.patch | 23 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 32 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 41 # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O 50 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 59 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 68 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 77 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 86 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O 95 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
|
/openbmc/libmctp/ |
H A D | meson.build | 51 compiler = meson.get_compiler('c') variable 54 compiler.links( 78 compiler.links( 94 compiler.links( 116 compiler.links( 173 sizeof_mctp = compiler.sizeof( 178 sizeof_binding_i2c = compiler.sizeof(
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2/ |
H A D | 0001-configure-Filter-out-buildpaths-from-CC.patch | 18 @@ -261,7 +261,9 @@ GP_CONFIG_MSG([Compiler],[${CC}]) 26 [The C compiler we are using]) 33 @@ -103,8 +103,10 @@ GP_CONFIG_MSG([Compiler],[${CC}]) 38 - [The C compiler we're using]) 42 + [The C compiler we are using])
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | uninitialized_var.cocci | 7 /// For any compiler warnings about uninitialized variables, just add 10 /// compiler warnings (e.g. "unused variable"). If the compiler thinks it 11 /// is uninitialized, either simply initialize the variable or make compiler 13 /// obviously redundant, the compiler's dead-store elimination pass will make
|
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/files/ |
H A D | 0001-Revert-meson-do-not-pull-in-clc-for-clover.patch | 17 src/compiler/meson.build | 2 +- 41 diff --git a/src/compiler/meson.build b/src/compiler/meson.build 43 --- a/src/compiler/meson.build 44 +++ b/src/compiler/meson.build
|