Re: binutils-2_30-branch build failed.
On Sat, May 05, 2018 at 05:24:37PM +0800, zhipeng wan wrote: > ../../doc/binutils.texi:8: @include: could not find bfdver.texi > ../../doc/binutils.texi:56: warning: undefined flag: VERSION > ../../doc/binutils.texi:58: warning: undefined flag: UPDATED > ../../doc/binutils.texi:83: warning: undefined flag: VERSION > Makefile:402: recipe for target 'binutils.info' failed You are building in the wrong directory. Run configure from the directory containing bfd, opcodes, binutils, gas, ld and other dirs. If you don't want to build gdb and sim, then you can configure with --disable-gdb --disable-sim --disable-readline --disable-libdecnumber -- Alan Modra Australia Development Lab, IBM ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
Re: binutils-2_30-branch build failed.
Thank you for the clarification. Alan Modra 于2018年5月6日周日 下午3:00写道: > On Sat, May 05, 2018 at 05:24:37PM +0800, zhipeng wan wrote: > > ../../doc/binutils.texi:8: @include: could not find bfdver.texi > > ../../doc/binutils.texi:56: warning: undefined flag: VERSION > > ../../doc/binutils.texi:58: warning: undefined flag: UPDATED > > ../../doc/binutils.texi:83: warning: undefined flag: VERSION > > Makefile:402: recipe for target 'binutils.info' failed > > You are building in the wrong directory. Run configure from the > directory containing bfd, opcodes, binutils, gas, ld and other dirs. > If you don't want to build gdb and sim, then you can configure with > --disable-gdb --disable-sim --disable-readline --disable-libdecnumber > > -- > Alan Modra > Australia Development Lab, IBM > ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23146] New: Many targets won't build with GCC 8
https://sourceware.org/bugzilla/show_bug.cgi?id=23146 Bug ID: 23146 Summary: Many targets won't build with GCC 8 Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Many targets, like ia64-linux, won't build with GCC 8: /export/gnu/import/git/toolchain/src/binutils/bfd/cofflink.c: In function \u2018_bfd_coff_link_input_bfd\u2019: /export/gnu/import/git/toolchain/src/binutils/bfd/cofflink.c:1842:8: error: \u2018__builtin_strcmp\u2019 argument 1 declared attribute \u2018nonstring\u2019 [-Werror=stringop-overflow=] && strncmp (isym.n_name, ".bf", sizeof isym.n_name) != 0 ^~~~ In file included from /export/gnu/import/git/toolchain/src/binutils/bfd/cofflink.c:28: /export/gnu/import/git/toolchain/src/binutils/bfd/../include/coff/internal.h:469:10: note: argument \u2018_n_name\u2019 declared here char _n_name[SYMNMLEN] ATTRIBUTE_NONSTRING; /* old COFF version */ ^~~ cc1: all warnings being treated as errors -- 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
[Bug binutils/23146] Many targets won't build with GCC 8
https://sourceware.org/bugzilla/show_bug.cgi?id=23146 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 from Alan Modra --- 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] -- 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
[Bug binutils/23146] Many targets won't build with GCC 8
https://sourceware.org/bugzilla/show_bug.cgi?id=23146 --- Comment #2 from Alan Modra --- Incidentally, I'm building using gcc8 with -Wno-error=stringop-truncation -Wno-error=stringop-overflow -- 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
[Bug binutils/23146] Many targets won't build with GCC 8
https://sourceware.org/bugzilla/show_bug.cgi?id=23146 --- Comment #3 from H.J. Lu --- (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
[Bug binutils/23146] Many targets won't build with GCC 8
https://sourceware.org/bugzilla/show_bug.cgi?id=23146 --- Comment #4 from Alan Modra --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85643 -- 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