Created
April 24, 2019 19:32
-
-
Save chinmaygarde/6146115114ba03ae7f4fe2604d5d55ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../../fuchsia/toolchain/bin/clang++ --target=x86_64-fuchsia --sysroot ../../fuchsia/sdk/arch/x64/sysroot -Wl,--fatal-warnings -m64 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -stdlib=libc++ -static-libstdc++ -Wl,-rpath=\$ORIGIN/ -Wl,-rpath-link= -Wl,--disable-new-dtags -o ./exe.unstripped/fuchsia -L../../fuchsia/sdk/arch/x64/lib -Wl,--build-id -Wl,--start-group @./fuchsia.rsp -Wl,--end-group -ldl ../../fuchsia/sdk/arch/x64/sysroot/lib/libzircon.so ../../fuchsia/sdk/arch/x64/sysroot/lib/libc.so ../../fuchsia/sdk/arch/x64/sysroot/lib/libdl.so ../../fuchsia/sdk/arch/x64/sysroot/lib/libm.so ../../fuchsia/sdk/arch/x64/sysroot/lib/libpthread.so ../../fuchsia/sdk/arch/x64/sysroot/lib/librt.so ../../fuchsia/sdk/arch/x64/sysroot/lib/Scrt1.o && ../../fuchsia/toolchain/bin/llvm-strip -o ./fuchsia ./exe.unstripped/fuchsia | |
ld.lld: error: duplicate symbol: _start | |
>>> defined at Scrt1.cpp:7 (../../zircon/system/ulib/c/Scrt1.cpp:7) | |
>>> ../../fuchsia/sdk/arch/x64/sysroot/lib/Scrt1.o:(_start) | |
>>> defined at Scrt1.cpp:7 (../../zircon/system/ulib/c/Scrt1.cpp:7) | |
>>> ../../fuchsia/sdk/arch/x64/sysroot/lib/Scrt1.o:(.text._start+0x0) | |
clang-9: error: ld.lld command failed with exit code 1 (use -v to see invocation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment