From d73088ebf0d8fd9f8acba75763faecd3685d8986 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 16 Dec 2016 11:25:29 +0100 Subject: gcc: Enable Ada testing --- open_issues/gnat.mdwn | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) (limited to 'open_issues/gnat.mdwn') diff --git a/open_issues/gnat.mdwn b/open_issues/gnat.mdwn index 1ab0866f..9c255ed5 100644 --- a/open_issues/gnat.mdwn +++ b/open_issues/gnat.mdwn @@ -125,6 +125,82 @@ GCC trunk r234252. Still incomplete? (Changes to generic files?) +### 2016-12-14 + +Based on commit 17f0f5acdcfb9181203ca9b6d8f8cbc64e5ce843, [[tschwinge]] tried +to build with `--enable-languages=all,ada`, but both with `--disable-bootstrap` +and `--enable-bootstrap` we run into: + + [...] + make[3]: Entering directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build/gcc/ada/tools' + ../../gnatbind -I- -I../rts -I. -I/home/thomas/tmp/gcc/hurd/master/gcc/ada -o b_gnatm.adb gnatmake.ali + error: "system.ads" has restriction No_Implicit_Dynamic_Code + error: but the following files violate this restriction: + error: "make.adb" + error: "makeutl.adb" + error: "prj.adb" + error: "prj-env.adb" + error: "prj-conf.adb" + error: "prj-nmsc.adb" + ../gcc-interface/Makefile:2987: recipe for target 'b_gnatm.adb' failed + make[3]: *** [b_gnatm.adb] Error 5 + make[3]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build/gcc/ada/tools' + Makefile:194: recipe for target 'gnattools-native' failed + make[2]: *** [gnattools-native] Error 2 + make[2]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build/gnattools' + Makefile:9650: recipe for target 'all-gnattools' failed + make[1]: *** [all-gnattools] Error 2 + make[1]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build' + Makefile:895: recipe for target 'all' failed + make: *** [all] Error 2 + +(Partial) review of differences: + +`gcc/ada/gcc-interface/Makefile.in`, Linux vs. Hurd + + LIBGNAT_TARGET_PAIRS = \ + a-intnam.ads, and similarly +fixed the issue. + + ## `getcontext`/`makecontext`/`setcontext`/`swapcontext` usage analysis In context of [[glibc/t/tls-threadvar]]. Looking at GCC trunk commit -- cgit v1.2.3