Bug#680326: llvm-3.0: binNMU required
Jonathan McCrohan
jmccrohan at gmail.com
Tue Jul 10 19:22:16 UTC 2012
Forwarding private email to BTS for clarity.
-------- Original Message --------
Subject: Re: #680326
Date: Tue, 10 Jul 2012 13:17:42 +0100
From: Jonathan McCrohan <jmccrohan at gmail.com>
To: sylvestre at debian.org
On 10 July 2012 03:27, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Sure. Could you give me a test case of the issue ?
Yes, of course.
On an up to date clean sid chroot:
root at alpha:/# cd /tmp/
root at alpha:/tmp# apt-get install git build-essential llvm-dev cmake libconfig++-dev
root at alpha:/tmp# git clone git://github.com/ldc-developers/ldc.git
root at alpha:/tmp# cd ldc/
root at alpha:/tmp/ldc# cmake .
root at alpha:/tmp/ldc# make
*build fails*
--8<---------------cut here---------------start------------->8--
[ 95%] Building CXX object CMakeFiles/ldc2.dir/driver/main.cpp.o
/ldc/driver/main.cpp: In function 'int main(int, char**)':
/ldc/driver/main.cpp:215:73: warning: cast from type 'const char**' to type 'char**' casts away qualifiers [-Wcast-qual]
Linking CXX executable bin/ldc2
`.text._ZN4llvm13RGPassManagerD2Ev' referenced in section `.text._ZN4llvm13RGPassManagerD1Ev[_ZN4llvm13RGPassManagerD1Ev]' of /usr/lib/llvm-3.0/lib/libLLVMAnalysis.a(RegionPass.o): defined in discarded section `.text._ZN4llvm13RGPassManagerD2Ev[_ZN4llvm13RGPassManagerD5Ev]' of /usr/lib/llvm-3.0/lib/libLLVMAnalysis.a(RegionPass.o)
collect2: error: ld returned 1 exit status
make[2]: *** [bin/ldc2] Error 1
make[1]: *** [CMakeFiles/ldc2.dir/all] Error 2
make: *** [all] Error 2
--8<---------------cut here---------------end--------------->8--
root at alpha:/tmp/ldc# cd /tmp/
root at alpha:/tmp# apt-get build-dep llvm-3.0
root at alpha:/tmp# apt-get -b source llvm-3.0
root at alpha:/tmp# dpkg -i llvm-3.0_3.0-9_amd64.deb llvm-3.0-dev_3.0-9_amd64.deb llvm-3.0-runtime_3.0-9_amd64.deb
root at alpha:/tmp# cd /tmp/ldc/
root at alpha:/tmp/ldc# make clean
root at alpha:/tmp/ldc# cmake .
root at alpha:/tmp/ldc# make
*build fails, but only because of missing druntime*
root at alpha:/tmp/ldc# git submodule update --init
root at alpha:/tmp/ldc# make
*build succeeds*
Jon
More information about the Pkg-llvm-team
mailing list