From d2b93dfc45a84f8062cf3d2bf92d555787c701dd Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:11:33 -0400 Subject: [PATCH] remove 'GS register is not set as expected' warning --- libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp b/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp index fe33ee3d0c..749d752e76 100644 --- a/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp +++ b/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp @@ -139,10 +139,6 @@ executor::executor(const code_cache_base& cc) { //if we're the first executor created, go setup the signal handling. For now we'll just leave this attached forever static executor_signal_init the_executor_signal_init; - uint64_t current_gs; - if(arch_prctl(ARCH_GET_GS, ¤t_gs) || current_gs) - wlog("x86_64 GS register is not set as expected. EOS VM OC may not run correctly on this platform"); - struct stat s; FC_ASSERT(fstat(cc.fd(), &s) == 0, "executor failed to get code cache size"); code_mapping = (uint8_t*)mmap(nullptr, s.st_size, PROT_EXEC|PROT_READ, MAP_SHARED, cc.fd(), 0);