ZapAndersson
ZapAndersson
You can also not compile twice with the same OSLCompiler object. It seems like anything in an #include gets included twice when you do? Do you want me to make...
> Update: I've been trying this and boy is it tricky. I've done like 3 rewrites so far and keep running into corners that are hard to back out of....
Due to the intermittivity of this it's hard to debug, and often I get a crash with no useful callstack, only an "abort was called" exception. I will try to...
I'm wondering if it can have anything to do with issue #1427 ?
Better call stack, with some of the LLVM stuff untangled: @lgritz ``` oslexec.dll!llvm::report_fatal_error(const llvm::Twine & Reason, bool GenCrashDiag) Line 122 C++ oslexec.dll!llvm::report_fatal_error(const char * Reason, bool GenCrashDiag) Line 83 C++...
The actual abort is here  Called from here:  called from here:  called from here:  Called from here:  Called from:  Called from OSL here (as...
I react especially to this line..... 
So it seems this IMAGE_REL_AMD64_ADDR32NB mode is a 32-bit offset based thing, but the one at the end of the above screenshot, IMAGE_REL_AMD65_ADDR64 is true 64 bit. I mad a...
Well actually I got a lot of (probably great, but I barely understand them due to being a total LLVM noob) replies here: https://github.com/llvm/llvm-project/issues/65641 Does any of that tell you...
Yes, lots of good replies at https://github.com/llvm/llvm-project/issues/65641 ... OSL has a line that reads (in llvm_util.cpp https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/blob/main/src/liboslexec/llvm_util.cpp#L1442) //engine_builder.setCodeModel(llvm::CodeModel::Default); I'll try to set it to "::Large" or "::Medium" and see if...