James Farrell

Results 11 comments of James Farrell

https://android.googlesource.com/platform/ndk/+/refs/heads/master/build/ndk-build Conditional nested declaration of the log() function, around line 103.

This is now causing CI test failures with armeabi-v7a-19-new. Example: https://android-build.googleplex.com/builds/tests/view?invocationId=I48700010065660625&testResultId=TR82628113328604546

* cmake v1.0.49 insists that CMAKE_SYSTEM_NAME be set when cross-compiling, and will set it if not provided by the caller. * cmake v1.0.50 removes a workaround to for iOS and...

Note to future someone: Cmake caching makes this one hard to debug. You need to blow away build/aarch64-apple-ios/native/sanitizers between builds.

I reproduced the behavior with NDK 25 and Android API 21 (the example uses different API 16 for arm32, and doesn't compile with more recent versions of the NDK unless...

Some things I have discovered: - Only happens when optimizing. Remove `-Oz` and it compiles quickly. - If I always set the SettingDescBase::max field to 0, the compilation speed is...

Some more things I've discovered: Clang turns global variable initialization into a function `__cxx_global_var_init`. In the IR, that function is marked "please optimize me": ``` ; Function Attrs: minsize nounwind...

Our current hypothesis is that something in `const SettingDesc _settings[]` can't be evaluated as constexpr, and so a special `__cxx_global_var_init` function is being called to initialize the array. That being...

Upstream bug: https://github.com/llvm/llvm-project/issues/55798