http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60174

--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to char...@adacore.com from comment #18)
> > > ./gcc/xgcc -Bgcc -S cc3305a.adb -O2  -I gcc/
> > cc3305a.adb:74:11: run-time library configuration error
> > cc3305a.adb:74:11: file s-soflin.ads not found
> > cc3305a.adb:74:11: entity "System.Soft_Links.Abort_Undefer" not
> > available
> > compilation abandoned
> > 
> > at which point I need to add -I gcc/ada/rts but then the testcase works.
> > 
> > /abuild/rguenther/trunk-g> ./gcc/xgcc -Bgcc -S cc3305a.adb -O2  -I gcc/
> > -I
> > gcc/ada/rts
> > /abuild/rguenther/trunk-g>
> 
> You need to use -I . -I gcc/ada/rts (and no -I gcc/)
> 
> Arno

Same result (system.ads and rep*.adb were in gcc/, but even moving them
to $builddir and using -I. doesn't work).  Same result == testcase passes.

Maybe I have to rebuild gnat1 using that modified system.ads?  Even
when I change the master copy in gcc/ada/rts/ the error does not reproduce
for me.  But I have not re-built gnat1 for quite some time beacuse of the
errors that I should recompile stuff.

Reply via email to