clang-3.4 hangs on package alliance 5.0-20120515-6
Nicolas Sévelin-Radiguet
nicosr at free.fr
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]:
- expy-0fa6b4.sh 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.
Regards,
Nicolas
[0] https://packages.debian.org/sid/alliance
[1]
http://clang.debian.net/logs/2014-01-14/alliance_5.0-20120515-6_unstable_clang.log
[2]
https://github.com/nonas/debian-clang/blob/master/buildlogs/alliance/alliance-5.0-20120515/debian/patches/12-clang-FTBFS-Wreturn-type.patch
[3]
https://github.com/nonas/debian-clang/blob/master/buildlogs/alliance/alliance_5.0-20120515-6_amd64-20140408-2104_patch%2Bclang.build
[2 MB]
[4] https://github.com/nonas/debian-clang/tree/master/buildlogs/alliance
[5]
https://github.com/nonas/debian-clang/blob/master/buildlogs/alliance/alliance_5.0-20120515-6_amd64-20140408-2053_patch%2Bgcc.build
[3 MB]
More information about the Pkg-llvm-team
mailing list