Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang regression testing if failling. #4

Open
cghalibkhan opened this issue Sep 30, 2019 · 0 comments
Open

clang regression testing if failling. #4

cghalibkhan opened this issue Sep 30, 2019 · 0 comments

Comments

@cghalibkhan
Copy link

Hi,
To run test-suites of clang ,I followed these steps:

  1. made a setup of clang tool-chain, After that cloned test suites from https://github.com/jpbonn/clang-tests.git and a frame-work of dejagnu,
  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.
  3. Run runtest driver, $ runtest --tool gcc
    Here i was getting around 18k linker errors.
  • From those Errors, i have noticed that it was excepting some library. Please check in attached log

Could someone help me fix it?
Here is one analysis done on one test-case :
Run single test case to know whats the problem, with library,
$ runtest --tool gcc gcc.apple=liblongcall.a (Running in x86 ubuntu 16
Machine)

Error:

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

output is clang-10: [0;1;35mwarning: argument unused during compilation: '-dynamiclib' [-Wunused-command-line-argument]

FAIL: building longcall/dylib library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant