"The build timeout" build failure(s) — clang 4.0.1
The binary produced by clang is wrong when built with -D_FORTIFY_SOURCE=2. For example, the code:
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
int main ()
{
char *data;
int pagesize;
int fd, foo;
pagesize = getpagesize ();
fd = open ("conftest.mmap", O_RDWR);
data = (char *) malloc (pagesize);
foo = read (fd, data, pagesize);
}
compiled with:
clang++ -o conftest -g -O2 -D_FORTIFY_SOURCE=2 conftest.cppwill be stucked in an infinity loop. Reported upstream as bug 16821
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| libquvi | 0.9.3-1.2 | E: Build killed with signal TERM after 150 minutes of inactivity | Log | |
| nbd | 1:3.15.2-3 | E: Build killed with signal TERM after 150 minutes of inactivity | Log |
2 errors