I've compiled v8 for x86_64 on an Apple M3 Max macbook pro. When I try to
link the static libraies into an app i get the following undefined symbols
_Cr_z_adler32_simd_, referenced from:
_Cr_z_adler32_z in libchrome_zlib.a[2](adler32.o)
_Cr_z_crc32_sse42_simd_, referenced from:
_Cr_z_crc32_z in libchrome_zlib.a[5](crc32.o)
_Cr_z_crc_fold_512to32, referenced from:
_Cr_z_crc_finalize in libchrome_zlib.a[5](crc32.o)
_Cr_z_crc_fold_copy, referenced from:
_Cr_z_copy_with_crc in libchrome_zlib.a[5](crc32.o)
_Cr_z_crc_fold_init, referenced from:
_Cr_z_crc_reset in libchrome_zlib.a[5](crc32.o)
_Cr_z_inflate, referenced from:
zlib_internal::UncompressHelper(zlib_internal::WrapperType, unsigned
char*, unsigned long*, unsigned char const*, unsigned long) in
libcompression_utils_portable.a[2](compression_utils_portable.o)
_Cr_z_inflateEnd, referenced from:
zlib_internal::UncompressHelper(zlib_internal::WrapperType, unsigned
char*, unsigned long*, unsigned char const*, unsigned long) in
libcompression_utils_portable.a[2](compression_utils_portable.o)
zlib_internal::UncompressHelper(zlib_internal::WrapperType, unsigned
char*, unsigned long*, unsigned char const*, unsigned long) in
libcompression_utils_portable.a[2](compression_utils_portable.o)
_Cr_z_inflateInit2_, referenced from:
zlib_internal::UncompressHelper(zlib_internal::WrapperType, unsigned
char*, unsigned long*, unsigned char const*, unsigned long) in
libcompression_utils_portable.a[2](compression_utils_portable.o)
_glibc_cos, referenced from:
v8::base::ieee754::libm_cos(double) in
libv8_base_without_compiler.a[63](external-reference.o)
_glibc_sin, referenced from:
v8::base::ieee754::libm_sin(double) in
libv8_base_without_compiler.a[63](external-reference.o)
When i run nm on the libchome_zlib.a i see a number of U's for symbols of
which the above are inclluded.
I'm wondering what I need to add to get these to be not undefined and I
suspect it might be cause I'm cross compiling.
Haven't been able to test the arm64 versions cause bazel is wanting to
build x86_64 instead of arm64 when i try to build my app.
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/v8-dev/401eb563-1a6f-4468-b6d3-e49779837254n%40googlegroups.com.