Opened 10 months ago

#69304 assigned defect

v8-8.3 fails on i386: error: static assertion failed: m != 0 && ((m & (m - 1)) == 0)

Reported by: barracuda156 Owned by: barracuda156
Priority: Low Milestone:
Component: ports Version: 2.9.1
Keywords: i386, snowleopard Cc:
Port: v8-8.3

Description

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/base/macros.h: In instantiation of 'constexpr T RoundDown(T) [with long int m = 0; T = long unsigned int]':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/common/ptr-compr-inl.h:27:50:   required from here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/base/macros.h:348:19: error: static assertion failed: m != 0 && ((m & (m - 1)) == 0)
  348 |   STATIC_ASSERT(m != 0 && ((m & (m - 1)) == 0));
      |                 ~~^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/base/macros.h:200:43: note: in definition of macro 'STATIC_ASSERT'
  200 | #define STATIC_ASSERT(test) static_assert(test, #test)
      |                                           ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/base/macros.h:348:19: note: the comparison reduces to '(0 != 0)'
  348 |   STATIC_ASSERT(m != 0 && ((m & (m - 1)) == 0));
      |                 ~~^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_v8-8.3/v8-8.3/work/v8-cmake-8.3.110.13/v8/src/base/macros.h:200:43: note: in definition of macro 'STATIC_ASSERT'
  200 | #define STATIC_ASSERT(test) static_assert(test, #test)
      |                                           ^~~~
make[2]: *** [CMakeFiles/v8_initializers.dir/v8/src/builtins/x64/builtins-x64.cc.o] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.