"The build timeout" build failure(s) — clang 3.4.2

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
PackageVersionSupposed error messageFull log Bug report
binutils 2.24.51.20140604-3checking whether compiler driver understands Ada Build killed with signal TERM after 60 minutes of inactivity Log
binutils-arm-none-eabi 5checking whether compiler driver understands Ada Build killed with signal TERM after 67 minutes of inactivity Log
binutils-avr 2.24+Atmel3.4.4-1checking whether compiler driver understands Ada Build killed with signal TERM after 69 minutes of inactivity Log
binutils-h8300-hms 2.16.1-9Build killed with signal TERM after 70 minutes of inactivity Log
binutils-m68hc1x 1:2.18-3.3checking whether compiler driver understands Ada Build killed with signal TERM after 76 minutes of inactivity Log
binutils-mingw-w64 3Build killed with signal TERM after 70 minutes of inactivity Log
binutils-z80 4Build killed with signal TERM after 67 minutes of inactivity Log
ccseapps 2.5-4Build killed with signal TERM after 72 minutes of inactivity Log
etl 0.04.17-1Build killed with signal TERM after 60 minutes of inactivity Log
ferret-vis 6.6.2-4Build killed with signal TERM after 66 minutes of inactivity Log
gambc 4.2.8-1.1Build killed with signal TERM after 60 minutes of inactivity Log
gcc-3.3 1:3.3.6ds1-27.1Build killed with signal TERM after 60 minutes of inactivity Log
gcc-4.4 4.4.7-8Build killed with signal TERM after 60 minutes of inactivity Log
gcc-4.6 4.6.4-7Build killed with signal TERM after 62 minutes of inactivity Log
gcc-4.7 4.7.4-1Build killed with signal TERM after 64 minutes of inactivity Log
gcc-4.8 4.8.3-3Build killed with signal TERM after 60 minutes of inactivity Log
gcc-4.9 4.9.0-6Build killed with signal TERM after 62 minutes of inactivity Log
gcc-arm-none-eabi 9Build killed with signal TERM after 70 minutes of inactivity Log
gcc-avr 1:4.8.1+Atmel3.4.4-1checking whether compiler driver understands Ada Build killed with signal TERM after 60 minutes of inactivity Log
gcc-m68hc1x 1:3.3.6+3.1+dfsg-3Build killed with signal TERM after 73 minutes of inactivity Log
gcc-mingw-w64 13Build killed with signal TERM after 60 minutes of inactivity Log
gcc-msp430 4.6.3~mspgcc-20120406-5checking whether compiler driver understands Ada Build killed with signal TERM after 71 minutes of inactivity Log
gcc-snapshot 20140604-1Build killed with signal TERM after 63 minutes of inactivity Log
gdb 7.7.1-1checking whether compiler driver understands Ada Build killed with signal TERM after 60 minutes of inactivity Log
gdb-mingw-w64 9Build killed with signal TERM after 76 minutes of inactivity Log
gnat-4.6 4.6.4-4Build killed with signal TERM after 60 minutes of inactivity Log
libxc 2.0.3-1Build killed with signal TERM after 65 minutes of inactivity Log
mingw32 4.2.1.dfsg-2Build killed with signal TERM after 68 minutes of inactivity Log
mingw32-binutils 2.20-0.2Build killed with signal TERM after 69 minutes of inactivity Log
octave-nan 2.5.9-2Build killed with signal TERM after 60 minutes of inactivity Log
octave-tsa 4.2.7-1Build killed with signal TERM after 60 minutes of inactivity Log
stalin 0.11-5Build killed with signal TERM after 60 minutes of inactivity Log
units 2.11-1Build killed with signal TERM after 60 minutes of inactivity Log

33 errors