Skip to content
This repository was archived by the owner on Dec 16, 2020. It is now read-only.
This repository was archived by the owner on Dec 16, 2020. It is now read-only.

v8 does not build on macos #18

@bianpengyuan

Description

@bianpengyuan

v8 cannot be built on mac due to a link error, which makes istio-proxy CI not green: istio/proxy#2231.

I can get the same output as circleci on my mac locally:

ld: warning: could not create compact unwind for _forkedStackTrampoline: does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
  "wasm::vec<wasm::ExportType*>::free_data()", referenced from:
      wasm::vec<wasm::ExportType*>::~vec() in libv8_lib.lo(v8.o)
  "wasm::vec<wasm::ImportType*>::free_data()", referenced from:
      wasm::vec<wasm::ImportType*>::~vec() in libv8_lib.lo(v8.o)
  "wasm::vec<wasm::Extern*>::free_data()", referenced from:
      wasm::vec<wasm::Extern*>::~vec() in libv8_lib.lo(v8.o)
  "wasm::vec<wasm::ValType*>::free_data()", referenced from:
      wasm::vec<wasm::ValType*>::~vec() in libv8_lib.lo(v8.o)
  "wasm::vec<wasm::ValType*>::make_data()", referenced from:
      wasm::vec<wasm::ValType*>::vec(unsigned long) in libv8_lib.lo(v8.o)
  "wasm::vec<char>::free_data()", referenced from:
      wasm::vec<char>::~vec() in libv8_lib.lo(v8.o)
      wasm::vec<char>::reset() in libv8_lib.lo(v8.o)
  "wasm::vec<char>::make_data()", referenced from:
      wasm::vec<char>::vec(unsigned long) in libv8_lib.lo(v8.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

cc @PiotrSikora

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions