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

            Bug ID: 120866
           Summary: [16 Regression] pdp11-aout crosscompiler fails to
                    build
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pheeck at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: pdp11-aout

If I try to build pdp11-aout crosscompiler (without bootstrap)

/home/fkastl/gcc/src/configure --disable-bootstrap --enable-checking
--disable-libsanitizer --prefix=/home/fkastl/gcc/inst --config-cache
--target=pdp11-aout

I run into this error:

g++  -fno-PIE -c   -g -O2     -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings  -DHAVE_CONFIG_H -fno-PIE -I. -I.
-I/home/fkastl/gcc/src/gcc -I/home/fkastl/gcc/src/gcc/.
-I/home/fkastl/gcc/src/gcc/../include 
-I/home/fkastl/gcc/src/gcc/../libcpp/include
-I/home/fkastl/gcc/src/gcc/../libcody 
-I/home/fkastl/gcc/src/gcc/../libdecnumber
-I/home/fkastl/gcc/src/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/fkastl/gcc/src/gcc/../libbacktrace   -o tree.o -MT tree.o -MMD -MP -MF
./.deps/tree.TPo /home/fkastl/gcc/src/gcc/tree.cc
In file included from ./tm.h:21,
                 from /home/fkastl/gcc/src/gcc/backend.h:28,
                 from /home/fkastl/gcc/src/gcc/tree.cc:33:
/home/fkastl/gcc/src/gcc/tree.cc: In function ‘tree_node*
generate_internal_label(const char*)’:
/home/fkastl/gcc/src/gcc/config/pdp11/pdp11.h:561:3: error:
‘pdp11_gen_int_label’ was not declared in this scope
  561 |   pdp11_gen_int_label ((LABEL), (PREFIX), (NUM))
      |   ^~~~~~~~~~~~~~~~~~~
/home/fkastl/gcc/src/gcc/tree.cc:819:3: note: in expansion of macro
‘ASM_GENERATE_INTERNAL_LABEL’
  819 |   ASM_GENERATE_INTERNAL_LABEL (tmp, prefix, num++);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to