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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|/usr/ccs/bin/ld:            |/usr/ccs/bin/ld:
                   |Unsatisfied symbols         |Unsatisfied symbols:
                   |referenced                  |U_get_unwind_entry,
                   |                            |U_IS_STUB_OR_CALLX,
                   |                            |U_get_shLib_text_addr,
                   |                            |U_is_shared_pc,
                   |                            |U_init_frame_record,
                   |                            |U_prep_frame_rec_for_unwind
                   |                            |, U_get_shLib_unw_tbl,
                   |                            |U_get_previous_frame_x and
                   |                            |U_get_unwind_table

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
g++ -std=c++11 -no-pie -g -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwi
nd-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmiss
ing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic
-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++
-static-libgcc
  -o gnatbind -g ada/b_gnatb.o ada/ali-util.o ada/ali.o ada/alloc.o
ada/aspects.
o ada/atree.o ada/bcheck.o ada/binde.o ada/binderr.o ada/bindgen.o ada/bindo.o
a
da/bindo-augmentors.o ada/bindo-builders.o ada/bindo-diagnostics.o
ada/bindo-ela
borators.o ada/bindo-graphs.o ada/bindo-units.o ada/bindo-validators.o
ada/bindo
-writers.o ada/bindusg.o ada/butil.o ada/casing.o ada/csets.o ada/debug.o
ada/ei
nfo-entities.o ada/einfo-utils.o ada/einfo.o ada/elists.o ada/err_vars.o
ada/err
out.o ada/erroutc.o ada/exit.o ada/final.o ada/fmap.o ada/fname-uf.o
ada/fname.o
 ada/gnatbind.o ada/gnatvsn.o ada/hostparm.o ada/krunch.o ada/lib.o ada/link.o
a
da/namet.o ada/nlists.o ada/opt.o ada/osint-b.o ada/osint.o ada/output.o
ada/res
trict.o ada/rident.o ada/scans.o ada/scil_ll.o ada/scng.o ada/sdefault.o
ada/sei
nfo.o ada/sem_aux.o ada/sinfo.o ada/sinfo-nodes.o ada/sinfo-utils.o
ada/sinput-c
.o ada/sinput.o ada/snames.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o
ada/stylesw.o ada/switch-b.o ada/switch.o ada/table.o ada/targparm.o
ada/types.o
 ada/uintp.o ada/uname.o ada/urealp.o ada/widechar.o ada/gnat.o ada/g-dynhta.o
a
da/g-lists.o ada/g-graphs.o ada/g-sets.o ada/s-casuti.o ada/s-os_lib.o
ada/s-res
fil.o ada/s-utf_32.o ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o
ada/errno.o ada/targext.o ada/version.o ggc-none.o libcommon-target.a
libcommon.
a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiber
ty.a ../libdecnumber/libdecnumber.a  
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa2.0w-h
p-hpux11.11/8.5.0/adalib/libgnat.a
/usr/ccs/bin/ld: Unsatisfied symbols:
   U_get_unwind_entry (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa2
.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_IS_STUB_OR_CALLX (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa2
.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_get_shLib_text_addr (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hp
pa2.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_is_shared_pc (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa2.0w-
hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_init_frame_record (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa
2.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_prep_frame_rec_for_unwind (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/
gcc/hppa2.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_get_shLib_unw_tbl (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa
2.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_get_previous_frame_x (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/h
ppa2.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
   U_get_unwind_table (first referenced in
/home/opt/gnu/gcc/gcc-8/lib/gcc/hppa2
.0w-hp-hpux11.11/8.5.0/adalib/libgnat.a(s-traceb.o)) (code)
collect2: error: ld returned 1 exit status
make[3]: *** [../../gcc/gcc/ada/gcc-interface/Make-lang.in:746: gnatbind] Error
1
make[3]: *** Waiting for unfinished jobs....

This was introduced by the following change:

commit abcf5174979bcb91ac4c921eaa19a5b37f231ae4 (HEAD, refs/bisect/bad)
Author: Arnaud Charlet <char...@adacore.com>
Date:   Wed Jan 13 08:49:15 2021 -0500

    [Ada] Use runtime from base compiler during stage1

    gcc/ada/

            * Make-generated.in: Add rule to copy runtime files needed
            during stage1.
            * raise.c: Remove obsolete symbols used during bootstrap.
            * gcc-interface/Make-lang.in: Do not use libgnat sources during
            stage1.
            (GNAT_ADA_OBJS, GNATBIND_OBJS): Split in two parts, the common
            part and the part only used outside of stage1.
            (ADA_GENERATED_FILES): Add runtime files needed during bootstrap
            when recent APIs are needed.
            (ada/b_gnatb.adb): Remove prerequisite.
            * gcc-interface/system.ads: Remove obsolete entries.

Reply via email to