pkgsrc-Users archive

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

gcc12 fails on NetBSD 9 i386



  gmake[2]: Entering directory '/n0/tmp/work/lang/gcc12/work/build/gcc'
  c++ -std=c++11 -no-pie   -O2 -I/usr/include     -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib gcov.o json.o \
          hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a  ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -lz -o gcov
  ld: ld: DWARF error: can't find .debug_ranges section.
  gcov.o: in function `unblock(block_info const*, std::vector<block_info const*, std::allocator<block_info const*> >&, std::vector<std::vector<block_info const*, std::allocator<block_info const*> >, std::allocator<std::vector<block_info const*, std::allocator<block_info const*> > > >&)':
  gcov.cc:(.text+0x15b3): undefined reference to `std::__throw_bad_array_new_length()'
  gmake[2]: *** [Makefile:3116: gcov] Error 1

Is it building for anyone else?

It does build on NetBSD 9 amd64.



Home | Main Index | Thread Index | Old Index