<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 24, 2015 at 6:35 PM <a href="mailto:marwayusuf@feng.bu.edu.eg">marwayusuf@feng.bu.edu.eg</a> <<a href="mailto:marwayusuf@feng.bu.edu.eg">marwayusuf@feng.bu.edu.eg</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Ok, I copied the mentioned command and added -Wl,-v in the terminal, and this was the output:</p></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>c++: error: CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o: No such file or directory</p>
<p></p></div></div></blockquote><div><br></div><div><snip> You did something wrong here. Probably ran it from the wrong directory. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p><br></p>
<p>I tried another thing. I've searched for this command and found it in </p>
<p>/home/marwayusuf/llvm-env/build/tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/link.txt<br>
</p>
<p>So I added -Wl,-v to its end and run make normally, and this was the last part of the output:</p>
<p>Linking CXX executable ../../bin/llvm-dsymutil</p>
<p>collect2 version 4.8.4</p>
<p>/usr/bin/ld --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o ../../bin/llvm-dsymutil /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o
 /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu
 -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -allow-shlib-undefined CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o CMakeFiles/llvm-dsymutil.dir/BinaryHolder.cpp.o CMakeFiles/llvm-dsymutil.dir/DebugMap.cpp.o CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o
 CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o ../../lib/libLLVMAArch64CodeGen.a ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64AsmParser.a ../../lib/libLLVMAArch64Desc.a ../../lib/libLLVMAArch64Info.a
 ../../lib/libLLVMAArch64Disassembler.a ../../lib/libLLVMAMDGPUCodeGen.a ../../lib/libLLVMAMDGPUAsmPrinter.a ../../lib/libLLVMAMDGPUAsmParser.a ../../lib/libLLVMAMDGPUDesc.a ../../lib/libLLVMAMDGPUInfo.a ../../lib/libLLVMARMCodeGen.a ../../lib/libLLVMARMAsmPrinter.a
 ../../lib/libLLVMARMAsmParser.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMInfo.a ../../lib/libLLVMARMDisassembler.a ../../lib/libLLVMBPFCodeGen.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMBPFDesc.a ../../lib/libLLVMBPFInfo.a ../../lib/libLLVMCppBackendCodeGen.a
 ../../lib/libLLVMCppBackendInfo.a ../../lib/libLLVMHexagonCodeGen.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a ../../lib/libLLVMHexagonDisassembler.a ../../lib/libLLVMMipsCodeGen.a ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsAsmParser.a
 ../../lib/libLLVMMipsDesc.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMipsDisassembler.a ../../lib/libLLVMMSP430CodeGen.a ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMMSP430Desc.a ../../lib/libLLVMMSP430Info.a ../../lib/libLLVMNVPTXCodeGen.a ../../lib/libLLVMNVPTXAsmPrinter.a
 ../../lib/libLLVMNVPTXDesc.a ../../lib/libLLVMNVPTXInfo.a ../../lib/libLLVMPowerPCCodeGen.a ../../lib/libLLVMPowerPCAsmPrinter.a ../../lib/libLLVMPowerPCAsmParser.a ../../lib/libLLVMPowerPCDesc.a ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMPowerPCDisassembler.a
 ../../lib/libLLVMSparcCodeGen.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcAsmParser.a ../../lib/libLLVMSparcDesc.a ../../lib/libLLVMSparcInfo.a ../../lib/libLLVMSparcDisassembler.a ../../lib/libLLVMSystemZCodeGen.a ../../lib/libLLVMSystemZAsmPrinter.a
 ../../lib/libLLVMSystemZAsmParser.a ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMSystemZDisassembler.a ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86AsmPrinter.a ../../lib/libLLVMX86AsmParser.a ../../lib/libLLVMX86Desc.a
 ../../lib/libLLVMX86Info.a ../../lib/libLLVMX86Disassembler.a ../../lib/libLLVMXCoreCodeGen.a ../../lib/libLLVMXCoreAsmPrinter.a ../../lib/libLLVMXCoreDesc.a ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMXCoreDisassembler.a ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMDebugInfoDWARF.a
 ../../lib/libLLVMMC.a ../../lib/libLLVMObject.a ../../lib/libLLVMSupport.a ../../lib/libLLVMTarget.a ../../lib/libLLVMAArch64Desc.a ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64Info.a ../../lib/libLLVMAArch64Utils.a ../../lib/libLLVMAMDGPUAsmPrinter.a
 ../../lib/libLLVMAMDGPUUtils.a ../../lib/libLLVMipo.a ../../lib/libLLVMVectorize.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMAsmPrinter.a ../../lib/libLLVMARMInfo.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a
 ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMNVPTXAsmPrinter.a ../../lib/libLLVMPowerPCAsmPrinter.a ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcInfo.a
 ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZAsmPrinter.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86Desc.a ../../lib/libLLVMX86AsmPrinter.a ../../lib/libLLVMX86Utils.a ../../lib/libLLVMX86Info.a ../../lib/libLLVMXCoreAsmPrinter.a
 ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMSelectionDAG.a ../../lib/libLLVMCodeGen.a ../../lib/libLLVMTarget.a ../../lib/libLLVMScalarOpts.a ../../lib/libLLVMInstCombine.a ../../lib/libLLVMProfileData.a ../../lib/libLLVMInstrumentation.a ../../lib/libLLVMTransformUtils.a
 ../../lib/libLLVMipa.a ../../lib/libLLVMAnalysis.a ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMMCDisassembler.a ../../lib/libLLVMObject.a ../../lib/libLLVMMCParser.a ../../lib/libLLVMMC.a ../../lib/libLLVMBitReader.a ../../lib/libLLVMCore.a ../../lib/libLLVMSupport.a
 -lrt -ldl -ltinfo -lpthread -lz -rpath $ORIGIN/../lib -v -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o</p></div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>collect2: error: ld returned 1 exit status</p>
<p>make[2]: *** [bin/llvm-dsymutil] Error 1</p>
</div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>make[1]: *** [tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/all] Error 2</p>
<p>make: *** [all] Error 2</p></div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br></p></div></div></blockquote><div><br></div><div>Sadly this isn't particularly enlightening and I'm not seeing whatever problem you're having locally. You can try running the link command on the above line explicitly and seeing if the linker is going to provide any more information, but if not there's not much anyone can do to help.</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>
</p>
<p><br>
</p>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div><font size="2"><span style="font-size:10pt">
<div>Regards,<br>
Marwa Yusuf<br>
Teaching Assistant - Computer Engineering Department<br>
Faculty of Engineering - Benha University<br>
E-JUST PhD Student<br>
Computer Science & Engineering Dept.</div>
</span></font></div>
</div>
</div>
<br>
<br>
</div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>><br>
<b>Sent:</b> Tuesday, August 25, 2015 2:48 AM</font></div></div></div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="color:rgb(0,0,0)"><div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><br>
<b>To:</b> <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a><br>
<b>Subject:</b> Re: [llvm-dev] Error building llvm</font></div></div></div></div><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="color:rgb(0,0,0)">
<div>
<div dir="ltr">No, I mean cut and paste the command above and add the command line option to the end of it. I.e. /usr/bin/c++ ... -Wl,-v
<div><br>
</div>
<div>-eric</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Aug 24, 2015 at 5:43 PM <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">
marwayusuf@feng.bu.edu.eg</a> <<a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>You mean "make -WI"? This is the last part of the result. I can't see a difference!</p>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Linking CXX executable ../../bin/llvm-dsymutil</p>
<p>cd /home/marwayusuf/llvm-env/build/tools/dsymutil && /usr/bin/cmake -E cmake_link_script CMakeFiles/llvm-dsymutil.dir/link.txt --verbose=1</p>
<p>/usr/bin/c++    -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wno-comment -std=c++11 -g    -Wl,-allow-shlib-undefined CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o
 CMakeFiles/llvm-dsymutil.dir/BinaryHolder.cpp.o CMakeFiles/llvm-dsymutil.dir/DebugMap.cpp.o CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o  -o ../../bin/llvm-dsymutil
  ../../lib/libLLVMAArch64CodeGen.a ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64AsmParser.a ../../lib/libLLVMAArch64Desc.a ../../lib/libLLVMAArch64Info.a ../../lib/libLLVMAArch64Disassembler.a ../../lib/libLLVMAMDGPUCodeGen.a ../../lib/libLLVMAMDGPUAsmPrinter.a
 ../../lib/libLLVMAMDGPUAsmParser.a ../../lib/libLLVMAMDGPUDesc.a ../../lib/libLLVMAMDGPUInfo.a ../../lib/libLLVMARMCodeGen.a ../../lib/libLLVMARMAsmPrinter.a ../../lib/libLLVMARMAsmParser.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMInfo.a ../../lib/libLLVMARMDisassembler.a
 ../../lib/libLLVMBPFCodeGen.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMBPFDesc.a ../../lib/libLLVMBPFInfo.a ../../lib/libLLVMCppBackendCodeGen.a ../../lib/libLLVMCppBackendInfo.a ../../lib/libLLVMHexagonCodeGen.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a
 ../../lib/libLLVMHexagonDisassembler.a ../../lib/libLLVMMipsCodeGen.a ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsAsmParser.a ../../lib/libLLVMMipsDesc.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMipsDisassembler.a ../../lib/libLLVMMSP430CodeGen.a
 ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMMSP430Desc.a ../../lib/libLLVMMSP430Info.a ../../lib/libLLVMNVPTXCodeGen.a ../../lib/libLLVMNVPTXAsmPrinter.a ../../lib/libLLVMNVPTXDesc.a ../../lib/libLLVMNVPTXInfo.a ../../lib/libLLVMPowerPCCodeGen.a ../../lib/libLLVMPowerPCAsmPrinter.a
 ../../lib/libLLVMPowerPCAsmParser.a ../../lib/libLLVMPowerPCDesc.a ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMPowerPCDisassembler.a ../../lib/libLLVMSparcCodeGen.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcAsmParser.a ../../lib/libLLVMSparcDesc.a
 ../../lib/libLLVMSparcInfo.a ../../lib/libLLVMSparcDisassembler.a ../../lib/libLLVMSystemZCodeGen.a ../../lib/libLLVMSystemZAsmPrinter.a ../../lib/libLLVMSystemZAsmParser.a ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMSystemZDisassembler.a
 ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86AsmPrinter.a ../../lib/libLLVMX86AsmParser.a ../../lib/libLLVMX86Desc.a ../../lib/libLLVMX86Info.a ../../lib/libLLVMX86Disassembler.a ../../lib/libLLVMXCoreCodeGen.a ../../lib/libLLVMXCoreAsmPrinter.a ../../lib/libLLVMXCoreDesc.a
 ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMXCoreDisassembler.a ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMDebugInfoDWARF.a ../../lib/libLLVMMC.a ../../lib/libLLVMObject.a ../../lib/libLLVMSupport.a ../../lib/libLLVMTarget.a ../../lib/libLLVMAArch64Desc.a
 ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64Info.a ../../lib/libLLVMAArch64Utils.a ../../lib/libLLVMAMDGPUAsmPrinter.a ../../lib/libLLVMAMDGPUUtils.a ../../lib/libLLVMipo.a ../../lib/libLLVMVectorize.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMAsmPrinter.a
 ../../lib/libLLVMARMInfo.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMNVPTXAsmPrinter.a ../../lib/libLLVMPowerPCAsmPrinter.a
 ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcInfo.a ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZAsmPrinter.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86Desc.a ../../lib/libLLVMX86AsmPrinter.a
 ../../lib/libLLVMX86Utils.a ../../lib/libLLVMX86Info.a ../../lib/libLLVMXCoreAsmPrinter.a ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMSelectionDAG.a ../../lib/libLLVMCodeGen.a ../../lib/libLLVMTarget.a ../../lib/libLLVMScalarOpts.a ../../lib/libLLVMInstCombine.a
 ../../lib/libLLVMProfileData.a ../../lib/libLLVMInstrumentation.a ../../lib/libLLVMTransformUtils.a ../../lib/libLLVMipa.a ../../lib/libLLVMAnalysis.a ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMMCDisassembler.a ../../lib/libLLVMObject.a ../../lib/libLLVMMCParser.a
 ../../lib/libLLVMMC.a ../../lib/libLLVMBitReader.a ../../lib/libLLVMCore.a ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm -Wl,-rpath,"\$ORIGIN/../lib" </p>
