By the way, the last good commit for me is 2300b525. On Wednesday, May 1, 2019 at 11:59:37 AM UTC+8, [email protected] wrote: > > Since this week I cannot build master in debug mode on macOS 10.13.6 any > more. > > The configuration is: > > is_debug = true > target_cpu = "x64" > v8_enable_backtrace = true > v8_enable_slow_dchecks = true > v8_optimized_debug = false > > The linker now fails when linking mksnapshot with undefined symbol > v8::internal::FlexibleBodyDescriptor<16>::kStartOffset: > > ninja: Entering directory `out.gn/x64.debug' > [4/73] LINK ./mksnapshot > FAILED: mksnapshot > TOOL_VERSION=1552156684 ../../build/toolchain/mac/linker_driver.py > ../../third_party/llvm-build/Release+Asserts/bin/clang++ -stdlib=libc++ > -arch x86_64 -segprot PROTECTED_MEMORY rw r -Werror -nostdlib++ -isysroot > ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > > -mmacosx-version-min=10.10.0 -Wl,-ObjC -Wl,-rpath,@loader_path/. > -Wl,-rpath,@loader_path/../../.. -o "./mksnapshot" > -Wl,-filelist,"./mksnapshot.rsp" ./libv8_libbase.dylib > ./libv8_libplatform.dylib ./libicui18n.dylib ./libicuuc.dylib ./libc++.dylib > Undefined symbols for architecture x86_64: > "v8::internal::FlexibleBodyDescriptor<16>::kStartOffset", referenced > from: > > v8::internal::ConcurrentMarkingVisitor::VisitFixedArrayWithProgressBar(v8::internal::Map, > > v8::internal::FixedArray, v8::internal::MemoryChunk*) in > concurrent-marking.o > > v8::internal::MarkingVisitor<(v8::internal::FixedArrayVisitationMode)1, > (v8::internal::TraceRetainingPathMode)1, > v8::internal::IncrementalMarkingState>::VisitFixedArrayIncremental(v8::internal::Map, > > v8::internal::FixedArray) in incremental-marking.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > Traceback (most recent call last): > File "../../build/toolchain/mac/linker_driver.py", line 255, in <module> > Main(sys.argv) > File "../../build/toolchain/mac/linker_driver.py", line 85, in Main > subprocess.check_call(compiler_driver_args) > File "/Users/joyee/.pyenv/versions/2.7.14/lib/python2.7/subprocess.py", > line 186, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command > '['../../third_party/llvm-build/Release+Asserts/bin/clang++', > '-stdlib=libc++', '-arch', 'x86_64', '-segprot', 'PROTECTED_MEMORY', 'rw', > 'r', '-Werror', '-nostdlib++', '-isysroot', > '../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk', > > '-mmacosx-version-min=10.10.0', '-Wl,-ObjC', '-Wl,-rpath,@loader_path/.', > '-Wl,-rpath,@loader_path/../../..', '-o', './mksnapshot', > '-Wl,-filelist,./mksnapshot.rsp', './libv8_libbase.dylib', > './libv8_libplatform.dylib', './libicui18n.dylib', './libicuuc.dylib', > './libc++.dylib']' returned non-zero exit status 1 > ninja: build stopped: subcommand failed. > > From a glance concurrent-marking.cc / incremental-marking.cc should have > that template instantiation available: > > objects-visiting.h -> objects-body-descriptors.h for definition of > FlexibleBodyDescriptor > objects-visiting.h -> fixed-array.h for the <16> instantiation > > And I am not sure why this only fails in debug build - I do not get this > when I build with: > > is_debug = false > target_cpu = "x64" > > I have not been able to bisect to the offending commit yet since it takes > quite some time to compile. Any help is appreciated! >
-- -- v8-dev mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
