yota9 wrote: As I see in clang adding "-fPIC -pie" to test might help too, I think it would be better solution, could you please try it? The second option might be changing int hot1 = 42 to int hot1[8] = {42}; for example, what do you think? https://github.com/llvm/llvm-project/pull/68996