[llvm-bugs] [Bug 33798] New: POLLY_BUNDLED_JSONCPP=OFF is failing on Ubuntu Trusty

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 15 01:10:55 PDT 2017


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

            Bug ID: 33798
           Summary: POLLY_BUNDLED_JSONCPP=OFF is failing on Ubuntu Trusty
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Other
          Assignee: polly-dev at googlegroups.com
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

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.

-- 
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/20170715/505f672f/attachment.html>


More information about the llvm-bugs mailing list