Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `wasm::vec<char>::free_data()' #166

Open
SpiralBL0CK opened this issue Apr 20, 2021 · 0 comments
Open

undefined reference to `wasm::vec<char>::free_data()' #166

SpiralBL0CK opened this issue Apr 20, 2021 · 0 comments

Comments

@SpiralBL0CK
Copy link

when compiling v8 embedding app i get this error:
exploit.o: In function wasm::vec<char>::~vec()': /home/pwn/v8/v8/third_party/wasm-api/wasm.hh:63: undefined reference to wasm::vec::free_data()'
exploit.o: In function wasm::vec<char>::vec(unsigned long)': /home/pwn/v8/v8/third_party/wasm-api/wasm.hh:50: undefined reference to wasm::vec::make_data()'
collect2: error: ld returned 1 exit status

Compile Flags:
g++ -I. -Iinclude -O0 -ggdb -I third_party/wasm-api -lv8_monolith -Lout.gn/x64.release.sample/obj/ -pthread -std=c++14 -DV8_COMPRESS_POINTERS -I/usr/local/include -DWASM_API_DEBUG -DBUILD_STATIC_LIB=ON -c ~/Desktop/app.cpp

g++ app.o -L/usr/local/lib -lgsl -lgslcblas -lm -I. -Iinclude -lv8_monolith -Lout.gn/x64.release.sample/obj/ -std=c++14 -DV8_COMPRESS_POINTERS -I/include /home/pwn/v8/v8/out/wee8/obj/libwee8.a -ldl -pthread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant