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

            Bug ID: 85020
           Summary: [8 Regression] gcc fails to bootstrap with
                    profiledbootstrap and
                    --with-build-config=bootstrap-lto
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

make profiledbootstrap fails for configuration with bootstrap-lto in
stageprofile.

Fails to link gnatbind:

/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_42.3/gcc-8.0.0-profile-l
to/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-u
nknown-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0
-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/
opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate
-flto=jobserver -frandom-seed=1 -DIN_GCC -fPIC -fno-exceptions -fno-r
tti -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
-static-libstdc++ -static-libgcc  -o gnatbind ada/b_
gnatb.o ada/libgnat/a-elchha.o ada/libgnat/a-except.o ada/libgnat/ada.o
ada/adaint.o ada/ali-util.o ada/ali.o ada/alloc.o ada/argv.o ada/aspects.o
ada/atree.o ada/bcheck.o ada/binde.o ada/binderr.o ada/bindgen.o ada/bindusg.o
ada/butil.o ada/casing.o ada/cio.o ada/csets.
o ada/cstreams.o ada/debug.o ada/einfo.o ada/elists.o ada/env.o ada/err_vars.o
ada/errout.o ada/erroutc.o ada/exit.o ada/final.o ada/fmap.o ada/fname-uf.o
ada/fname.o ada/libgnat/g-byorma.o ada/libgnat/g-hesora.o
ada/libgnat/g-htable.o ada/libgnat/gnat.o ada/gnatbind.o a
da/gnatvsn.o ada/hostparm.o ada/init.o ada/initialize.o ada/libgnat/interfac.o
ada/krunch.o ada/lib.o ada/link.o ada/namet.o ada/nlists.o ada/opt.o
ada/osint-b.o ada/osint.o ada/output.o ada/raise.o ada/raise-gcc.o
ada/restrict.o ada/rident.o ada/rtfinal.o ada/rtinit.o a
da/libgnat/s-addope.o ada/libgnat/s-assert.o ada/libgnat/s-carun8.o
ada/libgnat/s-casuti.o ada/libgnat/s-conca2.o ada/libgnat/s-conca3.o
ada/libgnat/s-conca4.o ada/libgnat/s-conca5.o ada/libgnat/s-conca6.o
ada/libgnat/s-conca7.o ada/libgnat/s-conca8.o ada/libgnat/s-conca
9.o ada/libgnat/s-crc32.o ada/libgnat/s-crtl.o ada/libgnat/s-excdeb.o
ada/libgnat/s-except.o ada/libgnat/s-excmac.o ada/libgnat/s-exctab.o
ada/libgnat/s-htable.o ada/libgnat/s-imenne.o ada/libgnat/s-imgenu.o
ada/libgnat/s-imgint.o ada/libgnat/s-mastop.o ada/libgnat/s-mem
ory.o ada/libgnat/s-os_lib.o ada/libgnat/s-parame.o ada/libgnat/s-resfil.o
ada/libgnat/s-restri.o ada/libgnat/s-secsta.o ada/libgnat/s-soflin.o
ada/libgnat/s-soliin.o ada/libgnat/s-sopco3.o ada/libgnat/s-sopco4.o
ada/libgnat/s-sopco5.o ada/libgnat/s-stache.o ada/libgnat/
s-stalib.o ada/libgnat/s-stoele.o ada/libgnat/s-strhas.o ada/libgnat/s-string.o
ada/libgnat/s-strops.o ada/libgnat/s-traent.o ada/libgnat/s-traceb.o
ada/libgnat/s-unstyp.o ada/libgnat/s-utf_32.o ada/libgnat/s-wchcnv.o
ada/libgnat/s-wchcon.o ada/libgnat/s-wchjis.o ada/lib
gnat/s-wchstw.o ada/scans.o ada/scil_ll.o ada/scng.o ada/sdefault.o
ada/seh_init.o ada/sem_aux.o ada/sinfo.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/libgnat/system.o ada/tab
le.o ada/targext.o ada/targparm.o ada/tree_io.o ada/types.o ada/uintp.o
ada/uname.o ada/urealp.o ada/widechar.o ggc-none.o libcommon-target.a
libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a
   -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -flto=jobserver
-frandom-seed=1
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/gnatvsn.adb:57:4:
warning: type of 'gnatvsn__version_string' does not match original declaration
[-Wlto-type-mismatch]
    Version_String : char_array (0 .. Ver_Len_Max - 1);
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/version.c:34:12:
note: array types have different bounds
 const char version_string[] = BASEVER DATESTAMP DEVPHASE REVISION;
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/version.c:34:12:
note: 'version_string' was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:103:14:
warning: type of
'ada__exceptions__exception_propagation__unwind_raiseexceptionXn' does not
match original declaration [-Wlto-type-mismatch]
    procedure Unwind_RaiseException
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1422:1:
note: return value type mismatch
 __gnat_Unwind_RaiseException (_Unwind_Exception *e)
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/../libgcc/unwind-generic.h:76:3:
note: type '_Unwind_Reason_Code' should match type 'void'
 } _Unwind_Reason_Code;
   ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1422:1:
note: '__gnat_Unwind_RaiseException' was previously declared here
 __gnat_Unwind_RaiseException (_Unwind_Exception *e)
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1422:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:107:14:
warning: type of
'ada__exceptions__exception_propagation__unwind_forcedunwindXn' does not match
original declaration [-Wlto-type-mismatch]
    procedure Unwind_ForcedUnwind
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1432:1:
note: return value type mismatch
 __gnat_Unwind_ForcedUnwind (_Unwind_Exception *e ATTRIBUTE_UNUSED,
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/../libgcc/unwind-generic.h:76:3:
note: type '_Unwind_Reason_Code' should match type 'void'
 } _Unwind_Reason_Code;
   ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1432:1:
note: '__gnat_Unwind_ForcedUnwind' was previously declared here
 __gnat_Unwind_ForcedUnwind (_Unwind_Exception *e ATTRIBUTE_UNUSED,
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1432:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-except.adb:1649:17:
warning: type of 'ada__exceptions__to_stderr__put_char_stderr__2' does not
match original declaration [-Wlto-type-mismatch]
       procedure Put_Char_Stderr (C : Character);
                 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/cio.c:127:1:
note: type mismatch in parameter 1
 put_char_stderr (int c)
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/cio.c:127:1:
note: type 'int' should match type 'character'
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/cio.c:127:1:
note: 'put_char_stderr' was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:537:18:
warning: type of '__gnat_others_value' does not match original declaration
[-Wlto-type-mismatch]
 extern const int __gnat_others_value;
                  ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:169:4:
note: type 'character' should match type 'const int'
    Others_Value : constant Character := 'O';
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:169:4:
note: 'ada__exceptions__exception_propagation__others_valueXn' was previously
declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:540:18:
warning: type of '__gnat_all_others_value' does not match original declaration
[-Wlto-type-mismatch]
 extern const int __gnat_all_others_value;
                  ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:172:4:
note: type 'character' should match type 'const int'
    All_Others_Value : constant Character := 'A';
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:172:4:
note: 'ada__exceptions__exception_propagation__all_others_valueXn' was
previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:543:18:
warning: type of '__gnat_unhandled_others_value' does not match original
declaration [-Wlto-type-mismatch]
 extern const int __gnat_unhandled_others_value;
                  ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:175:4:
note: type 'character' should match type 'const int'
    Unhandled_Others_Value : constant Character := 'U';
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:175:4:
note: 'ada__exceptions__exception_propagation__unhandled_others_valueXn' was
previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/init.c:80:30:
warning: type of 'constraint_error' does not match original declaration
[-Wlto-type-mismatch]
 extern struct Exception_Data constraint_error;
                              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:152:4:
note: type 'struct ' should match type 'struct Exception_Data'
    Constraint_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise.h:38:8:
note: the incompatible type is defined here
 struct Exception_Data
        ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:152:4:
note: 'system__standard_library__constraint_error_def' was previously declared
here
    Constraint_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:152:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/init.c:83:30:
warning: type of 'storage_error' does not match original declaration
[-Wlto-type-mismatch]
 extern struct Exception_Data storage_error;
                              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:179:4:
note: type 'struct ' should match type 'struct Exception_Data'
    Storage_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise.h:38:8:
note: the incompatible type is defined here
 struct Exception_Data
        ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:179:4:
note: 'system__standard_library__storage_error_def' was previously declared
here
    Storage_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:179:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/init.c:82:30:
warning: type of 'program_error' does not match original declaration
[-Wlto-type-mismatch]
 extern struct Exception_Data program_error;
                              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:170:4:
note: type 'struct ' should match type 'struct Exception_Data'
    Program_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise.h:38:8:
note: the incompatible type is defined here
 struct Exception_Data
        ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:170:4:
note: 'system__standard_library__program_error_def' was previously declared
here
    Program_Error_Def : aliased Exception_Data :=
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-stalib.ads:170:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/init.c:94:13:
warning: type of 'ada__exceptions__raise_from_signal_handler' does not match
original declaration [-Wlto-type-mismatch]
 extern void Raise_From_Signal_Handler (struct Exception_Data *, const char *);
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-except.adb:1088:4:
note: type mismatch in parameter 2
    procedure Raise_From_Signal_Handler
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-except.adb:1088:4:
note: 'ada__exceptions__raise_from_signal_handler' was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-except.adb:1088:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:87:13:
warning: type of
'ada__exceptions__exception_propagation__cleanupunwind_handlerXn' does not
match original declaration [-Wlto-type-mismatch]
    function CleanupUnwind_Handler
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1394:1:
note: '__gnat_cleanupunwind_handler' was previously declared here
 __gnat_cleanupunwind_handler (int version ATTRIBUTE_UNUSED,
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:1394:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:111:13:
warning: type of '__gnat_unhandled_except_handler' does not match original
declaration [-Wlto-type-mismatch]
 extern void __gnat_unhandled_except_handler (_Unwind_Exception *);
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:390:4:
note: 'ada__exceptions__exception_propagation__unhandled_except_handlerXn' was
previously declared here
    procedure Unhandled_Except_Handler
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:390:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:109:37:
warning: type of '__gnat_setup_current_excep' does not match original
declaration [-Wlto-type-mismatch]
 extern struct Exception_Occurrence *__gnat_setup_current_excep
                                     ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:238:4:
note: 'ada__exceptions__exception_propagation__setup_current_excepXn' was
previously declared here
    function Setup_Current_Excep
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:238:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:902:30:
warning: type of 'system__exceptions__foreign_exception' does not match
original declaration [-Wlto-type-mismatch]
 extern struct Exception_Data Foreign_Exception;
                              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-except.ads:61:4:
note: type 'struct ' should match type 'struct Exception_Data'
    Foreign_Exception : exception;
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise.h:38:8:
note: the incompatible type is defined here
 struct Exception_Data
        ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-except.ads:61:4:
note: 'system__exceptions__foreign_exception' was previously declared here
    Foreign_Exception : exception;
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/s-except.ads:61:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:899:21:
warning: type of '__gnat_eid_for' does not match original declaration
[-Wlto-type-mismatch]
 extern Exception_Id EID_For (_GNAT_Exception * e);
                     ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:403:4:
note: 'ada__exceptions__exception_propagation__eid_forXn' was previously
declared here
    function EID_For
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:403:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:897:14:
warning: type of '__gnat_foreign_data_for' does not match original declaration
[-Wlto-type-mismatch]
 extern void *Foreign_Data_For (_Unwind_Ptr eid);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:425:4:
note: return value type mismatch
    function Is_Handled_By_Others (E : SSL.Exception_Data_Ptr) return Boolean
is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:425:4:
note: type 'boolean' should match type 'bool'
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:425:4:
note: 'ada__exceptions__exception_propagation__is_handled_by_othersXn' was
previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:425:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/raise-gcc.c:895:13:
warning: type of '__gnat_language_for' does not match original declaration
[-Wlto-type-mismatch]
 extern char Language_For (_Unwind_Ptr eid);
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:434:4:
note: type mismatch in parameter 1
    function Language_For (E : SSL.Exception_Data_Ptr) return Character is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:434:4:
note: type 'struct system__standard_library__exception_data *' should match
type '_Unwind_Ptr'
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:434:4:
note: 'ada__exceptions__exception_propagation__language_forXn' was previously
declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/libgnat/a-exexpr.adb:434:4:
note: code may be misoptimized unless -fno-strict-aliasing is used
/tmp/cc7sIz27debugobj: In function `no symbol':
osint.adb:(.debug_info+0x589a7): undefined reference to
`osint__TTtarget_object_suffixSP1___L'
osint.adb:(.debug_info+0x589b3): undefined reference to
`osint__TTtarget_object_suffixSP1_(unsigned)'
osint.adb:(.debug_info+0x589dd): undefined reference to
`osint__TTtarget_object_suffixSP1___L'
osint.adb:(.debug_info+0x589e9): undefined reference to
`osint__TTtarget_object_suffixSP1_(unsigned)'
collect2: error: ld returned 1 exit status
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/gcc-interface/Make-lang.in:662:
recipe for target 'gnatbind' failed
make[3]: *** [gnatbind] Error 1
make[3]: Leaving directory
'/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/gcc'
Makefile:4778: recipe for target 'all-stageprofile-gcc' failed
make[2]: *** [all-stageprofile-gcc] Error 2

Reply via email to