<p>collect2: error: ld returned 1 exit status</p>
<p>make[2]: *** [bin/llvm-dsymutil] Error 1</p>
<p>make[2]: Leaving directory `/home/marwayusuf/llvm-env/build'</p>
<p>make[1]: *** [tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/all] Error 2</p>
<p>make[1]: Leaving directory `/home/marwayusuf/llvm-env/build'</p>
<p>make: *** [all] Error 2</p>
<p><br>
</p>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>And this is make -v</p>
<p>GNU Make 3.81</p>
<p>Copyright (C) 2006  Free Software Foundation, Inc.</p>
<p>This is free software; see the source for copying conditions.</p>
<p>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A</p>
<p>PARTICULAR PURPOSE.</p>
<p><br>
</p>
<p>This program built for x86_64-pc-linux-gnu</p>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div><font size="2"><span style="font-size:10pt">
<div>Regards,<br>
Marwa Yusuf<br>
Teaching Assistant - Computer Engineering Department<br>
Faculty of Engineering - Benha University<br>
E-JUST PhD Student<br>
Computer Science & Engineering Dept.</div>
</span></font></div>
</div>
</div>
<br>
<br>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>><br>
<b>Sent:</b> Tuesday, August 25, 2015 2:20 AM<br>
<b>To:</b> <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a></font></div>
</div>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><br>
<b>Subject:</b> Re: [llvm-dev] Error building llvm</font></div>
</div>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<p dir="ltr">Huh. Can you add -Wl,-v to that last command line?</p>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Aug 24, 2015, 5:17 PM <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a> <<a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Actually, the error has changed between the 2 runs!</p>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div><font size="2"><span style="font-size:10pt">
<div>Regards,<br>
Marwa Yusuf<br>
Teaching Assistant - Computer Engineering Department<br>
Faculty of Engineering - Benha University<br>
E-JUST PhD Student<br>
Computer Science & Engineering Dept.</div>
</span></font></div>
</div>
</div>
<br>
<br>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> llvm-dev <<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>> on behalf of
<a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a> via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>><br>
<b>Sent:</b> Tuesday, August 25, 2015 2:09 AM<br>
<b>To:</b> Eric Christopher; <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">
llvm-dev@lists.llvm.org</a></font></div>
</div>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><br>
<b>Subject:</b> Re: [llvm-dev] Error building llvm</font></div>
</div>
</div>
</div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Linking CXX executable ../../bin/llvm-dsymutil</p>
<p>cd /home/marwayusuf/llvm-env/build/tools/dsymutil && /usr/bin/cmake -E cmake_link_script CMakeFiles/llvm-dsymutil.dir/link.txt --verbose=1</p>
<p>/usr/bin/c++    -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wno-comment -std=c++11 -g    -Wl,-allow-shlib-undefined CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o
 CMakeFiles/llvm-dsymutil.dir/BinaryHolder.cpp.o CMakeFiles/llvm-dsymutil.dir/DebugMap.cpp.o CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o  -o ../../bin/llvm-dsymutil
  ../../lib/libLLVMAArch64CodeGen.a ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64AsmParser.a ../../lib/libLLVMAArch64Desc.a ../../lib/libLLVMAArch64Info.a ../../lib/libLLVMAArch64Disassembler.a ../../lib/libLLVMAMDGPUCodeGen.a ../../lib/libLLVMAMDGPUAsmPrinter.a
 ../../lib/libLLVMAMDGPUAsmParser.a ../../lib/libLLVMAMDGPUDesc.a ../../lib/libLLVMAMDGPUInfo.a ../../lib/libLLVMARMCodeGen.a ../../lib/libLLVMARMAsmPrinter.a ../../lib/libLLVMARMAsmParser.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMInfo.a ../../lib/libLLVMARMDisassembler.a
 ../../lib/libLLVMBPFCodeGen.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMBPFDesc.a ../../lib/libLLVMBPFInfo.a ../../lib/libLLVMCppBackendCodeGen.a ../../lib/libLLVMCppBackendInfo.a ../../lib/libLLVMHexagonCodeGen.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a
 ../../lib/libLLVMHexagonDisassembler.a ../../lib/libLLVMMipsCodeGen.a ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsAsmParser.a ../../lib/libLLVMMipsDesc.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMipsDisassembler.a ../../lib/libLLVMMSP430CodeGen.a
 ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMMSP430Desc.a ../../lib/libLLVMMSP430Info.a ../../lib/libLLVMNVPTXCodeGen.a ../../lib/libLLVMNVPTXAsmPrinter.a ../../lib/libLLVMNVPTXDesc.a ../../lib/libLLVMNVPTXInfo.a ../../lib/libLLVMPowerPCCodeGen.a ../../lib/libLLVMPowerPCAsmPrinter.a
 ../../lib/libLLVMPowerPCAsmParser.a ../../lib/libLLVMPowerPCDesc.a ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMPowerPCDisassembler.a ../../lib/libLLVMSparcCodeGen.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcAsmParser.a ../../lib/libLLVMSparcDesc.a
 ../../lib/libLLVMSparcInfo.a ../../lib/libLLVMSparcDisassembler.a ../../lib/libLLVMSystemZCodeGen.a ../../lib/libLLVMSystemZAsmPrinter.a ../../lib/libLLVMSystemZAsmParser.a ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMSystemZDisassembler.a
 ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86AsmPrinter.a ../../lib/libLLVMX86AsmParser.a ../../lib/libLLVMX86Desc.a ../../lib/libLLVMX86Info.a ../../lib/libLLVMX86Disassembler.a ../../lib/libLLVMXCoreCodeGen.a ../../lib/libLLVMXCoreAsmPrinter.a ../../lib/libLLVMXCoreDesc.a
 ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMXCoreDisassembler.a ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMDebugInfoDWARF.a ../../lib/libLLVMMC.a ../../lib/libLLVMObject.a ../../lib/libLLVMSupport.a ../../lib/libLLVMTarget.a ../../lib/libLLVMAArch64Desc.a
 ../../lib/libLLVMAArch64AsmPrinter.a ../../lib/libLLVMAArch64Info.a ../../lib/libLLVMAArch64Utils.a ../../lib/libLLVMAMDGPUAsmPrinter.a ../../lib/libLLVMAMDGPUUtils.a ../../lib/libLLVMipo.a ../../lib/libLLVMVectorize.a ../../lib/libLLVMARMDesc.a ../../lib/libLLVMARMAsmPrinter.a
 ../../lib/libLLVMARMInfo.a ../../lib/libLLVMBPFAsmPrinter.a ../../lib/libLLVMHexagonDesc.a ../../lib/libLLVMHexagonInfo.a ../../lib/libLLVMMipsAsmPrinter.a ../../lib/libLLVMMipsInfo.a ../../lib/libLLVMMSP430AsmPrinter.a ../../lib/libLLVMNVPTXAsmPrinter.a ../../lib/libLLVMPowerPCAsmPrinter.a
 ../../lib/libLLVMPowerPCInfo.a ../../lib/libLLVMSparcAsmPrinter.a ../../lib/libLLVMSparcInfo.a ../../lib/libLLVMSystemZDesc.a ../../lib/libLLVMSystemZAsmPrinter.a ../../lib/libLLVMSystemZInfo.a ../../lib/libLLVMX86CodeGen.a ../../lib/libLLVMX86Desc.a ../../lib/libLLVMX86AsmPrinter.a
 ../../lib/libLLVMX86Utils.a ../../lib/libLLVMX86Info.a ../../lib/libLLVMXCoreAsmPrinter.a ../../lib/libLLVMAsmPrinter.a ../../lib/libLLVMSelectionDAG.a ../../lib/libLLVMCodeGen.a ../../lib/libLLVMTarget.a ../../lib/libLLVMScalarOpts.a ../../lib/libLLVMInstCombine.a
 ../../lib/libLLVMProfileData.a ../../lib/libLLVMInstrumentation.a ../../lib/libLLVMTransformUtils.a ../../lib/libLLVMipa.a ../../lib/libLLVMAnalysis.a ../../lib/libLLVMXCoreInfo.a ../../lib/libLLVMMCDisassembler.a ../../lib/libLLVMObject.a ../../lib/libLLVMMCParser.a
 ../../lib/libLLVMMC.a ../../lib/libLLVMBitReader.a ../../lib/libLLVMCore.a ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm -Wl,-rpath,"\$ORIGIN/../lib" </p>
