[llvm-bugs] [Bug 24985] New: Cannot build compiler_rt because of clang_rt.asan-dynamic-x86_64.vers:3: syntax error in VERSION script

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 29 08:12:03 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24985

            Bug ID: 24985
           Summary: Cannot build compiler_rt because of
                    clang_rt.asan-dynamic-x86_64.vers:3: syntax error in
                    VERSION script
           Product: compiler-rt
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: luca.stoppa at bbh.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Hello,

I'm trying to build on Redhat Linux (gcc 4.9.1) clang 3.7 from trunk.
The build stops at 61% with tye following error:

[ 61%] Built target RTAsan.x86_64
[ 61%] Built target RTAsan_preinit.x86_64
[ 61%] Built target clang_rt.asan-x86_64
[ 61%] Built target RTAsan_dynamic_version_script_dummy.x86_64
Linking CXX shared library
../../../../lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.so
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.1/ld:/nfs/home/a042032/llvm/3.7/build/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-x86_64.vers:3:
syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[2]: *** [lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.so] Error 1
make[1]: ***
[projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-x86_64.dir/all]
Error 2
make: *** [all] Error 2

I have followed the instruction on http://clang.llvm.org/get_started.html but
it seems probably I did something wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150929/969c7922/attachment-0001.html>


More information about the llvm-bugs mailing list