[cfe-dev] Clang Build Error

via cfe-dev cfe-dev at lists.llvm.org
Sun Mar 25 22:21:45 PDT 2018


I am new to LLVM. Trying to learn Clang component. I have checked out the source of LLVM and CLANG from svn. Then I fired a build [ make clang]. But getting the follwing errors which I couldn't figure it out. Please help me to build debuggable clang component so that I can debug and understand. Errors are as follows.

collect2: fatal error: ld terminated with signal 1 [Hangup]
compilation terminated.
      6 [main] ld 4384 C:\cygwin\usr\i686-pc-cygwin\bin\ld.exe: *** fatal error - cwcsdup would have returned NULL
make[3]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/build.make:334: bin/clang-7.0.exe] Error 1
make[3]: *** Deleting file 'bin/clang-7.0.exe'
make[2]: *** [CMakeFiles/Makefile2:23389: tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:23401: tools/clang/tools/driver/CMakeFiles/clang.dir/rule] Error 2
make: *** [Makefile:7139: clang] Error 2

Thanks in Advance.

Regards
Dharma
from India.

_____________________________________
Sent from http://clang-developers.42468.n3.nabble.com




More information about the cfe-dev mailing list