Tuesday, January 03, 2023

Re: [UPDATE] lang/node 18.12.1

Looping in Barry since he reportedly had the build working on i386, in
the hope that he can remember the missing puzzle piece.

The patch in www/chromium is against a very different version of v8, so
I don't think that'll be much help here.

My next best guess would be to patch in

#if !defined(V8_HOST_ARCH_64_BIT)

namespace v8 {
namespace base {

inline void Relaxed_Store(volatile AtomicWord* ptr, AtomicWord value) {
Relaxed_Store(reinterpret_cast<volatile Atomic32*>(ptr), value);
}

inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) {
return v8::base::Release_Store(
reinterpret_cast<volatile Atomic32*>(ptr), value);
}

inline AtomicWord Relaxed_Load(volatile const AtomicWord* ptr) {
return Relaxed_Load(reinterpret_cast<volatile const Atomic32*>(ptr));
}

inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) {
return v8::base::Acquire_Load(
reinterpret_cast<volatile const Atomic32*>(ptr));
}

} // namespace base
} // namespace v8

No comments:

Post a Comment