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

Nicolas Sévelin-Radiguet nicosr at
Tue Apr 8 19:36:13 UTC 2014

Hello everyone,

While fixing some FTBFS with clang instead of gcc, I came across a bug 
in clang (at least I think so).

The package I am working on is alliance 5.0-20120515-6 [0] which is 
failing to build due to -Wreturn-type errors [1]. After applying the 
following patch [2] to get rid of these, clang hangs (eats CPU) and 
nothing happens even after a few minutes [3].
The files needed to reproduce this behavior are here [4]:
- is the command line
- expy-0fa6b4.c is the source

The source, with the patch applied, builds fine with gcc [5].
Please note that I am not familiar at all with this particular package.

Tell me if you need more info.


[2 MB]
[3 MB]

More information about the Pkg-llvm-team mailing list