<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-devtools, branch gatesgarth</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=gatesgarth</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=gatesgarth'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2021-02-01T18:58:59+00:00</updated>
<entry>
<title>compiler-rt: Disable sanitizer builds</title>
<updated>2021-02-01T18:58:59+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-01-28T05:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=04a1194c78563524659f27941304e564956792b1'/>
<id>urn:sha1:04a1194c78563524659f27941304e564956792b1</id>
<content type='text'>
Sanitizers include crypt.h from libcrypt to build, so when using llvm runtime this
becomes important to break the cyclic dependency

compiler-rt-&gt;libxcrypt-&gt;compiler-rt

Fixes #425

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang/llvm: Upgrade to 11.1.0-rc2</title>
<updated>2021-01-26T20:59:02+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-01-25T23:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=67a7cad4bb48ef569b4eeb4b3c923133d2d422a6'/>
<id>urn:sha1:67a7cad4bb48ef569b4eeb4b3c923133d2d422a6</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: for x86_64, set Yocto GCC install search path</title>
<updated>2021-01-25T23:40:54+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2021-01-25T08:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=39e9ec68cd97a059103c975aa785165c574e0aba'/>
<id>urn:sha1:39e9ec68cd97a059103c975aa785165c574e0aba</id>
<content type='text'>
Under Yocto host, while using clang-native to build, it searches
install host gcc failed which causing include file not found
[snip]
|clang++ -target x86_64-linux  -MMD -MF src/base/files/file_path_constants.o.d -I../../../tools/gn/src -I. \
-isystem/tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/recipe-sysroot-native/usr/include -O2 -pipe \
-std=c++17 -c ../../../tools/gn/src/base/files/file_path_constants.cc -o src/base/files/file_path_constants.o
|../../../tools/gn/src/base/files/file_path_constants.cc:7:10: fatal error: 'iterator' file not found
|#include &lt;iterator&gt;
|         ^~~~~~~~
[snip]

Set three Yocto based GCC triple: poky, oe-core and wind river

