Status: Untriaged
Owner: ----
Type: Bug
New issue 13186 by imuw...@
gmail.com: wee8 on macOS
https://bugs.chromium.org/p/v8/issues/detail?id=13186Version: ab6bf0ce546d82faa10769560eccf5a237dbaf3c
OS: macOS 12.4
Architecture: x64
What steps will reproduce the problem?
1. fetch v8
2. tools/dev/gm.py x64.release.wee8
3. mkdir /tmp/xx && ./tools/run-wasm-api-tests.py out/x64.release /tmp/xx hello c gcc
What is the expected output?
test runs successfully
What do you see instead?
two problems i noticed.
1. libwee8.a is huge. is this normal?
spacetanuki% ls -lh out/x64.release/obj/*.a
-rw-r--r-- 1 yamamoto staff 2.9M Aug 13 12:34 out/x64.release/obj/libv8_libbase.a
-rw-r--r-- 1 yamamoto staff 2.3M Aug 13 12:34 out/x64.release/obj/libv8_libplatform.a
-rw-r--r-- 1 yamamoto staff 2.8G Aug 13 12:59 out/x64.release/obj/libwee8.a
spacetanuki%
2. link errors starting with:
Undefined symbols for architecture x86_64:
"std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >::copy(char*, unsigned long, unsigned long) const", referenced from:
v8::internal::wasm::AsmJsParser::CopyCurrentIdentifierString() in libwee8.a(asm-parser.o)
v8::internal::wasm::AsmJsParser::ValidateFunction() in libwee8.a(asm-parser.o)
v8::internal::wasm::AsmJsParser::ValidateExport() in libwee8.a(asm-parser.o)
v8::internal::wasm::AsmJsParser::ValidateModuleVarImport(v8::internal::wasm::AsmJsParser::VarInfo*, bool) in libwee8.a(asm-parser.o)
"std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >::find(char, unsigned long) const", referenced from:
v8::internal::Intl::StringLocaleConvertCase(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, bool, v8::internal::Handle<v8::internal::Object>) in libwee8.a(intl-objects.o)
"std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >::rfind(char, unsigned long) const", referenced from:
v8::internal::(anonymous namespace)::BestAvailableLocale(std::Cr::set<std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >, std::Cr::less<std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> > >, std::Cr::allocator<std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> > > > const&, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> > const&) in libwee8.a(intl-objects.o)
"std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >::compare(char const*) const", referenced from:
v8::internal::LogFile::CreateOutputHandle(std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >) in libwee8.a(log-file.o)
v8::internal::LogFile::IsLoggingToConsole(std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >) in libwee8.a(log-file.o)
v8::internal::LogFile::IsLoggingToTemporaryFile(std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >) in libwee8.a(log-file.o)
"std::Cr::basic_stringbuf<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >::str() const", referenced from:
std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char> >* v8::base::MakeCheckOpString<int, int>(int, int, char const*) in libwee8.a(logging.o)
Please use labels and text to provide additional information.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings