Forwarding private email to BTS for clarity. -------- Original Message -------- Subject: Re: #680326 Date: Tue, 10 Jul 2012 13:17:42 +0100 From: Jonathan McCrohan <jmccro...@gmail.com> To: sylves...@debian.org
On 10 July 2012 03:27, Sylvestre Ledru <sylves...@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@alpha:/# cd /tmp/ root@alpha:/tmp# apt-get install git build-essential llvm-dev cmake libconfig++-dev root@alpha:/tmp# git clone git://github.com/ldc-developers/ldc.git root@alpha:/tmp# cd ldc/ root@alpha:/tmp/ldc# cmake . root@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@alpha:/tmp/ldc# cd /tmp/ root@alpha:/tmp# apt-get build-dep llvm-3.0 root@alpha:/tmp# apt-get -b source llvm-3.0 root@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@alpha:/tmp# cd /tmp/ldc/ root@alpha:/tmp/ldc# make clean root@alpha:/tmp/ldc# cmake . root@alpha:/tmp/ldc# make *build fails, but only because of missing druntime* root@alpha:/tmp/ldc# git submodule update --init root@alpha:/tmp/ldc# make *build succeeds* Jon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org