bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/31109] gprofng not built and installed in a combined binuti


From: vladimir.mezentsev at oracle dot com
Subject: [Bug gprofng/31109] gprofng not built and installed in a combined binutils+gcc build
Date: Sat, 02 Dec 2023 04:48:51 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]