clang-3.4 hangs on package alliance 5.0-20120515-6

Nicolas Sévelin-Radiguet nicosr at free.fr
Sun May 4 21:11:15 UTC 2014


[05/03/2014 10:16 PM] Sylvestre Ledru:
> Which version of clang do you use?
I used clang 3.3-16 and 3.4-2 (it's great to have both in the archive)
I can't reproduce, whatever the version.
>> The bug I have in the alliance package is about clang taking forever
>> to compile the source. I will try to generated a reduced test case. It
>> looks like c-reduce is the appropriate tool to do that, right ?
>>
> I am not really sure that creduce can handle such case. Just give it a try.
I will (maybe next weekend)
>> About the 'build time out' category on debian.clang.net, it looks like
>> it is not related to bug 16821 (at least not all packages are). I was
>> able to build some of them. Buildlogs are here:
>> https://github.com/nonas/debian-clang/tree/master/tests/build_timeout/buildlogs
>> See files attempted.txt, failed.txt and successful.txt.
> Looks like you have some issues here (but that is great news that you
> cannot reproduce the bug):
> https://github.com/nonas/debian-clang/blob/master/tests/build_timeout/buildlogs/gcc-4.8_4.8.2-21_amd64-20140427-2130.build
> https://github.com/nonas/debian-clang/blob/master/tests/build_timeout/buildlogs/scilab_5.5.0-2_amd64-20140427-1025.build
Yes, with a fresh schroot there's no more problem regarding g++-multilib 
or gfortran. 4 more packages build successfully (ccseapps, openturns, 
psi4 and scilab, see 
https://github.com/nonas/debian-clang/blob/master/tests/build_timeout/buildlogs/run2/successful.txt)

However I still have some dependency issues for gcc:
	dpkg-checkbuilddeps: Unmet build dependencies: doxygen (>= 1.4.2) 
graphviz (>= 2.2) gsfonts-x11 texlive-latex-base
I don't understand why these are not pulled as well.

I have a little bit more info about the memory leak I talked about.
It seems that clang spawns threads indefinitely when checking for Ada 
compatibility.
See the following screenshot: 
https://github.com/nonas/debian-clang/blob/master/tests/build_timeout/buildlogs/run3/htop_ada.png
where x86_64-linux-gnu-gcc is a link to clang (note the number of 
threads, and memory occupation!)
I had trouble killing everything :)
>
> Interesting that it is working for you. Maybe a more recent version of
> gcc or libc fixed the bug.
>
>
> Cheers,
> sylvestre
>

Bye,
Nicolas




More information about the Pkg-llvm-team mailing list