I have compiled ntirpc, NFS Ganesha and all dependencies with clang. When I
try to run the code, I get a SIGILL signal triggered from the
"opr_containerof" macro in ntirpc/ntirpc/misc/opr.h.
I'd like to fix this. My preferred option would be to unify the ntirpc
"opr_containerof" and Ganesha "container_of" macros into a single
"container_of" macro. A macro that's defined once (in ntirpc) and that
compiles and runs with both gcc and clang.
I've got a few questions around all this. First of all, does this sound
like a good idea? I could simply update the opr_containerof macro, so that
it also works with clang. What does OPR mean? Is the "opr_containerof"
macro used anywhere else but Ganesha?
Thanks,
Bjorn