Before aplly the patch
[snip]
$ ../recipe-sysroot-native/usr/bin/clang++ -v
clang version 11.0.1 (https://github.com/llvm/llvm-project 43ff75f2c3feef64f9d73328230d34dac8832a91)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/buildarea/raid5/hjia/wrlinux-20/build_master-wr_browser_2021012017/build-gn-native/tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/chromium-87.0.4280.141/../recipe-sysroot-native/usr/bin
[snip]

After aplly the patch:
[snip]
$ clang-11 -v
clang version 11.0.1 (https://github.com/llvm/llvm-project 22c3241ff9a6224261df48d0258957fd8acc3d64)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /buildarea/raid5/hjia/wrlinux-20/build_master-wr_browser_2021012017/build/tmp-glibc/work/x86_64-linux/clang-native/11.0.1-r0/build/bin
Found candidate GCC installation: /usr/lib//x86_64-wrs-linux/10.1.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-wrs-linux/10.1.0
Selected GCC installation: /usr/lib//x86_64-wrs-linux/10.1.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
[snip]

BTW, it is hardly to insert a triple by the replacement of TARGET_SYS
(=${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}), since TARGET_VENDOR
is different between clang and clang-native

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
</content>
</entry>
<entry>
<title>clang: Update to 11.0.1 rc2</title>
<updated>2020-12-24T07:13:06+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-12-20T00:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=216da5f0313271257fc564fb86445cf9c62d0101'/>
<id>urn:sha1:216da5f0313271257fc564fb86445cf9c62d0101</id>
<content type='text'>
Changes in this bump

* 43ff75f2c3fe [AArch64][GlobalISel] Promote scalar G_SHL constant shift amounts to s64.
* 9caca7241d44 [AArch64][GlobalISel] Use the look-through constant helper for the shift s32-&gt;s64 custom legalization.
* d104e582838f [CMake] Avoid __FakeVCSRevision.h with no git repository
* f5f8d86dc4c9 Don't error for zero-length arange entries
* 280e47ea0e83 [AArch64][GlobalISel] Narrow 128-bit regs to 64-bit regs in emitTestBit
* 9e16c5bfae6e [AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets.
* 6ec777c2f649 [Support] PR42623: Avoid setting the delete-on-close bit if a TempFile doesn't reside on a local drive
* f684355e0292 [Support][Windows] Fix incorrect GetFinalPathNameByHandleW() return value check in realPathFromHandle()
* 98f575ff55bf Don't reject calls to MinGW's unusual _setjmp declaration.
* 0312bec0d757 Recognize setjmp and friends as builtins even if jmp_buf is not declared yet.
* fdab756331f3 [Sema] Handle objc_super special lookup when checking builtin compatibility
* adf845300c9c [Sema] Introduce BuiltinAttr, per-declaration builtin-ness
* 200eb1abe2a1 Stop ExtractTypeForDeductionGuide from recursing on TypeSourceInfo
* 700baa009dc6 [MC][ELF] Accept abbreviated form with sh_flags and sh_entsize
* 861b2a24bc49 [KernelAddressSanitizer] Fix globals exclusion for indirect aliases
* 8511a8df838f [InstCombine] canonicalizeSaturatedAdd(): last fold is only valid for strict comparison (PR48390)
* 934376da5851 [NFC][InstCombine] Add test coverage for @llvm.uadd.sat canonicalization
* fc23bc9b30bf [SemaTemplate] Stop passing insertion position around during VarTemplate instantiation
* ca8de9ad8895 [X86] Fix crash with i64 bitreverse on 32-bit targets with XOP.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>rpm: Use gcc for building rpm on all mips arches</title>
<updated>2020-12-15T02:27:59+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-12-14T17:53:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=c271c50d4a8fceedc2f72b0bf4f91d34172efd15'/>
<id>urn:sha1:c271c50d4a8fceedc2f72b0bf4f91d34172efd15</id>
<content type='text'>
llvm openmp implementation is not yet ported to mips

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Update to latest on 11.x release</title>
<updated>2020-12-13T02:35:19+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-12-12T03:43:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9ef0b217f5ce2c523da443616267fb2c1395846d'/>
<id>urn:sha1:9ef0b217f5ce2c523da443616267fb2c1395846d</id>
<content type='text'>
Brings in following fixes

* abeec5d081f [lldb] Report old modules from ModuleList::ReplaceEquivalent
* b618cf7a378 [lldb] GetSharedModule: Collect old modules in SmallVector
* 93fffe98d5c [lldb] Minidump: check for .text hash match with directory
* 393eac16e49 Add hashing of the .text section to ProcessMinidump.
* 98fa273339a [lldb] Normalize paths in new test
* 561e1ce1a82 [lldb] Fix GetRemoteSharedModule fallback logic
* 852f4d8eb6d [Sparc] Remove cast that truncates immediate operands to 32 bits.
* b091768e60e [LLD][COFF] Fix crash with /summary and PCH input files
* 59012b685fd [CUDA] Another attempt to fix early inclusion of &lt;new&gt; from libstdc++
* aa29049404e [CUDA] Unbreak CUDA compilation with -std=c++20
* 14d60e9a80d [X86][AVX] Only share broadcasts of different widths from the same SDValue of the same SDNode (PR48215)
* a21e609d6a2 [X86] Add broadcast merge test case for PR48215
* 0feb4bc5295 Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole
* b430f94d005 [Clang][CodeGen][RISCV] Fix hard float ABI for struct with empty struct and complex
* a4eaecf122e [Clang][CodeGen][RISCV] Fix hard float ABI test cases with empty struct
* ba223fa19d3 [Clang][CodeGen][RISCV] Add hard float ABI tests with empty struct
* edc57e7e7ca Guard `find_library(tensorflow_c_api ...)` by checking for TENSORFLOW_C_LIB_PATH to be set by the user
* 542174d77de Implement .variant_pcs directive
* 724f62a5024 Add fatal error for unnamed SVE variadic arguments
* a60b9f1bf32 Add fatal error when running out of registers for SVE tuple call arguments
* 79cac55bf04 Fix unwind info relocation with large code model on AArch64
* bb852a09ae3 [GNU ObjC] Fix a regression listing methods twice.
* 2cf5c80ab6d [HIP] Fix static-lib test CHECK bug
* 19a8a7445dd [HIP] Fix HIP test on windows due to lld suffix
* 8b89bc0de0e [WebAssembly] Don't fold frame offset for global addresses
* a082c730b89 [WebAssembly] Fix FastISel address calculation bug
* 12c4c6cd770 (tag: llvmorg-11.0.1-rc1) Build reproducible tarballs for releases
* fd623ba8061 Fix crash after looking up dwo_id=0 in CU index.
* f590845f501 Revert "[clang-format] Fix AlignConsecutive on PP blocks"
* 890fdb8031e [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in complex wrapper headers.
* 075cca34483 [RTDYLD] support absolute relocations where needed
* d8e8ae195a2 Revert "[SemaTemplate] Stop passing insertion position around during VarTemplate instantiation"
* e4500bab8b2 [AArch64][GlobalISel] Handle rtcGPR64RegClassID in AArch64RegisterBankInfo::getRegBankFromRegClass()
* 03565ffd5da [CMake][compiler-rt][libunwind] Compile assembly files as ASM not C, unify workarounds
* 8ac70957806 [SemaTemplate] Stop passing insertion position around during VarTemplate instantiation
* bbe6cbbed8c [stack-clash] Fix probing of dynamic alloca
* aac36687f79 Fix interaction between stack alignment and inline-asm stack clash protection
* a1e0363c740 Fix limit behavior of dynamic alloca
* 3e8d9807d66 [X86] Don't produce bad x86andp nodes for i1 vectors
* 973b95e0a84 [MCA][LSUnit] Correctly update the internal group flags on store barrier execution. Fixes PR48024.
* 06f479cba3a [CUDA] Extract CUDA version from cuda.h if version.txt is not found
* d50044e809d [CUDA] Improve clang's ability to detect recent CUDA versions.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>rpm: Use gcc on arches where llvm omp is not available</title>
<updated>2020-11-17T16:02:17+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-17T04:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=bb5f90d9e86a8f0949545d2cace3ad53bca504d8'/>
<id>urn:sha1:bb5f90d9e86a8f0949545d2cace3ad53bca504d8</id>
<content type='text'>
rpm needs omp, therefore it wont compile with clang on architectures not
supporting llvm libomp e.g. rv32

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Fix the __NR_futex_time64 patch</title>
<updated>2020-11-17T16:02:17+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-16T20:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=aff3d51fd973c5543983f2a9456cfd6e7703505d'/>
<id>urn:sha1:aff3d51fd973c5543983f2a9456cfd6e7703505d</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Update to latest on release/11.x branch</title>
<updated>2020-11-16T00:51:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-15T00:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=81128c31544863189d2fec11b74fa4589cd1651d'/>
<id>urn:sha1:81128c31544863189d2fec11b74fa4589cd1651d</id>
<content type='text'>
The minor release is bumped to 11.0.1

Changes is this bump are

* 0874e7ef66c Allow init_priority values &lt;= 100 and &gt; 65535 within system headers.
* 02004c9e7c9 [ADT] Fix for ImmutableMapRef
* 85ce339f1bd [cmake] Fix build of attribute plugin example on Windows
* ef4ffcafbb2 [DAE] MarkLive in MarkValue(MaybeLive) if any use is live
* 3c687677678 DeferredDiagnosticsEmitter crashes
* 701addff1b7 [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast
* 5ad2592b5dc [X86] Fix cpu name typos
* 8fc424f26bf Add release tarballs for libclc
* 83716db47f9 [ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan
* 1ff84a04aeb BPF: fix incorrect DAG2DAG load optimization
* 38399ced95b [ConstantFold] Make areGlobalsPotentiallyEqual less aggressive.
* b59b6b662bb Import github action definitions from release/10.x branch
* 3039965645c Bump version to 11.0.1

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Update riscv32 fix to match upstream submitted version</title>
<updated>2020-11-16T00:51:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-14T23:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=86ab1ce8c667b54e3da1128bb9f05f51adbe9c0b'/>
<id>urn:sha1:86ab1ce8c667b54e3da1128bb9f05f51adbe9c0b</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
