[LLVMbugs] [Bug 8523] New: build failure on Debian Testing, not seen on CentOS 5
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 1 09:05:55 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8523
Summary: build failure on Debian Testing, not seen on CentOS 5
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: herrold at owlriver.com
CC: llvmbugs at cs.uiuc.edu
herrold at debian4:~/temp$ ./mk-clang.sh clang-20101101.tar.gz
20101101
tail: cannot open `clang-20101101/debian/changelog' for reading: No such file
or directory
dpkg-source: failure: tail of clang-20101101/debian/changelog gave error exit
status 1
Makefile:44: Makefile.config: No such file or directory
Makefile:130: /Makefile.rules: No such file or directory
make: *** No rule to make target `/Makefile.rules'. Stop.
Maintainer name : herrold
Email-Address : info at owlriver.com
Date : Mon, 01 Nov 2010 10:14:05 -0400
Package Name : clang-0.0.20101101-1
Version : 20101101
License : gpl
Using dpatch : no
Type of Package : Multi-Binary
Hit <enter> to confirm: Done. Please edit the files in the debian/ subdirectory
now. clang-0.0.20101101-1
uses a configure script, so you probably don't have to edit the Makefiles.
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `global constructors keyed to Hello.cpp':
Hello.cpp:(.text+0x8b): undefined reference to
`llvm::PassRegistry::getPassRegistry()'
Hello.cpp:(.text+0x9f): undefined reference to
`llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
Hello.cpp:(.text+0x129): undefined reference to
`llvm::PassRegistry::getPassRegistry()'
Hello.cpp:(.text+0x13d): undefined reference to
`llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello::~Hello()':
Hello.cpp:(.text+0x1dc): undefined reference to `vtable for llvm::FunctionPass'
Hello.cpp:(.text+0x1e9): undefined reference to `llvm::Pass::~Pass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello::~Hello()':
Hello.cpp:(.text+0x225): undefined reference to `vtable for llvm::FunctionPass'
Hello.cpp:(.text+0x232): undefined reference to `llvm::Pass::~Pass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello2::~Hello2()':
Hello.cpp:(.text+0x25c): undefined reference to `vtable for llvm::FunctionPass'
Hello.cpp:(.text+0x269): undefined reference to `llvm::Pass::~Pass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello2::~Hello2()':
Hello.cpp:(.text+0x2a5): undefined reference to `vtable for llvm::FunctionPass'
Hello.cpp:(.text+0x2b2): undefined reference to `llvm::Pass::~Pass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `llvm::Pass* llvm::callDefaultCtor<(anonymous
namespace)::Hello>()':
Hello.cpp:(.text+0x2fa): undefined reference to
`llvm::Pass::Pass(llvm::PassKind, char&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `llvm::Pass* llvm::callDefaultCtor<(anonymous
namespace)::Hello2>()':
Hello.cpp:(.text+0x35a): undefined reference to
`llvm::Pass::Pass(llvm::PassKind, char&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello2::runOnFunction(llvm::Function&)':
Hello.cpp:(.text+0x39b): undefined reference to
`llvm::sys::AtomicIncrement(unsigned int volatile*)'
Hello.cpp:(.text+0x3a7): undefined reference to `llvm::sys::MemoryFence()'
Hello.cpp:(.text+0x3b8): undefined reference to
`llvm::Statistic::RegisterStatistic()'
Hello.cpp:(.text+0x3bd): undefined reference to `llvm::errs()'
Hello.cpp:(.text+0x3f2): undefined reference to `llvm::Value::getName() const'
Hello.cpp:(.text+0x402): undefined reference to `llvm::errs()'
Hello.cpp:(.text+0x412): undefined reference to
`llvm::raw_ostream::write_escaped(llvm::StringRef)'
Hello.cpp:(.text+0x44e): undefined reference to `llvm::raw_ostream::write(char
const*, unsigned int)'
Hello.cpp:(.text+0x464): undefined reference to
`llvm::raw_ostream::write(unsigned char)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:
In function `(anonymous namespace)::Hello::runOnFunction(llvm::Function&)':
Hello.cpp:(.text+0x49b): undefined reference to
`llvm::sys::AtomicIncrement(unsigned int volatile*)'
Hello.cpp:(.text+0x4a7): undefined reference to `llvm::sys::MemoryFence()'
Hello.cpp:(.text+0x4b8): undefined reference to
`llvm::Statistic::RegisterStatistic()'
Hello.cpp:(.text+0x4bd): undefined reference to `llvm::errs()'
Hello.cpp:(.text+0x4f2): undefined reference to `llvm::Value::getName() const'
Hello.cpp:(.text+0x502): undefined reference to `llvm::errs()'
Hello.cpp:(.text+0x512): undefined reference to
`llvm::raw_ostream::write_escaped(llvm::StringRef)'
Hello.cpp:(.text+0x54e): undefined reference to `llvm::raw_ostream::write(char
const*, unsigned int)'
Hello.cpp:(.text+0x564): undefined reference to
`llvm::raw_ostream::write(unsigned char)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x10):
undefined reference to `llvm::Pass::getPassName() const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x18):
undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module
const*) const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x1c):
undefined reference to
`llvm::FunctionPass::createPrinterPass(llvm::raw_ostream&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x20):
undefined reference to `llvm::FunctionPass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x24):
undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x28):
undefined reference to `llvm::FunctionPass::getPotentialPassManagerType()
const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x2c):
undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&)
const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x30):
undefined reference to `llvm::Pass::releaseMemory()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x34):
undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x38):
undefined reference to `llvm::Pass::getAsImmutablePass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x3c):
undefined reference to `llvm::Pass::getAsPMDataManager()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x40):
undefined reference to `llvm::Pass::verifyAnalysis() const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x44):
undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x48):
undefined reference to `llvm::FunctionPass::doInitialization(llvm::Module&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x50):
undefined reference to `llvm::FunctionPass::doFinalization(llvm::Module&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x70):
undefined reference to `llvm::Pass::getPassName() const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x78):
undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module
const*) const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x7c):
undefined reference to
`llvm::FunctionPass::createPrinterPass(llvm::raw_ostream&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x80):
undefined reference to `llvm::FunctionPass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x84):
undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x88):
undefined reference to `llvm::FunctionPass::getPotentialPassManagerType()
const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x90):
undefined reference to `llvm::Pass::releaseMemory()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x94):
undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x98):
undefined reference to `llvm::Pass::getAsImmutablePass()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0x9c):
undefined reference to `llvm::Pass::getAsPMDataManager()'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0xa0):
undefined reference to `llvm::Pass::verifyAnalysis() const'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0xa4):
undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0xa8):
undefined reference to `llvm::FunctionPass::doInitialization(llvm::Module&)'
/home/herrold/temp/clang-20101101/lib/Transforms/Hello/Release+Asserts/Hello.o:(.data.rel.ro+0xb0):
undefined reference to `llvm::FunctionPass::doFinalization(llvm::Module&)'
collect2: ld returned 1 exit status
make[4]: ***
[/home/herrold/temp/clang-20101101/Release+Asserts/lib/LLVMHello.so] Error 1
make[3]: *** [Hello/.makeinstall] Error 2
make[2]: *** [Transforms/.makeinstall] Error 2
make[1]: *** [install] Error 1
make: *** [install-arch] Error 2
make[1]: *** No rule to make target `distclean'. Stop.
make: *** [clean] Error 2
herrold at debian4:~/temp$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
herrold at debian4:~/temp$ uname -a
Linux debian4.first.lan 2.6.26-2-686 #1 SMP Mon Aug 30 07:01:57 UTC 2010 i686
GNU/Linux
herrold at debian4:~/temp$
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list