[Bug d/104889] New: [12 Regression] D frontend fails to link on x86_64-linux-gnux32

doko at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 12 06:53:33 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104889

            Bug ID: 104889
           Summary: [12 Regression] D frontend fails to link on
                    x86_64-linux-gnux32
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20220302 on x86_64-linux-gnu during stage1, with
x86_64-linux-gnux32-gdc-10 as the bootstrap compiler.

/usr/bin/ld: auto-profile.o: in function
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<char const* const,
unsigned int> > >::allocate(unsigned int, void const*)':
/usr/include/c++/11/ext/new_allocator.h:116: undefined reference to
`std::__throw_bad_array_new_length()'
/usr/bin/ld: auto-profile.o: in function
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, long
long> > >::allocate(unsigned int, void const*)':
/usr/include/c++/11/ext/new_allocator.h:116: undefined reference to
`std::__throw_bad_array_new_length()'
/usr/bin/ld: auto-profile.o: in function
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const,
autofdo::count_info> > >::allocate(unsigned int, void const*)':
/usr/include/c++/11/ext/new_allocator.h:116: undefined reference to
`std::__throw_bad_array_new_length()'
/usr/bin/ld: auto-profile.o: in function
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::pair<unsigned int,
unsigned int> const, autofdo::function_instance*> > >::allocate(unsigned int,
void const*)':
/usr/include/c++/11/ext/new_allocator.h:116: undefined reference to
`std::__throw_bad_array_new_length()'
/usr/bin/ld: auto-profile.o: in function
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const,
autofdo::function_instance*> > >::allocate(unsigned int, void const*)':
/usr/include/c++/11/ext/new_allocator.h:116: undefined reference to
`std::__throw_bad_array_new_length()'
/usr/bin/ld: auto-profile.o:/usr/include/c++/11/ext/new_allocator.h:116: more
undefined references to `std::__throw_bad_array_new_length()' follow
collect2: error: ld returned 1 exit status
make[5]: *** [../../src/gcc/d/Make-lang.in:228: d21] Error 1


More information about the Gcc-bugs mailing list