<div dir="ltr"><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;font-family:arial;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/1VPrmfrXYFuC2FAgYn1ZK35uYHhTBFClT/view?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration-line:none;padding:1px 0px;border:none"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="vertical-align:bottom;text-decoration:none">regression_September_26_2019.log</span></a><img src="//ssl.gstatic.com/ui/v1/icons/common/x_8px.png" style="opacity: 0.55; cursor: pointer; float: right; top: -1px; display: none;"></div>Hi, <div>    To run test-suites of clang ,I followed these steps:</div><div>1. made a setup of clang tool-chain, After that cloned test suites from <a href="https://github.com/jpbonn/clang-tests.git" target="_blank">https://github.com/jpbonn/clang-tests.git</a> and a frame-work of dejagnu,</div><div>2. written a machine board file riscv-sim.exp to dejagnu folder &  site.exp to the test-suites folder where we want to run test-sites.</div><div>3. Run runtest driver, $ runtest --tool gcc</div><div>Here i was getting  around 18k linker errors.</div><div>* From those Errors, i have noticed that it was excepting some library. Please check in attached log</div><div><br></div><div>Could someone help me fix it?</div><div>Here is one analysis done on one test-case :</div><div>Run single test case to know whats the problem, with library,</div><div>$ runtest --tool gcc gcc.apple=liblongcall.a (Running in x86 ubuntu 16 <br>Machine) </div><div><br></div><div>Error:   </div><div><br></div><div>Invoking the compiler as /home/exaleapserver/ws/khan/tools/LLVM/Basic-llvm/Exe-linux/bin/clang --static /home/exaleapserver/ws/khan/tools/LLVM/test/clang-regression/clang-tests/gcc-4_2-testsuite/src/gcc.apple/special/liblongcall.c   -dynamiclib -mlongcall -DNO_TRAMPOLINES -fno-show-column     -g    -o /home/exaleapserver/ws/khan/tools/LLVM/test/clang-regression/September_26_2019/wrkdir/gcc.apple/special/liblongcall.dylib<br></div><div><br></div><div>output is clang-10: [0;1;35mwarning: margument unused during compilation: '-dynamiclib' [-Wunused-command-line-argument]</div><div><br></div><div>FAIL: building longcall/dylib library</div><div><br></div></div>