<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - POLLY_BUNDLED_JSONCPP=OFF is failing on Ubuntu Trusty"
   href="https://bugs.llvm.org/show_bug.cgi?id=33798">33798</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>POLLY_BUNDLED_JSONCPP=OFF is failing on Ubuntu Trusty
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Polly
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>polly-dev@googlegroups.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On ubuntu trusty, even if the detection works: 
-- Found Jsoncpp: /usr/include/jsoncpp  
the links will fail:[ 60%] Linking CXX shared module ../../../lib/LLVMPolly.so
cd "/build/llvm-toolchain-snapshot-5.0~svn308077/build-llvm/tools/polly/lib" &&
/tmp/cmake/bin/cmake -E cmake_link_script CMakeFiles/LLVMPolly.dir/link.txt
--verbose=1
/usr/bin/g++-4.8  -fPIC -std=c++0x -gsplit-dwarf -Wl,-fuse-ld=gold -fPIC
-fvisibility-inlines-hidden -std=c++11 -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic
-Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions
-fno-rtti -O2 -g -DNDEBUG  -Wl,-Bsymbolic-functions -Wl,-z,relro -shared  -o
../../../lib/LLVMPolly.so CMakeFiles/LLVMPolly.dir/Polly.cpp.o
CMakeFiles/PollyCore.dir/Analysis/DependenceInfo.cpp.o
CMakeFiles/PollyCore.dir/Analysis/PolyhedralInfo.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopDetection.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopDetectionDiagnostic.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopInfo.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopBuilder.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopGraphPrinter.cpp.o
CMakeFiles/PollyCore.dir/Analysis/ScopPass.cpp.o
CMakeFiles/PollyCore.dir/Analysis/PruneUnprofitable.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/BlockGenerators.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/IslAst.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/IslExprBuilder.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/IslNodeBuilder.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/CodeGeneration.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/LoopGenerators.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/IRBuilder.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/Utils.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/RuntimeDebugBuilder.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/CodegenCleanup.cpp.o
CMakeFiles/PollyCore.dir/CodeGen/PerfMonitor.cpp.o
CMakeFiles/PollyCore.dir/Exchange/JSONExporter.cpp.o
CMakeFiles/PollyCore.dir/Support/GICHelper.cpp.o
CMakeFiles/PollyCore.dir/Support/SCEVAffinator.cpp.o
CMakeFiles/PollyCore.dir/Support/SCEVValidator.cpp.o
CMakeFiles/PollyCore.dir/Support/RegisterPasses.cpp.o
CMakeFiles/PollyCore.dir/Support/ScopHelper.cpp.o
CMakeFiles/PollyCore.dir/Support/ScopLocation.cpp.o
CMakeFiles/PollyCore.dir/Support/ISLTools.cpp.o
CMakeFiles/PollyCore.dir/Support/DumpModulePass.cpp.o
CMakeFiles/PollyCore.dir/Support/VirtualInstruction.cpp.o
CMakeFiles/PollyCore.dir/Transform/Canonicalization.cpp.o
CMakeFiles/PollyCore.dir/Transform/CodePreparation.cpp.o
CMakeFiles/PollyCore.dir/Transform/DeadCodeElimination.cpp.o
CMakeFiles/PollyCore.dir/Transform/ScheduleOptimizer.cpp.o
CMakeFiles/PollyCore.dir/Transform/FlattenSchedule.cpp.o
CMakeFiles/PollyCore.dir/Transform/FlattenAlgo.cpp.o
CMakeFiles/PollyCore.dir/Transform/DeLICM.cpp.o
CMakeFiles/PollyCore.dir/Transform/Simplify.cpp.o ../../../lib/libPollyISL.a
-llib-NOTFOUND 
/usr/bin/ld.gold: error: cannot find -llib-NOTFOUND
collect2: error: ld returned 1 exit status

We should detect that the library exists and can be linked.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>