When building port with LLVM_PORTS enabled (llvm-2.9): /bin/sh ./libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I/usr/local/include -I./../.. - I./.. -I./../../ -I/usr/local/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-exceptions -fno-rtti - fPIC -Woverloaded-virtual -Wcast-qual -fexceptions -DLLVM28 -DLLVM29 -O2 -pipe -march=nocona -fno-strict-aliasing -c -o libclamavcxx_la-byteco de2llvm.lo `test -f 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp PointerTracking.cpp:23:29: error: PointerTracking.h: No such file or directory ClamBCRTChecks.cpp:37:29: error: PointerTracking.h: No such file or directory PointerTracking.cpp: In function 'void* initializePointerTrackingPassOnce(llvm::PassRegistry&)': PointerTracking.cpp:37: error: 'PointerTracking' has not been declared PointerTracking.cpp:37: error: 'PointerTracking' was not declared in this scope PointerTracking.cpp:37: error: insufficient contextual information to determine type PointerTracking.cpp: At global scope: PointerTracking.cpp:39: error: 'PointerTracking' has not been declared PointerTracking.cpp:40: error: 'PointerTracking' has not been declared PointerTracking.cpp:40: error: ISO C++ forbids declaration of 'PointerTracking' with no type PointerTracking.cpp: In function 'int PointerTracking()': PointerTracking.cpp:40: error: only constructors take base initializers PointerTracking.cpp: At global scope: PointerTracking.cpp:44: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'bool runOnFunction(llvm::Function&)': PointerTracking.cpp:45: error: 'predCache' was not declared in this scope PointerTracking.cpp:47: error: 'FF' was not declared in this scope PointerTracking.cpp:48: error: 'TD' was not declared in this scope PointerTracking.cpp:48: error: 'getAnalysisIfAvailable' was not declared in this scope PointerTracking.cpp:48: error: expected primary-expression before '>' token PointerTracking.cpp:48: error: expected primary-expression before ')' token PointerTracking.cpp:49: error: 'SE' was not declared in this scope PointerTracking.cpp:49: error: 'getAnalysis' was not declared in this scope PointerTracking.cpp:49: error: expected primary-expression before '>' token PointerTracking.cpp:49: error: expected primary-expression before ')' token PointerTracking.cpp:50: error: 'LI' was not declared in this scope PointerTracking.cpp:50: error: expected primary-expression before '>' token PointerTracking.cpp:50: error: expected primary-expression before ')' token PointerTracking.cpp:51: error: 'DT' was not declared in this scope PointerTracking.cpp:51: error: expected primary-expression before '>' token PointerTracking.cpp:51: error: expected primary-expression before ')' token PointerTracking.cpp: At global scope: PointerTracking.cpp:55: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:55: error: non-member function 'void getAnalysisUsage(llvm::AnalysisUsage&)' cannot have cv-qualifier PointerTracking.cpp:62: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'bool doInitialization(llvm::Module&)': PointerTracking.cpp:66: error: 'callocFunc' was not declared in this scope PointerTracking.cpp:84: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:105: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:106: error: non-member function 'const llvm::SCEV* computeAllocationCount(llvm::Value*, const llvm::Type*&)' cannot have c v-qualifier PointerTracking.cpp: In function 'const llvm::SCEV* computeAllocationCount(llvm::Value*, const llvm::Type*&)': PointerTracking.cpp:112: error: 'SE' was not declared in this scope PointerTracking.cpp:116: error: 'TD' was not declared in this scope PointerTracking.cpp:118: error: 'SE' was not declared in this scope PointerTracking.cpp:121: error: 'SE' was not declared in this scope PointerTracking.cpp:129: error: 'SE' was not declared in this scope PointerTracking.cpp:134: error: 'SE' was not declared in this scope PointerTracking.cpp:141: error: 'LI' was not declared in this scope PointerTracking.cpp:142: error: 'callocFunc' was not declared in this scope PointerTracking.cpp:145: error: 'SE' was not declared in this scope PointerTracking.cpp:148: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp:151: error: 'SE' was not declared in this scope PointerTracking.cpp:155: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:158: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:158: error: non-member function 'llvm::Value* computeAllocationCountValue(llvm::Value*, const llvm::Type*&)' cannot have c v-qualifier PointerTracking.cpp: In function 'llvm::Value* computeAllocationCountValue(llvm::Value*, const llvm::Type*&)': PointerTracking.cpp:171: error: 'TD' was not declared in this scope PointerTracking.cpp:197: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:208: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:210: error: non-member function 'const llvm::SCEV* computeAllocationCountForType(llvm::Value*, const llvm::Type*)' cannot have cv-qualifier PointerTracking.cpp: In function 'const llvm::SCEV* computeAllocationCountForType(llvm::Value*, const llvm::Type*)': PointerTracking.cpp:218: error: 'TD' was not declared in this scope PointerTracking.cpp:219: error: 'SE' was not declared in this scope PointerTracking.cpp:221: error: 'TD' was not declared in this scope PointerTracking.cpp:226: error: 'SE' was not declared in this scope PointerTracking.cpp:227: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:231: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:231: error: non-member function 'const llvm::SCEV* getAllocationElementCount(llvm::Value*)' cannot have cv-qualifier PointerTracking.cpp:237: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:237: error: non-member function 'const llvm::SCEV* getAllocationSizeInBytes(llvm::Value*)' cannot have cv-qualifier PointerTracking.cpp:242: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:242: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:243: error: 'Predicate' has not been declared PointerTracking.cpp:245: error: non-member function 'int isLoopGuardedBy(const llvm::Loop*, int, const llvm::SCEV*, const llvm::SCEV*)' cannot have cv-qualifier PointerTracking.cpp: In function 'int isLoopGuardedBy(const llvm::Loop*, int, const llvm::SCEV*, const llvm::SCEV*)': PointerTracking.cpp:246: error: 'SE' was not declared in this scope PointerTracking.cpp:247: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:248: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:248: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getSwappedPredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:249: error: 'SE' was not declared in this scope PointerTracking.cpp:250: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:252: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:252: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getInversePredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:253: error: 'SE' was not declared in this scope PointerTracking.cpp:254: error: 'AlwaysFalse' was not declared in this scope PointerTracking.cpp:255: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:255: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getSwappedPredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:256: error: 'SE' was not declared in this scope PointerTracking.cpp:257: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:258: error: 'Unknown' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:261: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:261: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'int checkLimits(const llvm::SCEV*, const llvm::SCEV*, llvm::BasicBlock*)': PointerTracking.cpp:266: error: 'Unknown' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:269: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:271: error: non-member function 'void getPointerOffset(llvm::Value*, llvm::Value*&, const llvm::SCEV*&, const llvm::SCEV*& )' cannot have cv-qualifier PointerTracking.cpp: In function 'void getPointerOffset(llvm::Value*, llvm::Value*&, const llvm::SCEV*&, const llvm::SCEV*&)': PointerTracking.cpp:274: error: 'TD' was not declared in this scope PointerTracking.cpp:282: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:289: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:289: error: non-member function 'void print(llvm::raw_ostream&, const llvm::Module*)' cannot have cv-qualifier PointerTracking.cpp: In function 'void print(llvm::raw_ostream&, const llvm::Module*)': PointerTracking.cpp:292: error: 'PT' was not declared in this scope PointerTracking.cpp:292: error: expected type-specifier before 'PointerTracking' PointerTracking.cpp:292: error: expected `>' before 'PointerTracking' PointerTracking.cpp:292: error: expected `(' before 'PointerTracking' PointerTracking.cpp:292: error: expected primary-expression before '>' token PointerTracking.cpp:292: error: invalid use of 'this' in non-member function PointerTracking.cpp:292: error: expected `)' before ';' token PointerTracking.cpp:293: error: 'FF' was not declared in this scope PointerTracking.cpp:311: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:311: error: invalid type in declaration before '=' token PointerTracking.cpp:313: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:316: error: 'AlwaysFalse' was not declared in this scope PointerTracking.cpp:319: error: 'Unknown' was not declared in this scope ClamBCRTChecks.cpp:264: error: ISO C++ forbids declaration of 'PointerTracking' with no type ClamBCRTChecks.cpp:264: error: expected ';' before '*' token ClamBCRTChecks.cpp: In member function 'virtual bool<unnamed>::PtrVerifier::runOnFunction(llvm::Function&)': ClamBCRTChecks.cpp:130: error: 'PT' was not declared in this scope ClamBCRTChecks.cpp:130: error: 'PointerTracking' was not declared in this scope ClamBCRTChecks.cpp:130: error: no matching function for call to '<unnamed>::PtrVerifier::getAnalysis()' ClamBCRTChecks.cpp: In member function 'virtual void<unnamed>::PtrVerifier::getAnalysisUsage(llvm::AnalysisUsage&) const': ClamBCRTChecks.cpp:258: error: 'PointerTracking' was not declared in this scope ClamBCRTChecks.cpp:258: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()' ClamBCRTChecks.cpp: In member function 'llvm::Value*<unnamed>::PtrVerifier::getPointerBounds(llvm::Value*)': ClamBCRTChecks.cpp:400: error: 'PT' was not declared in this scope gmake[5]: *** [libclamavcxx_la-PointerTracking.lo] Помилка 1 gmake[5]: *** Очікування завершення завдань... gmake[5]: *** [libclamavcxx_la-ClamBCRTChecks.lo] Помилка 1 gmake[5]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav/c++" gmake[4]: *** [all] Помилка 2 gmake[4]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav/c++" gmake[3]: *** [all-recursive] Помилка 1 gmake[3]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav" gmake[2]: *** [all] Помилка 2 gmake[2]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav" gmake[1]: *** [all-recursive] Помилка 1 gmake[1]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2" gmake: *** [all] Помилка 2 *** Error code 1 Stop in /usr/ports/security/clamav. Fix: None. How-To-Repeat: Try to build port with that option.
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool)
garga 2011-10-18 14:03:25 UTC FreeBSD ports repository Modified files: security/clamav Makefile distinfo Added files: security/clamav/files patch-libclamav__c++__PointerTracking.h Log: - Update to 0.97.3 - Fix build with external llvm [1] PR: ports/160185 [1] Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com> [1] Revision Changes Path 1.167 +1 -1 ports/security/clamav/Makefile 1.65 +2 -2 ports/security/clamav/distinfo 1.3 +135 -0 ports/security/clamav/files/patch-libclamav__c++__PointerTracking.h (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed, thanks.