https://sourceware.org/bugzilla/show_bug.cgi?id=31109
--- Comment #4 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> --- I cannot reproduce the problem. I cloned http://gcc.gnu.org/git/gcc.git and copied all directories from binutils-gdb. I see an error in the libctf build: ../../libctf/ctf-hash.c: In function ‘ctf_dynhash_create’: ../../libctf/ctf-hash.c:169:13: error: allocation of insufficient size ‘8’ for type ‘ctf_dynhash_t’ {aka ‘struct ctf_dynhash’} with size ‘24’ [-Werror=alloc-size] 169 | dynhash = malloc (offsetof (ctf_dynhash_t, key_free)); ../../libctf/ctf-hash.c: In function ‘ctf_hashtab_insert’: ../../libctf/ctf-hash.c:222:15: error: allocation of insufficient size ‘16’ for type ‘ctf_helem_t’ {aka ‘struct ctf_helem’} with size ‘24’ [-Werror=alloc-size] After fixing these errors, my build and installation no longer have any other errors. -- You are receiving this mail because: You are on the CC list for the bug.