Ticket #64412: patch-asm_goto.diff

File patch-asm_goto.diff, 677 bytes (added by outis, 2 years ago)

fix

  • mariadb-10.7/work/server-mariadb-10.7.1/storage/innobase/include/fil0fil.h

    old new  
    14891489inline bool fil_space_t::set_stopping_check()
    14901490{
    14911491  mysql_mutex_assert_owner(&fil_system.mutex);
    1492 #if defined __clang_major__ && __clang_major__ < 10
     1492#if defined __clang_major__ && (__clang_major__ < 10 || __APPLE__)
    14931493  /* Only clang-10 introduced support for asm goto */
    14941494  return n_pending.fetch_or(STOPPING, std::memory_order_relaxed) & STOPPING;
    14951495#elif defined __GNUC__ && (defined __i386__ || defined __x86_64__)