Comments (9)
(Thanks for proactively pursuing this in upstream and getting it fixed, btw!)
from ndk.
(Thanks for proactively pursuing this in upstream and getting it fixed, btw!)
+1. We're very appreciative of the work you've done to help us, here and on quite a few other bugs :)
from ndk.
The fix for this bug was cherry-picked and will be part of r27 to be released later this month.
from ndk.
Reproduces in ToT clang from today (c54657887b) as well:
clang++: /usr/local/google/work/llvm-monorepo/llvm-project/clang/lib/AST/Decl.cpp:2561: APValue *clang::VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &, bool) const: Assertion `!Init->isValueDependent()' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Reproducer fails with errors on r26.
from ndk.
Non-regression and pretty late in the r27 cycle (and nothing available to cherry-pick yet), so planned for r28. We'll consider a cherry-pick into an r27 minor release if there's a low impact fix from upstream when the time comes.
from ndk.
this is actually a regression, see llvm/llvm-project#93828. the crash shown by @pirama-arumuga-nainar is another crash.
I replaced lines ranging from 85898 to 85912 with
constexpr T&& operator [](uint i)&& noexcept
{
return move(Data[i]);
}
constexpr T const& operator [](uint i) const& noexcept
{
return Data[i];
}
constexpr T& operator [](uint i)& noexcept
{
return Data[i];
}
and ndk 27 crashes while ndk 26 compiles.
from ndk.
Oh, sorry about that, I misunderstood. Thanks for clarifying 👍
In that case, we're still pretty dependent on upstream to provide the fix, but if one becomes available we'll aim to do a minor release for it rather than only picking it up opportunistically (there are always exceptions if the fix is invasive and likely to do more harm than good, but that's very rare).
from ndk.
upstream fixed: llvm/llvm-project@3d361b2
from ndk.
This is unlikely to make it to RC1. We can take it the next time we update the compiler in r27. (As we prep the next clang update, we also need to create a release branch for the r27 clang to be able to get new prebuilts.)
from ndk.
Related Issues (20)
- [FR] push/pop required policies in cmake toolchain file HOT 16
- [DOC] Clarification on 16k page size support for x86_64 devices HOT 3
- [DOC] `system_fonts.h` HOT 7
- [Bug]: Lambda segfaults in Clang HOT 11
- [FR] Official NDK release for Linux arm64 HOT 1
- [Bug]: fatal error: error in backend: Cannot select: 0x10ba8ace0: nxv4f32 = BUILD_VECTOR 0x133163a90, 0x1330f4800, 0x133108d20, 0x1248b9e60 HOT 6
- [BUG] Compilation Error with std::execution in C++17 HOT 3
- [BUG] CLEAR_VARS does not clear LOCAL_STRIP_MODE variable HOT 2
- [Bug]: Android NDK r27 rc2 miscompiles code with inderect gotos HOT 13
- [Bug] NDK's openmp test crashing on x86 with latest LLVM update HOT 4
- Please provide maintainable list of NDK codename-revision pairs HOT 3
- [Bug]: clang compile with -D_FORTIFY_SOURCE=2 -Dstatic= cause undefined symbol: snprintf HOT 7
- [BUG] android-ndk-r26c use -pg ld.lld: error: undefined symbol: _mcount HOT 7
- [Bug]: Compiler Crash HOT 5
- [FR] support libclang? HOT 1
- [BUG] investigate odd find_package behavior HOT 3
- [BUG] NDK 27 no longer supports passing in `CMAKE_SYSTEM_PROCESSOR` to CMake to set the arch HOT 8
- [Bug]: Unable to disable a builtin with -fno-builtin-wmemchr HOT 17
- [BUG] sysroot wrongly includes tflite_support_libz.a? HOT 3
- [BUG] Build error of ncnn for Android 'x86_64' ABI with NDK r27 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndk.