yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] rpdroky:
Hy [MENTION=5051294]frap129[/MENTION] , i found something that may help against the compiling errors , the google arm_linux_androideabi toolchain cyanogenmod uses doesn't support the -O3 flag you used on dragontc.mk and they create compilation errors even if you include the file in the DISABLE_DTC_arm , so in my point of view the options are 1 we use custom androideabi toolchain with -O3 support like hypertoolchain ( i'm using a older sabermod 4.9 tc for my i9300 compilation because the newer ones crash the camera opening ) or 2 changeing the -O3 flag in dragontc to -O2 til google decide to add -O3 support to theyr toolchain

I may be wrong but this is how my test gone :)

Cheers :highfive:

P.S. When you have the time could you update the prebuilt toolchains? i whould deeply apriciate it :)
[Android Software/Hacking General [Developers Only]] frap129:
A few things.

1) DragonTC and dragontc.mk don't affect arm-linux-androideabi or any other GCC based toolchain. DragonTC is LLVM/Clang ONLY.

2) Polly is only enabled at the -O3 level, so by removing -O3 from dragontc.mk you disable Polly, so there's no point in using DragonTC
[Android Software/Hacking General [Developers Only]] rpdroky:
I guess i need to do more tests then , thanks allot for the quick replay ;)

Cheers :highfive:
[Android Software/Hacking General [Developers Only]] rpdroky:
Well i did a new build only with dragontc and this time it worked , i guess there was a sync error with the androideabi and that's why i had those errors :) Thanks again ;)

Cheers :highfive:
[Android Software/Hacking General [Developers Only]] laperry1:
hey guys, running into the following error compiling CM-13.0 for OP3 on LinuxMint-18-sarah kde...

using Clang ver. 3.7....

any help would be greatly appreciated!!!

target arm C++: libGLESv2_32 <= frameworks/native/opengl/libs/GLES2/gl2.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/Input.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/InputDevice.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/Keyboard.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/KeyCharacterMap.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/KeyLayoutMap.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/VirtualKeyMap.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/IInputFlinger.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/InputTransport.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/VelocityControl.cpp
target thumb C++: libinput_32 <= frameworks/native/libs/input/VelocityTracker.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/EventHub.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputApplication.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputDispatcher.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputListener.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputManager.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputReader.cpp
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputWindow.cpp
target asm: libcrypto_32 <= external/boringssl/linux-arm/crypto/aes/aes-armv4.S
target asm: libcrypto_32 <= external/boringssl/linux-arm/crypto/aes/aesv8-armx.S
clang: error: the clang compiler does not support '-march=armv8-a+crypto'
build/core/binary.mk:886: recipe for target '/home/samadhi/cm13/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libcrypto_intermediates/linux-arm/crypto/aes/aes-armv4.o' failed
make: *** [/home/samadhi/cm13/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libcrypto_intermediates/linux-arm/crypto/aes/aes-armv4.o] Error 1
make: *** Waiting for unfinished jobs....
clang: error: the clang compiler does not support '-march=armv8-a+crypto'
build/core/binary.mk:886: recipe for target '/home/samadhi/cm13/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libcrypto_intermediates/linux-arm/crypto/aes/aesv8-armx.o' failed
make: *** [/home/samadhi/cm13/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libcrypto_intermediates/linux-arm/crypto/aes/aesv8-armx.o] Error 1
make: *** wait: No child processes. Stop.

#### make failed to build some targets (18:04 (mm:ss)) ####
[Android Software/Hacking General [Developers Only]] Surge1223:
Did you read the Android.mk file in external/openssl or external/boringssl? I haven't made the switch to clang yet but just from reading the Android.mk in the crypto dirs and from reading the build/core/combo Android.mk file for clang and what flags need to be set etc I'm going to guess it's only one a few things compiler flags withstanding

Might be able to help, but first, What have you tried so far?
[Android Software/Hacking General [Developers Only]] laperry1:
hey, thanks for your response! just added the following to dragontc.mk:

DISABLE_DTC_arm := v8_mksnapshot.arm64 v8_mksnapshot.arm

DISABLE_DTC_arm64 := v8_mksnapshot.arm64 v8_mksnapshot.arm libm libblasV8 libperfprofdcore libperfprofdutils perfprofd libjavacrypto libscrypt_static libcrypto

...got past the previous error, now dealing w/Polly conflicts so, i guess i'll be adding a bunch of modules to DISABLE_POLLY...
[Android Software/Hacking General [Developers Only]] NATO66613:
Does dtc is compitable with archi optimizations. And whats status on dtc rom optimizations
[Android Software/Hacking General [Developers Only]] laperry1:
anyone run into the following:

external/p7zip/CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_INVALIDARG : txt = "E_INVALIDARG"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:89:22: note: expanded from macro 'E_INVALIDARG'

#define E_INVALIDARG ((HRESULT)0x80070057L)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:23:10: error: case value evaluates to -2147024882, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:88:23: note: expanded from macro 'E_OUTOFMEMORY'

#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:22:10: error: case value evaluates to -2147287039, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:87:31: note: expanded from macro 'STG_E_INVALIDFUNCTION'

#define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:21:10: error: case value evaluates to -2147467259, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_FAIL : txt = "E_FAIL"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:86:16: note: expanded from macro 'E_FAIL'

#define E_FAIL ((HRESULT)0x80004005L)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:20:10: error: case value evaluates to -2147467260, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_ABORT : txt = "E_ABORT"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:85:17: note: expanded from macro 'E_ABORT'

#define E_ABORT ((HRESULT)0x80004004L)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:19:10: error: case value evaluates to -2147467262, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:84:23: note: expanded from macro 'E_NOINTERFACE'

#define E_NOINTERFACE ((HRESULT)0x80004002L)

^

external/p7zip/CPP/Windows/ErrorMsg.cpp:18:10: error: case value evaluates to -2147467263, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]

case E_NOTIMPL : txt = "E_NOTIMPL"; break ;

^

external/p7zip/CPP/Common/MyWindows.h:83:19: note: expanded from macro 'E_NOTIMPL'

#define E_NOTIMPL ((HRESULT)0x80004001L)

^

7 errors generated.

build/core/binary.mk:735: recipe for target '/home/samadhi/cm13/out/target/product/oneplus3/obj/EXECUTABLES/7z_intermediates/CPP/Windows/ErrorMsg.o' failed

make: *** [/home/samadhi/cm13/out/target/product/oneplus3/obj/EXECUTABLES/7z_intermediates/CPP/Windows/ErrorMsg.o] Error 1

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

target C++: 7z make: *** wait: No child processes. Stop.

#### make failed to build some targets (01:01:00 (hh:mm:ss)) ####
[Android Software/Hacking General [Developers Only]] HaoZeke:
Hey could you comment on using this with sdclang? https://developer.qualcomm.com/software/snapdragon-llvm-compiler-android
[Android Software/Hacking General [Developers Only]] HaoZeke:
What about prebuilts for aarch64?
[Android Software/Hacking General [Developers Only]] frap129:
Prebuilts are arch independent. Clang uses one prebuilt for all architectures
[Android Software/Hacking General [Developers Only]] HaoZeke:
That sounds reasonable but the aosp build keeps looking for a lib64 folder which is missing in the prebuilts but is there in the stock clang

---------- Post added at 11:33 PM ---------- Previous post was at 11:33 PM ----------

Plus there's also the matter of a different sanitizer
[Android Software/Hacking General [Developers Only]] frap129:
What version of aosp are you using? 6.0 is the only officially supported one, but I'm working on updating to 7.0 and 7.1
[Android Software/Hacking General [Developers Only]] HaoZeke:
I'm on 7.0

There does seem to be a major jump from six to seven, if I remember rightly six 6.x doesn't use the ninja build system right? (not that that has anything to do with it)

Has anyone tested building on an arm64 device for 6.x?
[Android Software/Hacking General [Developers Only]] frap129:
Multiple people have used it on Angler (Nexus 6P) which is arm64, including me.
[Android Software/Hacking General [Developers Only]] HaoZeke:
Damn. I'll look into the build system and see if I can workaround. I tried directly linking the folders / files requested.... Only to have it break with a bunch of pointless errors.

Without the sanitizer it refuses to build but I don't know if that needs to be built separately (not well versed in build systems, mostly an enthusiast.)

---------- Post added at 11:46 PM ---------- Previous post was at 11:45 PM ----------

Also, I'd be really glad if anyone can reproduce my issues with another device on 7.0

(stressing 7.0 instead of 7.x since some devices have upgraded kernels and related issues.)
[Android Software/Hacking General [Developers Only]] frap129:
You can check my commits in MapleAOSP build. I have it working in there
[Android Software/Hacking General [Developers Only]] HaoZeke:
Yeah I tried merging branches but that didn't work.. I'll have to go commit by commit... Will keep everyone posted here :D

On a side note this shouldn't be breaking any modules right?
[Android Software/Hacking General [Developers Only]] MasterJack1697:
hi, i have read in the above comments that you are working to make the tc compatible with 7.0/7.1.1 and my question is, is the tc done with nougat?
[Android Software/Hacking General [Developers Only]] NATO66613:
[MENTION=5051294]frap129[/MENTION]

I am developing costom rom based of lineage choud you post Comits need for using dtc on lineage base
[Android Software/Hacking General [Developers Only]] frap129:
Lineage is Nougat based DragonTC is only officially Marshmallow for now
[Android Software/Hacking General [Developers Only]] NATO66613:
you were talking about using diferrent clang in maple os. I woud build carbon but as we know its caf support is more as early WIP.
[Android Software/Hacking General [Developers Only]] NATO66613:
MM?
[Android Software/Hacking General [Developers Only]] vimal101:
yes
[Android Software/Hacking General [Developers Only]] NATO66613:
Rom? Did you made clobber ore modificated bionic
[Android Software/Hacking General [Developers Only]] vimal101:
Tesla-M

And nope i havent modified bionic
[Android Software/Hacking General [Developers Only]] vimal101:
bro r u there
[Android Software/Hacking General [Developers Only]] NATO66613:
try to disble clang for bionic
[Android Software/Hacking General [Developers Only]] vimal101:
how to do that

im a learner so dont be mad for asking noob questions pls
[Android Software/Hacking General [Developers Only]] vimal101:
target thumb C++: libinputflinger_32 <= frameworks/native/services/inputflinger/InputWindow.cpp

target asm: libcrypto_32 <= external/boringssl/linux-arm/crypto/aes/aes-armv4.S

clang: error: the clang compiler does not support '-march=armv8-a+crypto'

make: *** [/home/vimal/lineage/out/target/product/land/obj_arm/SHARED_LIBRARIES/libcrypto_intermediates/linux-arm/crypto/aes/aes-armv4.o] Error 1

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

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

make: Leaving directory `/home/vimal/lineage'

#### make failed to build some targets (04:29 (mm:ss)) ####

someone help me with this
[Android Software/Hacking General [Developers Only]] #Henkate:
I didn't try this toolchain, but it's telling you right there what's the problem:

clang: error: the clang compiler does not support '-march=armv8-a+crypto'

My knowledge is low, but i believe you have to change -march in kernel Makefile. Try -march=armv8, -march=armv8-a or -march=armv7-a or simply delete that flag.

You can find more about such flags here: [GUIDE] [INFO] What are GCC Flags and Optimizations? .
[Android Software/Hacking General [Developers Only]] vimal101:
I'm not good at kernel so can u elaborate please

As I'm starting learn please elaborate
[Android Software/Hacking General [Developers Only]] #Henkate:
Go to the folder where you have the kernel source and open Makefile and search for -mach. I guess the problem is in that Makefile.
[Android Software/Hacking General [Developers Only]] vimal101:
There is no -mach on Makefile of kernel
[Android Software/Hacking General [Developers Only]] #Henkate:
My mistake.

There said "clang", so thats the toolchain flags.

I dont know about toolchain, but there should be some file where the flag -mach is mentioned.

After a google search, i have found that a guy had same problem like you with DragonTC.

Go to page 28 and read from post #273. Maybe the solution from post #275 will help you too.

I cant help you further as i dont have the knowledge... maybe OP can help you.
[Android Software/Hacking General [Developers Only]] vimal101:
Install: /home/vimal/lineage/out/target/product/land/system/lib64/libssl.so

target Package: HTMLViewer (/home/vimal/lineage/out/target/product/land/obj/APPS/HTMLViewer_intermediates/package.apk)

/home/vimal/lineage/out/target/product/land/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsMatrix4x4.o: In function `android::renderscript::Matrix4x4::transpose()':

/home/vimal/Aokp/frameworks/rs/rsMatrix4x4.cpp:(.text._ZN7android12renderscript9Matrix4x49transposeEv+0x2c): undefined reference to `GOMP_parallel_loop_runtime_start'

/home/vimal/Aokp/frameworks/rs/rsMatrix4x4.cpp:(.text._ZN7android12renderscript9Matrix4x49transposeEv+0x38): undefined reference to `GOMP_parallel_end'

/home/vimal/lineage/out/target/product/land/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsMatrix4x4.o: In function `android::renderscript::Matrix4x4::transpose() [clone .polly] [clone .subfn]':

frameworks/rs/rsMatrix4x4.cpp:(.text._ZN7android12renderscript9Matrix4x49transposeEv.polly.subfn+0x20): undefined reference to `GOMP_loop_runtime_next'

frameworks/rs/rsMatrix4x4.cpp:(.text._ZN7android12renderscript9Matrix4x49transposeEv.polly.subfn+0xa0): undefined reference to `GOMP_loop_runtime_next'

frameworks/rs/rsMatrix4x4.cpp:(.text._ZN7android12renderscript9Matrix4x49transposeEv.polly.subfn+0xac): undefined reference to `GOMP_loop_end_nowait'

clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [/home/vimal/lineage/out/target/product/land/obj/SHARED_LIBRARIES/libRSSupport_intermediates/LINKED/libRSSupport.so] Error 1

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

make: Leaving directory `/home/vimal/lineage'

#### make failed to build some targets (03:20 (mm:ss)) ####

how to fix this
[Android Software/Hacking General [Developers Only]] WhyOrean:
[MENTION=5051294]frap129[/MENTION]

Hey Sire !

Any work around for this ?

error: Unknown attribute kind (52) (Producer: 'LLVM5.0.0svn' Reader: 'LLVM 3.8.256229')

FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/5.0/bin/llvm-link /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matrix.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_program.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sample.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sampler.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_convert.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_quaternion.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/arch/clamp.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/allocation.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/math.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/arch/asimd.bc -o /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/libclcore.bc.unstripped 2> >(grep -v \"\\(modules of different\\)\\|^\$\" >&2) ) && (PWD=/proc/self/cwd /home/orio/Android/AOSP/Dragons-Exp/out/host/linux-x86/bin/bcc_strip_attr -o /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/libclcore.bc /home/orio/Android/AOSP/Dragons-Exp/out/target/product/gemini/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/libclcore.bc.unstripped )"
error: Unknown attribute kind (52) (Producer: 'LLVM5.0.0svn' Reader: 'LLVM 3.8.256229')

on libclcore.bc & libclcore_debug.bc

Using DTC 5.0
[Android Software/Hacking General [Developers Only]] frap129:
Nope. I can't provide bug support for versions that aren't tested/recommended
[Android Software/Hacking General [Developers Only]] WhyOrean:
Oki, Thanks :)
[Android Software/Hacking General [Developers Only]] vimal101:
someone help

https://hastebin.com/asoditohut

i added it to diasble polly but still got this error
[Android Software/Hacking General [Developers Only]] XeonDead:
Good day.

I've noticed that BenzoROM uses prebuilt DragonTC 6.0, which doesn't run on my machine.

There's no 6.0 branch in official repo. Can I please get some info where I can find it?
[Android Software/Hacking General [Developers Only]] Rakuu:
I'm using 4.0 with the same error. As far as I can tell it's an issue somewhere with generating bcc_strip_attr, I've tried dropping in framework_rs and the modified ndk and it still builds the prebuilts with the native clang instead of dragon.

Edit: I ended up resolving this by building 3.8 instead of 4.0.
[Android Software/Hacking General [Developers Only]] Rakuu:
Just wanted to update on this, I decided I had time to waste and enabled thinlto, took about a week and a half to get all the excludes. After all that I finally got a build with dragontc compiled, but it wouldn't boot. This was a nougat build and I see it's been said that this is my only, but they were old posts so I thought I'd give it a go. So needless to say, this is just a confirmation to any other readers, as of this posting dragontc is not compatible with anything above MM, but this may change in the future.
[Android Software/Hacking General [Developers Only]] KuranKaname:
Sorry for reviving the thread, but do you have any answer for this? https://hastebin.com/apuvebumaf.rb
[Android Software/Hacking General [Developers Only]] rpdroky:
Try adding ckaty to disable_polly_arm , it should do the trick
[Android Software/Hacking General [Developers Only]] KuranKaname:
I tried, same thing
[Android Software/Hacking General [Developers Only]] xanaxdroid:
What do you mean? In using it on 8.1 with LTO.
[Android Software/Hacking General [Developers Only]] Rakuu:
I'm not sure, I'm not on aosp at this point, but ThinLTO was what made my device not boot, I at that point was to reboot tired with the whole thing to test further without it
[Android Software/Hacking General [Developers Only]] xanaxdroid:
Oh you mean you used ThinLTO on the whole build. Yeah that will cause problems. It caused mine not to boot on M or N. Sorry I missed some of your post because of the app I was using earlier.
[Android Software/Hacking General [Developers Only]] xanaxdroid:
Try reverting this:

https://github.com/pixeldustproject...mmit/76892f0077688e8620c822b958c3fd39c4745bc9

Also what's the date on the toolchain? Is it the one I uploaded recently?
[Android Software/Hacking General [Developers Only]] fKm:
Okay, gonna do that.

I use the latest 7.0 Dragon-TC from you bitbucket repository. I synced it today.

Edit: Okay, reverting that commit doesn't fix the error. Do you think I have to do a make clean after reverting the commit?

Edit2: And I use the aarch64-8.0 GCC from your repository.
[Android Software/Hacking General [Developers Only]] xanaxdroid:
A make clean shouldn't be necessary. I had this problem awhile ago and forgot what it was. You can revert the ThinLTO commit in external/libjpeg-turbo for a quick fix. I'll see if I can figure it out/remember what is was.
[Android Software/Hacking General [Developers Only]] fKm:
Okay. Thanks a lot for the help! I really appreciate it.
[Android Software/Hacking General [Developers Only]] xanaxdroid:
No problem. If you need anything else you can add me on hangouts.
[Android Software/Hacking General [Developers Only]] fKm:
Yeah cool, thanks!

Seems I have to revert much more commits where ThinLTO was enabled. But now I know how to :)
[Android Software/Hacking General [Developers Only]] xanaxdroid:
You shouldn't have to, but I know he picks my repos instead of just forking them so maybe he's missing some commits.
[Android Software/Hacking General [Developers Only]] spezi77:
Right, I had to selectively pick stuff because just forking didn't bring me nowhere.

Currently I am still using your "old" dragontc-2018-02-17 which required me to add arm instruction set to a few repos.

At the point when you switched over to clang_lld I couldn't figure how to follow your direction and get things to work.
[Android Software/Hacking General [Developers Only]] spezi77:
I get the same error for Marlin since I have merged android-8.1.0_r28 ...

I have created a new branch "o2-sdc" in order to compile with SDCLANG for now. Maybe that's an interesting alternative for you until I have been able to sort things out.