[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 04ad76: [clang_delta] Link against LLVMSupport to fix miss...



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 04ad768cc46c2d79bda9651652851f0f6944e12e
      https://github.com/csmith-project/creduce/commit/04ad768cc46c2d79bda9651652851f0f6944e12e
  Author: Michał Górny <mgorny@gentoo.org>
  Date:   2016-10-30 (Sun, 30 Oct 2016)

  Changed paths:
    M clang_delta/CMakeLists.txt

  Log Message:
  -----------
  [clang_delta] Link against LLVMSupport to fix missing APInt methods

Link clang_delta against LLVMSupport in order to fix the following link
failure:

  /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/clang_delta.dir/ReplaceArrayIndexVar.cpp.o: undefined reference to symbol '_ZN4llvm5APInt12initSlowCaseERKS0_'
  /usr/lib64/libLLVMSupport.so.40: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status


  Commit: 1e7b6e2504e21d46ba0f0dfa8e6dc79bb29190dd
      https://github.com/csmith-project/creduce/commit/1e7b6e2504e21d46ba0f0dfa8e6dc79bb29190dd
  Author: Eric Eide <eeide@cs.utah.edu>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M clang_delta/CMakeLists.txt

  Log Message:
  -----------
  Merge pull request #125 from mgorny/clang_delta-link-fix

[clang_delta] Link against LLVMSupport to fix missing APInt methods.

This patch fixes a link problem that occurs when (1) LLVM is built with `-DBUILD_SHARED_LIBS=ON` and (2) C-Reduce is built via CMake.


Compare: https://github.com/csmith-project/creduce/compare/608a71f3ec2b...1e7b6e2504e2