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

Bug#957044: binutils-m68hc1x: ftbfs with GCC-10



Package: src:binutils-m68hc1x
Version: 1:2.18-9
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/binutils-m68hc1x_2.18-9_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
../../binutils-2.18/gas/config/obj-elf.c:113:22: warning: cast between incompatible function types from ‘struct fix * (*)(int)’ to ‘void (*)(int)’ [-Wcast-function-type]
  113 |   {"vtable_inherit", (void (*) (int)) &obj_elf_vtable_inherit, 0},
      |                      ^
../../binutils-2.18/gas/config/obj-elf.c:114:20: warning: cast between incompatible function types from ‘struct fix * (*)(int)’ to ‘void (*)(int)’ [-Wcast-function-type]
  114 |   {"vtable_entry", (void (*) (int)) &obj_elf_vtable_entry, 0},
      |                    ^
../../binutils-2.18/gas/config/obj-elf.c:121:13: warning: cast between incompatible function types from ‘char * (*)(int)’ to ‘void (*)(int)’ [-Wcast-function-type]
  121 |   { "file", (void (*) (int)) dwarf2_directive_file, 0 },
      |             ^
In file included from ../../binutils-2.18/gas/as.h:147,
                 from ../../binutils-2.18/gas/config/obj-elf.c:24:
../../binutils-2.18/gas/config/obj-elf.c: In function ‘obj_elf_init_stab_section’:
../bfd/bfd.h:361:83: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  361 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../binutils-2.18/gas/config/obj-elf.c:1639:3: note: in expansion of macro ‘bfd_set_section_alignment’
 1639 |   bfd_set_section_alignment (stdoutput, seg, 2);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-2.18/gas/config/obj-elf.c: In function ‘obj_elf_parse_section_letters’:
../../binutils-2.18/gas/config/obj-elf.c:755:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  755 |    if (*(str - 1) == 'a')
      |       ^
../../binutils-2.18/gas/config/obj-elf.c:765:2: note: here
  765 |  default:
      |  ^~~~~~~
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.18/gas -I. -D_GNU_SOURCE -I. -I../../binutils-2.18/gas -I../bfd -I../../binutils-2.18/gas/config -I../../binutils-2.18/gas/../include -I../../binutils-2.18/gas/.. -I../../binutils-2.18/gas/../bfd -DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -c ../../binutils-2.18/gas/config/atof-ieee.c
/bin/bash ./libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE   -o as-new  app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-m68hc11.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a   
libtool: link: x86_64-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -o as-new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-m68hc11.o obj-elf.o atof-ieee.o  ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
/usr/bin/ld: as.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: atof-generic.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: cond.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: depend.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: dwarf2dbg.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: dw2gencfi.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: ecoff.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: ehopt.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: expr.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: flonum-copy.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: frags.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: hash.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: input-file.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: input-scrub.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: listing.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: literal.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: macro.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: messages.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: output-file.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: read.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: remap.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: sb.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: stabs.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: subsegs.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: symbols.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: write.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: tc-m68hc11.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: obj-elf.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
/usr/bin/ld: atof-ieee.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: multiple definition of `dwarf2_loc_mark_labels'; app.o:./build/gas/../../binutils-2.18/gas/dwarf2dbg.h:81: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:2209: as-new] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gas'
make[4]: *** [Makefile:2254: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/gas'
make[3]: *** [Makefile:2140: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/gas'
make[2]: *** [Makefile:5437: all-gas] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:674: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
make: *** [debian/rules:65: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: