LINK(target) /home/brandon/v8/out/x64.release/mksnapshot/home/brandon/v8/third_party/binutils/Linux_x64/Release/bin/ld.gold: error: /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crti.o: unsupported reloc 42 against global symbol __gmon_start__/home/brandon/v8/third_party/binutils/Linux_x64/Release/bin/ld.gold: error: /usr/lib/x86_64-linux-gnu/libc_nonshared.a(atexit.oS): unsupported reloc 42 against global symbol __dso_handle/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crti.o(.init+0x7): error: unsupported reloc 42/usr/lib/x86_64-linux-gnu/libc_nonshared.a(atexit.oS):function atexit: error: unsupported reloc 42clang: error: linker command failed with exit code 1 (use -v to see invocation)tools/gyp/mksnapshot.target.x64.release.mk:255: recipe for target '/home/brandon/v8/out/x64.release/mksnapshot' failedmake[1]: *** [/home/brandon/v8/out/x64.release/mksnapshot] Error 1make[1]: Leaving directory '/home/brandon/v8/out'Makefile:310: recipe for target 'x64.release' failedmake: *** [x64.release] Error 2
make native GYPFLAGS="-Dlinux_use_bundled_gold=0"
Which, now that I've had time to let it finish working, actually fails at a different place:
LINK(target) /home/brandon/v8/out/native/cctest
RULE test_cctest_cctest_gyp_cctest_run_target_isolate_0 /home/brandon/v8/out/native/cctest.isolated
Traceback (most recent call last):
File "/home/brandon/v8/tools/swarming_client/isolate.py", line 27, in <module>
import auth
File "/home/brandon/v8/tools/swarming_client/auth.py", line 19, in <module>
from utils import on_error
File "/home/brandon/v8/tools/swarming_client/utils/on_error.py", line 22, in <module>
from . import net
File "/home/brandon/v8/tools/swarming_client/utils/net.py", line 25, in <module>
from third_party import requests
File "/home/brandon/v8/tools/swarming_client/third_party/requests/__init__.py", line 53, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/home/brandon/v8/tools/swarming_client/third_party/requests/packages/urllib3/contrib/pyopenssl.py", line 42, in <module>
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
test/cctest/cctest_run.target.native.mk:10: recipe for target '/home/brandon/v8/out/native/cctest.isolated' failed
make[1]: *** [/home/brandon/v8/out/native/cctest.isolated] Error 1
make[1]: Leaving directory '/home/brandon/v8/out'
Makefile:317: recipe for target 'native' failed
make: *** [native] Error 2
But, who knows, if someone else has the above issue then this solution may be worth trying. I guess if I can't work out this new error then I'll ask about it in a different thread.