Bug 66692 - ada form gcc-4.9 fails to compile with gcc-5.1.0 with error "undefined reference to `__gnat_runtime_finalize'"
Summary: ada form gcc-4.9 fails to compile with gcc-5.1.0 with error "undefined refere...
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 5.1.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-28 09:57 UTC by Yurii Kolesnykov
Modified: 2015-06-28 13:36 UTC (History)
1 user (show)

See Also:
Host: linux
Target:
Build:
Known to work: 4.9.2
Known to fail: 5.1.0
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yurii Kolesnykov 2015-06-28 09:57:51 UTC
/home/yurikoles/work/gcc49-multilib/src/gcc-build/gcc/ada/b_gnatb.adb:86: undefined reference to `__gnat_runtime_finalize'
ada/b_gnatb.o: In function `adainit':
/home/yurikoles/work/gcc49-multilib/src/gcc-build/gcc/ada/b_gnatb.adb:151: undefined reference to `__gnat_runtime_initialize'
collect2: error: ld returned 1 exit status
distcc[32592] ERROR: compile (null) on localhost failed
/home/yurikoles/work/gcc49-multilib/src/gcc-4.9.3/gcc/ada/gcc-interface/Make-lang.in:601: recipe for target 'gnatbind' failed
Comment 1 Arnaud Charlet 2015-06-28 13:36:49 UTC
You need to use an older version of GNAT in order to bootstrap GNAT, and
not the other way around which isn't guaranteed to work (and indeed often
won't).