The real problem appears to be in storage/innobase/include/sync0rw.ic at line 242.
Changing return(os_atomic_increment(&(lock->lock_word), amount));
to return(os_atomic_increment_lint(&(lock->lock_word), amount));
appears to resolve the issue. At least I am able to compile past that point.
My guess on the error was slightly incorrect.
The real problem appears to be in storage/ innobase/ include/ sync0rw. ic at line 242.
Changing
return( os_atomic_ increment( &(lock- >lock_word) , amount));
return( os_atomic_ increment_ lint(&( lock->lock_ word), amount));
to
appears to resolve the issue. At least I am able to compile past that point.