Debian Package rebuild

Rebuild of the Debian archive with clang

"The build timeout" build failure(s)
clang 12.0.1
Return to the list
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.cpp
will be stucked in an infinity loop. Reported upstream as bug 16821
Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
No error detect for version 12.0.1
0 errors
Return to the list