From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ba82cf50e767f4f0,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y1g2000pra.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: cannot generate code for file a-excach.adb (subunit) Date: Tue, 27 Jan 2009 06:21:28 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 90.194.162.133 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1233066088 5440 127.0.0.1 (27 Jan 2009 14:21:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 27 Jan 2009 14:21:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y1g2000pra.googlegroups.com; posting-host=90.194.162.133; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.04 (hardy) Firefox/3.0.5,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3500 Date: 2009-01-27T06:21:28-08:00 List-Id: Hi, In my attempts to enable exceptions in my test kernel, I've come across a problem when building up my configurable runtime. x86_64-unknown-elf-gcc -fno-pic -c -nostdinc -I. -ffunction-sections - fdata-sections -gnato -gnatE -m32 -g2 -gnatf -gnatu -gnatv -gnatpg a- excach.adb GNAT 4.3.0 Copyright 1992-2007, Free Software Foundation, Inc. Unit name File name Time stamp --------- --------- ---------- Ada (spec) ada.ads 20070406091342 Ada.Exceptions (spec) a-except.ads 20070606104609 Ada.Exceptions (body) a-except.adb 20071213102130 Ada.Exceptions.Call_Chain (body) a-excach.adb 20051115140645 Ada.Unchecked_Conversion (spec) a-unccon.ads 20070406091342 System (spec) system.ads 20090127135815 System.Exceptions (spec) s-except.ads 20070912115821 System.Parameters (spec) s-parame.ads 20090127133535 System.Soft_Links (spec) s-soflin.ads 20071213103411 System.Stack_Checking (spec) s-stache.ads 20070912115821 System.Standard_Library (spec) s-stalib.ads 20070912115821 System.Storage_Elements (spec) s-stoele.ads 20070912115821 System.Traceback (spec) s-traceb.ads 20070912115821 System.Traceback_Entries (spec) s-traent.ads 20070912115821 System.Wch_Con (spec) s-wchcon.ads 20071213102052 System.Wch_Stw (spec) s-wchstw.ads 20071213102130 cannot generate code for file a-excach.adb (subunit) to check subunit for errors, use -gnatc Compiling: a-excach.adb (source file time stamp: 2005-11-15 14:06:45) 76 lines: No errors make: *** [a-excach.o] Error 1 Compiling it with -gnatc returns no errors. I'm confused as to why it won't compile properly. Thanks, Luke.