1.4.0 on Ubuntu 12.04 fails to compile
The error I get is: build/src/liboslexec/llvm_ops.s:334:37: error: invalid use of function-only attribute define void @osl_assert_nonnull(i8* readnone %x, i8* %msg) #3 {
What version of LLVM are you using?
3.3
Can you do a 'make nuke' then a 'make VERBOSE=1 > build.log' and paste here (or send me) the resulting log? I'd like to see the whole sequence of events that leads to this error.
The problem was that I had clang 3.4 in my path. I totally forgot about that...
Ah, so a mismatch between the version that was generating the llvm_ops.s bitcode, versus the one that was consuming it at runtime? Yeah, I can see that being a problem.