https://sourceware.org/bugzilla/show_bug.cgi?id=23146
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alan Modra from comment #1) > This particular error is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85623. > We can work around it by replacing the strncmp call with memcmp, but a > number of annoying gcc8 warnings remain (if you don't have system headers > that hide the warning): > > bfd/coffcode.h:3461:7: warning: ‘strncpy’ specified bound 8 equals > destination size [-Wstringop-truncation] > bfd/elf32-arm.c:2177:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > bfd/elf32-ppc.c:2414:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > bfd/elf32-s390.c:3954:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > bfd/elf64-ppc.c:3044:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > bfd/elf64-s390.c:3763:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > bfd/elfxx-aarch64.c:662:2: warning: ‘strncpy’ specified bound 80 equals > destination size [-Wstringop-truncation] > libiberty/dyn-string.c:280:3: warning: ‘strncpy’ output truncated before > terminating nul copying as many bytes from a string as its length > [-Wstringop-truncation] Are these known GCC 8 bugs? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils