New issue
Advanced search Search tips

Issue 768524 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 768094
Owner: ----
Closed: Sep 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Link error building ToT: GetRandomMmapAddr

Project Member Reported by a...@chromium.org, Sep 25 2017

Issue description

At 6a3a481d4565118dff40e72584de525394c68a67:

> ninja -C out/debug all -j 500 -l 23 -k 100
ninja: Entering directory `out/debug'
[11558/18/16983] LINK ./unittests
FAILED: unittests 
TOOL_VERSION=1477670870 ../../build/toolchain/mac/linker_driver.py ../../third_party/llvm-build/Release+Asserts/bin/clang++  -stdlib=libc++ -arch x86_64 -Werror -isysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9.0 -Wl,-ObjC -Wl,-rpath,@loader_path/. -Wl,-rpath,@loader_path/../../.. -Wl,-pie -Wl,-dead_strip -o "./unittests" -Wl,-filelist,"./unittests.rsp" ./libv8_for_testing.dylib ./libv8_libbase.dylib ./libv8_libplatform.dylib ./libicui18n.dylib ./libicuuc.dylib 
Undefined symbols for architecture x86_64:
  "v8::internal::GetRandomMmapAddr()", referenced from:
      v8::internal::HeapTest_ASLR_Test::TestBody() in heap-unittest.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 229, in <module>
    Main(sys.argv)
  File "../../build/toolchain/mac/linker_driver.py", line 79, in Main
    subprocess.check_call(compiler_driver_args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../../third_party/llvm-build/Release+Asserts/bin/clang++', '-stdlib=libc++', '-arch', 'x86_64', '-Werror', '-isysroot', '../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk', '-mmacosx-version-min=10.9.0', '-Wl,-ObjC', '-Wl,-rpath,@loader_path/.', '-Wl,-rpath,@loader_path/../../..', '-Wl,-pie', '-Wl,-dead_strip', '-o', './unittests', '-Wl,-filelist,./unittests.rsp', './libv8_for_testing.dylib', './libv8_libbase.dylib', './libv8_libplatform.dylib', './libicui18n.dylib', './libicuuc.dylib']' returned non-zero exit status 1
ninja: build stopped: cannot make progress due to previous errors.

 

Comment 1 by a...@chromium.org, Sep 25 2017

Mergedinto: 768094
Status: Duplicate (was: Untriaged)

Sign in to add a comment