<p>collect2: error: ld returned 1 exit status</p>
<p>make[2]: *** [bin/llvm-dsymutil] Error 1</p>
<p>make[2]: Leaving directory `/home/marwayusuf/llvm-env/build'</p>
<p>make[1]: *** [tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/all] Error 2</p>
<p>make[1]: Leaving directory `/home/marwayusuf/llvm-env/build'</p>
<p>make: *** [all] Error 2</p>
<p><br>
</p>
<p>Note:This is the last part.</p>
<p><br>
</p>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div><font size="2"><span style="font-size:10pt">
<div>Regards,<br>
Marwa Yusuf<br>
Teaching Assistant - Computer Engineering Department<br>
Faculty of Engineering - Benha University<br>
E-JUST PhD Student<br>
Computer Science & Engineering Dept.</div>
</span></font></div>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>><br>
<b>Sent:</b> Tuesday, August 25, 2015 12:51 AM<br>
<b>To:</b> <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">marwayusuf@feng.bu.edu.eg</a>;
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<b>Subject:</b> Re: [llvm-dev] Error building llvm</font>
<div> </div>
</div>
<div>
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Aug 24, 2015 at 3:27 PM <a href="mailto:marwayusuf@feng.bu.edu.eg" target="_blank">
marwayusuf@feng.bu.edu.eg</a> via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Trying to run make to build llvm, I faced the following error:</p>
<p>Linking CXX shared library ../../lib/libLTO.so</p>
<p>collect2: error: ld returned 1 exit status</p>
<p>make[2]: *** [lib/libLTO.so.3.8.0svn] Error 1</p>
<p>make[1]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2</p>
<p>make: *** [all] Error 2</p>
<p><span style="font-size:12pt">So, what's the problem here? </span></p>
<p><br>
</p>
</div>
</div>
</blockquote>
<div>Not enough information.</div>
<div><br>
</div>
<div>make VERBOSE=1</div>
<div><br>
</div>
<div>-eric</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div><font size="2"><span style="font-size:10pt">
<div>Regards,<br>
Marwa Yusuf<br>
Teaching Assistant - Computer Engineering Department<br>
Faculty of Engineering - Benha University<br>
E-JUST PhD Student<br>
Computer Science & Engineering Dept.</div>
</span></font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div></div></div></blockquote></div></div>