On 09/04/2016 09:50 PM, Arnaud Charlet wrote:
On 08/25/2016 12:46 PM, Arnaud Charlet wrote:
Which exception handling mechanism is used by the DJGPP port?
Is it (GCC) SJLJ?
No. Updated to set ZCX_By_Default := true for DJGPP.
Well I'm confused now. How could this work before? In other words, has the
target runtime been tested/used by anyone?
GCC Ada compiler itself uses exceptions. I mentioned bootstrap failure of GCC recent trunk version for traget libada. It causes an exception to be raised. That worked in last test build (r239639 with DJGPP related patches applied, last version of patches for Ada). I also got identical failure with 20160831 trunk version where XCZ_By_Default was still false (my old patch set version that was maintained for a long time)

Attached output is from last test build (r239639 with DJGPP related patches applied, last version of patches for Ada).

Andris




/dev/f/build.gcc/./gcc/xgcc -B/dev/f/build.gcc/./gcc/ 
-B/dev/env/DJDIR/djgpp/bin/ -B/dev/env/DJDIR/djgpp/lib/ -isystem 
/dev/env/DJDIR/djgpp/include -isystem /dev/env/DJDIR/djgpp/sys-include    -c -g 
-O2   -W -Wall -gnatpg -nostdinc   a-rttiev.adb -o a-rttiev.o
+===========================GNAT BUG DETECTED==============================+
| 7.0.0 20160820 (experimental) (djgpp) GCC error:                         |
| tree check: expected tree that contains 'common' structure, have         |
|     'optimization_node' in gt_ggc_mx_lang_tree_node, at ./gtype-ada.h:28 |
| Error detected around a-cdlili.ads:46:24                                 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

system.ads
a-rttiev.adb
a-rttiev.ads
a-reatim.ads
ada.ads
s-taspri.ads
s-taprop.ads
s-parame.ads
s-taskin.ads
a-except.ads
s-stalib.ads
a-unccon.ads
s-traent.ads
s-tasinf.ads
s-soflin.ads
s-stache.ads
s-stoele.ads
s-stausa.ads
s-atacco.ads
interfac.ads
s-multip.ads
s-osinte.ads
a-finali.ads
s-finroo.ads
s-tasuti.ads
s-intman.ads
i-c.ads
s-inmaop.ads
a-contai.ads
a-cdlili.ads
a-iteint.ads
a-conhel.ads
s-atocou.ads
a-stream.ads
s-unstyp.ads
s-exctab.ads
a-tags.ads
s-stopoo.ads
s-stratt.ads
s-secsta.ads
s-finmas.ads
s-stposu.ads
s-tassta.ads
a-retide.ads
a-cdlili.adb
a-uncdea.ads
a-conhel.adb
s-stoele.adb
s-stalib.adb
s-memory.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:406
../gcc-interface/Makefile:295: recipe for target 'a-rttiev.o' failed
make.exe[5]: *** [a-rttiev.o] Error 1
make.exe[5]: Leaving directory 'f:/build.gcc/gcc/ada/rts'
gcc-interface/Makefile:2862: recipe for target 'gnatlib' failed
make.exe[4]: *** [gnatlib] Error 2
make.exe[4]: Leaving directory 'f:/build.gcc/gcc/ada'
gcc-interface/Makefile:3039: recipe for target 'gnatlib-shared' failed
make.exe[3]: *** [gnatlib-shared] Error 2
make.exe[3]: Leaving directory 'f:/build.gcc/gcc/ada'
Makefile:113: recipe for target 'gnatlib-shared' failed
make.exe[2]: *** [gnatlib-shared] Error 2
make.exe[2]: Leaving directory 'f:/build.gcc/djgpp/libada'
Makefile:19070: recipe for target 'all-target-libada' failed
make.exe[1]: *** [all-target-libada] Error 2
make.exe[1]: Leaving directory 'f:/build.gcc'
Makefile:20224: recipe for target 'bootstrap' failed
make.exe: *** [bootstrap] Error 2

Reply via email to