yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] fKm:
Yeah cool, gonna try that. Thank you!
[Android Software/Hacking General [Developers Only]] spezi77:
BTW, we have official taimen support now. Device repos were pushed recently.

Sorry for off-topic. If you need anything else you could add me on telegram
[Android Software/Hacking General [Developers Only]] nicerok:
[MENTION=5051294]frap129[/MENTION], Hello! Can you help me to choose DragonTC version. I want to compile my own lineage 14.1 build (7.1.2) and kernel 3.10.108. Device is Xiaomi Mi4C

And can you please DM me your contact details, i want to ask some questions.(if you can)

Thank you!
[Android Software/Hacking General [Developers Only]] KuranKaname:
None on that kernel lol
[Android Software/Hacking General [Developers Only]] nicerok:
why? which toolchain based on clang/llvm i should use?
[Android Software/Hacking General [Developers Only]] :
None. 3.10 doesn't have support for clang compilation.
[Android Software/Hacking General [Developers Only]] fKm:
Hey [MENTION=5091819]spezi77[/MENTION], I try to compile ABC Rom for taimen with DragonTC and get this error: https://hastebin.com/zawariyiqu.cs

I already cloned your externals_libcxx repo from Pixeldust but that doesn't seem to fix it. Do you know a fix?

Btw: Can you maybe point me to the commits which are necessary for building with sdclang? I think DragonTC won't work at all :silly:
[Android Software/Hacking General [Developers Only]] spezi77:
Do you use Telegram? I'll send you a pm in a mom..
[Android Software/Hacking General [Developers Only]] fKm:
Hey guys, I am trying to compile BenzoRom for taimen. They use DragonTC 8.0. I get this error:

FAILED: /root/android/BenzoRom/out/soong/.intermediates/system/keymaster/libkeymaster_portable/android_arm64_armv8-a_kryo_core_shared_cfi/libkeymaster_portable.so
prebuilts/clang/host/linux-x86/8.0/bin/clang++ /root/android/BenzoRom/out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm64_armv8-a_kryo_core/crtbegin_so.o @/root/android/BenzoRom/out/soong/.intermediates/system/keymaster/libkeymaster_portable/android_arm64_armv8-a_kryo_core_shared_cfi/libkeymaster_portable.so.rsp prebuilts/clang/host/linux-x86/8.0/lib64/clang/8.0/lib/linux/libclang_rt.ubsan_standalone-aarch64-android.so /root/android/BenzoRom/out/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/android_arm64_armv8-a_kryo_core_static/libcompiler_rt-extras.a /root/android/BenzoRom/out/soong/.intermediates/build/soong/libatomic/android_arm64_armv8-a_kryo_core_static/libatomic.a /root/android/BenzoRom/out/soong/.intermediates/build/soong/libgcc/android_arm64_armv8-a_kryo_core_static/libgcc.a /root/android/BenzoRom/out/soong/.intermediates/external/boringssl/libcrypto/android_arm64_armv8-a_kryo_core_shared/libcrypto.so /root/android/BenzoRom/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_kryo_core_shared/libc.so /root/android/BenzoRom/out/soong/.intermediates/bionic/libm/libm/android_arm64_armv8-a_kryo_core_shared/libm.so /root/android/BenzoRom/out/soong/.intermediates/bionic/libdl/libdl/android_arm64_armv8-a_kryo_core_shared/libdl.so /root/android/BenzoRom/out/soong/.intermediates/bionic/libc/crtend_so/android_arm64_armv8-a_kryo_core/obj/bionic/libc/arch-common/bionic/crtend_so.o -o /root/android/BenzoRom/out/soong/.intermediates/system/keymaster/libkeymaster_portable/android_arm64_armv8-a_kryo_core_shared_cfi/libkeymaster_portable.so -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libkeymaster_portable.so -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,--no-rosegment -Wl,--pack-dyn-relocs=android -fuse-ld=lld -Wl,--no-undefined -Wl,--hash-style=gnu -Wl,-z,max-page-size=4096 -flto -fsanitize-cfi-cross-dso -fsanitize=cfi -Wl,-plugin-opt,O1
Called function is not the same type as the call!
tail call void @EC_KEY_free(%struct.ec_key_st* %5) #20, !dbg !31198
LLVM ERROR: Broken function found, compilation aborted!
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

I already added libkeymaster to the exceptions in dragontc.mk but I still get this error :crying:
[Android Software/Hacking General [Developers Only]] V4LKyR:
Tried to build Dragon TC for my system, got this error:

/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/home/v4lkyr/android/tools/toolchains/dtc/cmake/lib64/clang/9.0.0/lib/linux/libclang_rt.fuzzer-i386.a(FuzzerCrossOver.cpp.o)) to format elf64-x86-64 (fuzzer.o) is not supported
projects/compiler-rt/lib/fuzzer/CMakeFiles/clang_rt.fuzzer-i386.dir/build.make:114: recipe for target 'lib64/clang/9.0.0/lib/linux/libclang_rt.fuzzer-i386.a' failed
make[2]: *** [lib64/clang/9.0.0/lib/linux/libclang_rt.fuzzer-i386.a] Error 1
make[2]: *** Deleting file 'lib64/clang/9.0.0/lib/linux/libclang_rt.fuzzer-i386.a'
CMakeFiles/Makefile2:25514: recipe for target 'projects/compiler-rt/lib/fuzzer/CMakeFiles/clang_rt.fuzzer-i386.dir/all' failed
make[1]: *** [projects/compiler-rt/lib/fuzzer/CMakeFiles/clang_rt.fuzzer-i386.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

The command I used:

./build_dtc 9.0 -march=skylake -mtune=skylake -m64 thinlto
[Android Software/Hacking General [Developers Only]] prakosza:
Hello. I'm using newest prebuild dragonTC 9 from xanaxdroid but have a problem when trying to compile a kernel with it. Clang can't open shared libraries called libz3.so.4.8. It seems that I don't have it... I'm on ubuntu 18.04 and the kernel itself compiles when using google toolchains with clang.
[Android Software/Hacking General [Developers Only]] TheHenkGameKing:
[MENTION=5894230]V4LKyR[/MENTION] Currently running into the same problem, did you manage to fix it?

Managed to fix it by re-installing dependencies on BBQLinux
[Android Software/Hacking General [Developers Only]] mesziman:
just install latest libz3-dev and symlink it:

ln -s /usr/lib/x86_64-linux-gnu/libz3.so /usr/lib/libz3.so.4.8

latest problem from xanaxdroid:

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by clang)
[Android Software/Hacking General [Developers Only]] quake73:
I'm getting this error while building BenzoROM: https://del.dog/otifocosoq.rb
[Android Software/Hacking General [Developers Only]] fKm:
Not sure if you fixed it already, but I was able to fix it by installing Ubuntu 19.04 :good:
[Android Software/Hacking General [Developers Only]] fKm:
I am trying to compile BenzoRom for my Pixel 4 XL and get this error: https://hastebin.com/nemohusuno.rb

Is someone able to help me with this? I thought it was linked with this commit: https://github.com/BenzoRom/bionic/...51753f7#diff-a3d7b9e921f9ef1df28182c844c12861 but reverting that one doesn't help
[Android Software/Hacking General [Developers Only]] quake73:
I think it might be that "armv8-2a" for TARGET_2ND_ARCH_VARIANT. I got the same error while trying to build for Mi 9T Pro (also sm8150). Here's my combination of cpu in boardconfig.mk:

TARGET_ARCH := arm64

TARGET_ARCH_VARIANT := armv8-2a

TARGET_CPU_ABI := arm64-v8a

TARGET_CPU_ABI2 :=

TARGET_CPU_VARIANT := generic

