Cannot build static libv8 with partition_alloc enabled

11 views
Skip to first unread message

Jeroen Ooms

unread,
Apr 8, 2026, 6:44:35 PM (8 days ago) Apr 8
to v8-dev
I started from the working homebrew recipe for v8 14.6, but after adding :

      v8_monolithic:                true,
      v8_static_library:            true,

The build starts failing in partition_alloc/shim/allocator_shim_dispatch_to_noop_on_free.cc with:

global_new_delete.h:55:1: error: visibility does not match previous declaration

See full log here. A workaround to get the static build to work is to add 

   v8_enable_partition_alloc: false,

But maybe the problem can be fixed in partition_alloc ?

Reply all
Reply to author
Forward
0 new messages