TARGET_CPU_VARIANT_RUNTIME := cortex-a76

TARGET_2ND_ARCH := arm

TARGET_2ND_ARCH_VARIANT := armv8-a

TARGET_2ND_CPU_ABI := armeabi-v7a

TARGET_2ND_CPU_ABI2 := armeabi

TARGET_2ND_CPU_VARIANT := generic

TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a76

Hope it helps.
[Android Software/Hacking General [Developers Only]] fKm:
Gonna try that, thanks a lot!
[Android Software/Hacking General [Developers Only]] frap129:
I personally haven't done any benchmarking, since my device broke while this was still being developed. [MENTION=2699658]xanaxdroid[/MENTION] is letting me borrow his old Nexus 6, so I will definitely run some tests this weekend.
[Android Software/Hacking General [Developers Only]] frap129:
If arm mode is still included, I just forgot to remove it. I originally included it to fix a bug, but the update to marshmallow made arm mode non-functional
[Android Software/Hacking General [Developers Only]] frap129:
DragonTC was primarily designed for marshmallow, can't give much help on other versions. Sorry.
[Android Software/Hacking General [Developers Only]] tetsuo55:
Thanks i tried to hack around but too many things changed so i had to give up (i can't touch bionic and libcxx because i need them to stay the same for binary compatibility)

Is it maybe an option to provide older versions of clang as a drop in replacement for the prebuilt from AOSP?
[Android Software/Hacking General [Developers Only]] frap129:
Its not necessarily because clang is new, 3.6 should work fine with Lollipop. The build commit is whats causing the issue
[Android Software/Hacking General [Developers Only]] tetsuo55:
Ok I will try using dragontc 3.6 after I get the compile working with uber optimizations
[Android Software/Hacking General [Developers Only]] frap129:
Simply add the troublesome module name to the DISABLE_DTC make variable in build/core/dragontc.mk. In this case, add libLLVMSupport_32
[Android Software/Hacking General [Developers Only]] Adromir:
I already did that, but still its coming up, maybe I did something wrong?

# Disable modules that don't work with DragonTC. Split up by arch.
DISABLE_DTC_arm := \
libLLVMSupport_32 \
libpng_32

DISABLE_DTC_arm64 := \
libLLVMSupport_32 \
libpng_32

I don't see an error though i made
[Android Software/Hacking General [Developers Only]] frap129:
What device?

EDIT: It looks like you didnt add the commits to prebuilts/ndk
[Android Software/Hacking General [Developers Only]] nicknitewolf:
Oops... I forgot that repo sync removes the cherry picks:laugh:
[Android Software/Hacking General [Developers Only]] nicknitewolf:
bc lib: libclcore.bc (/home/nick/android/cm-13.0/out/target/product/wt88047/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/libclcore.bc)
WARNING: Linking two modules of different data layouts: '/home/nick/android/cm-13.0/out/target/product/wt88047/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/ll32/allocation.bc' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64' whereas 'llvm-link' is 'e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64'

WARNING: Linking two modules of different data layouts: '/home/nick/android/cm-13.0/out/target/product/wt88047/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/ll32/math.bc' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64' whereas 'llvm-link' is 'e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64'

error: Unknown attribute kind (48)
frameworks/rs/driver/runtime/build_bc_lib_internal.mk:96: recipe for target '/home/nick/android/cm-13.0/out/target/product/wt88047/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/libclcore.bc' failed
make: *** [/home/nick/android/cm-13.0/out/target/product/wt88047/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/libclcore.bc] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/nick/android/cm-13.0'

#### make failed to build some targets (02:13:33 (hh:mm:ss)) ####

Real error this time
[Android Software/Hacking General [Developers Only]] frap129:
Did you add the cherry-picks in frameworks/rs back?
[Android Software/Hacking General [Developers Only]] s8911324:
I got this how could i fix ??

Import includes file: /home/cpflayan/android/system/out/target/product/angler/obj/SHARED_LIBRARIES/libjni_eglfence_intermediates/import_includes

make: *** No rule to make target `prebuilts/ndk/current/platforms/android-9/arch-arm64/usr/lib/crtbegin_so.o', needed by `/home/cpflayan/android/system/out/target/product/angler/obj/SHARED_LIBRARIES/libjni_eglfence_intermediates/LINKED/libjni_eglfence.so'. Stop.
[Android Software/Hacking General [Developers Only]] frap129:
it looks like you accidentally deleted the NDK
[Android Software/Hacking General [Developers Only]] nicknitewolf:
I just recompiled and it worked...

Is it because I never set the DragonTC version before and set the wrong clang version?

https://github.com/xnickbrandtx/android_build/commit/287f12ad07bc4a85c767c6d72513684285a6460e

And does this compile with Dragon TC?
[Android Software/Hacking General [Developers Only]] frap129:
Yes. I'll add that to the op. Thank you for finding that
[Android Software/Hacking General [Developers Only]] benschhold:
is it normal that so many modules are not compatible for arm64 cm13?
[Android Software/Hacking General [Developers Only]] frap129:
Yes, simply because arm64 compiles nearly 2 times as many target modules (both 32 and 64bit versions)

EDIT: From the looks of the Android Gerrit, android N will use a close to stock clang 3.8 version as default. This means that all modules will be compatible with DragonTC, but not necessarily Polly optimizations
[Android Software/Hacking General [Developers Only]] Xak:
[MENTION=5051294]frap129[/MENTION] How can I compile Cyanogenmod 12.1 for the trletmo tmo note 4 using DragonTC, and other tool chains. I am semi-new to compiling not new to linux. I used a rom by [MENTION=4712992]ZION959[/MENTION] CMRemix that had DragonTC and I wanted to incorporate it into my own builds of Cyanogenmod 12.1 . I read op on How to build dragontc. But once I build it how do I switch to it / use it on my compiling cm 12.1 rom. /mycm12/doc ? New to cherry picking as well. Read your guide on switching to clang but how do you do that with DragonTC and for a rom like CM12.1
[Android Software/Hacking General [Developers Only]] kailashrs:
Hey [MENTION=5051294]frap129[/MENTION], I tried to build AICP mm using ur toolchain but I get this:

target thumb C: libc_dns <= bionic/libc/dns/net/gethnamaddr.c

clang: error: unable to execute command: Segmentation fault (core dumped)

clang: error: clang frontend command failed due to signal (use -v to see invocation)

clang version 3.7

Target: arm--linux-android

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg:

********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:clang: note: diagnostic msg: /tmp/base64-a1a1b0.c

clang: note: diagnostic msg: /tmp/base64-a1a1b0.sh

clang: note: diagnostic msg:

********************

make: *** [/home/kailashrs/aicp/out/target/product/condor/obj/STATIC_LIBRARIES/libc_dns_intermediates/dns/net/base64.o] Error 254

make: *** Waiting for unfinished jobs....

make: Leaving directory `/home/kailashrs/aicp'

#### make failed to build some targets 01m:12s

Plzz help...
[Android Software/Hacking General [Developers Only]] frap129:
As stated earlier, DragonTC is not designed for lollipop Roms. Switch to CM13 if you want to use DraginTC

Please read the OP. It says how to fix this and similar issues.
[Android Software/Hacking General [Developers Only]] kailashrs:
Whups sry just noticed that... Thanks

---------- Post added at 12:37 PM ---------- Previous post was at 11:48 AM ----------

It appears to fail on all modules... I added a bunch of modules to the ignore list n still every module appears to throw up this error :/ Help pls
[Android Software/Hacking General [Developers Only]] frap129:
Are you using Uber optimizations? Due to the way that Uber optimizations are implimented, they are fundamentally incompatible
[Android Software/Hacking General [Developers Only]] benschhold:
add this to OP!
[Android Software/Hacking General [Developers Only]] Adromir:
Can you recommend any opts? I tried Archis Opts and they didnt work as well
[Android Software/Hacking General [Developers Only]] frap129:
Will do! Just found this out a few days ago when the latest update broke Screwd ROM.

I'm currently working on my own for marshmallow, although GCC isn't use nearly as much as clang, so DragonTC should be pretty beneficial
[Android Software/Hacking General [Developers Only]] kailashrs:
Lol ya.... Am using UberTC 5.3 for both ROM n kernel... Thanks for the heads up... Was banging my head over this :silly:
[Android Software/Hacking General [Developers Only]] frap129:
Uber toolchains are fine, but uber optimizations in build/core/binary.Mk are incompatible
[Android Software/Hacking General [Developers Only]] kailashrs:
O thanks... I should disable all of em or specific ones ?
[Android Software/Hacking General [Developers Only]] frap129:
All of them
[Android Software/Hacking General [Developers Only]] frap129:
Are you using any other optimizations? Based on the error, it's looks like a OpenMP issue. It may be that Polly's internal parallelization system is breaking gomp.
[Android Software/Hacking General [Developers Only]] Adromir:
Yes I am using Archie's Optimizations for cm13. Well the ones made by vynijkal. Is there a way to disable them for the troublesome stuff? I mean in general or will they always break build, even if I disable them?
[Android Software/Hacking General [Developers Only]] frap129:
Could you link me to your build? I'd have to see it.
[Android Software/Hacking General [Developers Only]] Adromir:
https://github.com/adromir/build/tree/archi?files=1 this is with just the archi opts. I deleted my branch with dragontc because I wanted to start anew, with trying to combine this opts with the uber opts, because they offer a way to easily disable the opts for any module
[Android Software/Hacking General [Developers Only]] mobiusm:
I'm giving dragontc a shot on my build, but I got to say, I already disabled LOTS of modules from using polly. When I say a lot I mean I'm at 61 disabled to this time and I expect this to rise.

Is this normal behavior or could it be that I have done something wrong?
[Android Software/Hacking General [Developers Only]] frap129:
No, most likely its conflicting with current optimizations. If you're using uber optimizations, thats you problem.
[Android Software/Hacking General [Developers Only]] frap129:
Just add -lgomp to POLLY on dtc. Should fix your issue.
[Android Software/Hacking General [Developers Only]] mobiusm:
I am not using any other optimization that I know of :confused:

I will put the build error here when I have time for it.

edit

: I cleared all the disabled polly modules, and ran a clean build. HERE is the error generated. I'd love to know what I did wrong.
[Android Software/Hacking General [Developers Only]] gokart2:
[MENTION=5051294]frap129[/MENTION]

Forgive me if these seem like common sense questions, I'm somewhat new to compiling kernels. Will DragonTC build non-AOSP aarch64 kernels? And do the common makefile optimizations work like -graphite, -g0, -march=armv8-a, etc...? Which version do you recommend to build aarch64 kernels with, if able to? Also, do you plan on posting any prebuilt TC's?
[Android Software/Hacking General [Developers Only]] frap129:
No, it won't compile any Android kernel. It is an LLVM/Clang toolchain, not GCC. Once Android devices start using Linux 3.16 and higher, then maybe. If you would like to use this in a ROM, there is a link to prebuilts in the OP.
[Android Software/Hacking General [Developers Only]] iskandar1023:
doublepost
[Android Software/Hacking General [Developers Only]] frap129:
You could disable the v8 parts in build/core/dragontc.mk, but I recommend that you use v8 from BenzoROM. It's updated and no longer has this error. Just cd into external/v8 and run

git pull https://github.com/BenzoROM/external_v8/
[Android Software/Hacking General [Developers Only]] xanaxdroid:
You will have to add libtoybox to the polly disable list.
[Android Software/Hacking General [Developers Only]] iskandar1023:
Disabling v8 works fine, but i'll try pulling benzo's.

Thanks for your assistance
[Android Software/Hacking General [Developers Only]] spezi77:
Hello [MENTION=5051294]frap129[/MENTION],

I hope that I don't bother you with my question -- I am not sure if this topic was already raised. I am wondering what where the most recent changes to dragonTC in April. Is there anything that needs to be adopted to successfully compile with it?

As long as I stay with older dragonTC prebuilt: 0840b0d... Update Prebuilt March15 I can successfully compile my ROM.

Using prebuilts from April throw this error:

fatal error: error in backend: Constant Island pass failed to converge!
clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 3.8
Target: arm--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/linux-x86/host/3.9/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
target gcc thumb C: libntfs-3g <= external/ntfs-3g/libntfs-3g/xattrs.c
target gcc thumb C: libntfs-3g <= external/ntfs-3g/libntfs-3g/realpath.c
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/assembler-a64-94848f.cpp
clang++: note: diagnostic msg: /tmp/assembler-a64-94848f.sh
clang++: note: diagnostic msg:

********************
target gcc thumb C: libntfs-3g <= external/ntfs-3g/ntfsprogs/utils.c
make: *** [/home/spezi77/android/bs6/out/target/product/mako/obj/SHARED_LIBRARIES/libvixl_intermediates/src/vixl/a64/assembler-a64.o] Error 70

Just in any case, here is my build project: https://github.com/spezi77/android_build/commits/bs6-mako-opt
[Android Software/Hacking General [Developers Only]] frap129:
Are you using 3.8 or 3.9? The error isn't clear on that. If you're using 3.9, then I cant be of much help because that version is still in development and has constant changes upstream. If you're using 3.8, I'll look at the recent changes I've made and re-evaluate them.
[Android Software/Hacking General [Developers Only]] spezi77:
Thanks for your prompt reply. I'm using 3.9 at the moment. I will try next to compile with 3.8 to see whether this solves my problem. Is there any significant difference between 3.8 and 3.9 except for 3.8 bring more stable?

Sent from my beanstalk'd & hellspawn'd N4.
[Android Software/Hacking General [Developers Only]] frap129:
Nope. 3.9 is currently in development, so overall there aren't any major performance increases
[Android Software/Hacking General [Developers Only]] frap129:
The DISABLE_POLLY list is in build/core/dragontc.mk. Add the name of the broken module to the list.
[Android Software/Hacking General [Developers Only]] nicknitewolf:
What about the new error I am experiencing above?

[MENTION=5051294]frap129[/MENTION] I realized that the latest builds have a lot more polly errors. What's up with that?
[Android Software/Hacking General [Developers Only]] frap129:
It's because of Polly. Add the module name (in this case, libF77blasV8 ) to DISABLE_POLLY
[Android Software/Hacking General [Developers Only]] frap129:
They dont unless youre using 3.9, which is highly unstable and not recommended.
[Android Software/Hacking General [Developers Only]] Adromir:
Is it just me, or do the new dtc extremly slow down build times? Like it went down from 2h10m to over 8h on my build system
[Android Software/Hacking General [Developers Only]] mobiusm:
[MENTION=5051294]frap129[/MENTION]

I'm running in a problem when trying to use DTC. Modules keep not building. And I keep adding them to the disabled list (for arm) HERE is an example.

Here is what I've done:

(I am building Resurrection Remix for my phone)

sync a completely fresh build source to a folder

downloaded 3.8 prebuilt to prebuilts/clang/linux-x86/host/

changed the version in build/core/clang/config.mk

cherry picked ONLY this commit to prebuilts/ndk

downloaded and replaced frameworks/rs with yours

cherry picked ONLY this commit to /build

changed "TARGET_DRAGONTC_VERSION := " in build/core/clang/config.mk to be 3.8

Please let me know what I might have done wrong and what I should do next. If you need more information please tell me as well. I really would like to use this :)