public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/53677] New: GNAT build didn't stop after a fatal error
@ 2012-06-14 22:52 tschwinge at gcc dot gnu.org
  2012-06-17  7:51 ` [Bug ada/53677] " ebotcazou at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2012-06-14 22:52 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53677
           Summary: GNAT build didn't stop after a fatal error
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tschwinge@gcc.gnu.org


Working on a GNU/Hurd for for GCC Ada/GNAT, I stumbled over the following
issue (which I believe not to be specific to the GNU/Hurd port).

I botched up an edit of gcc/ada/s-oscons-tmplt.c (mismatched parentheses;
I tried adding the __GNU__ conditional next to the __linux__ one).  In
the build log I could see the following error message:

    [...]/gcc/ada/s-oscons-tmplt.c:83:5: error: missing ')' in expression
     #if (defined (__linux__) || defined (__GNU__) && !defined (_XOPEN_SOURCE)
         ^
    make -C rts \
                    CC=[...]

However -- as this snippet also shows -- the GNAT build didn't stop at
this point, which I believe it should have, as this is a "hard" syntax
error.


And what is perhaps even more bewildering is that despite this fatal
error, the build successfully continued up to the very end, and even the
make check run produced totally sensible results.  I understand that
s-oscons-tmplt.c is used for generating the package System.OS_Constants,
but how can this have been done successfully if building that file
failed?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/53677] GNAT build didn't stop after a fatal error
  2012-06-14 22:52 [Bug ada/53677] New: GNAT build didn't stop after a fatal error tschwinge at gcc dot gnu.org
@ 2012-06-17  7:51 ` ebotcazou at gcc dot gnu.org
  2014-02-22  8:42 ` ebotcazou at gcc dot gnu.org
  2014-02-22  8:43 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-06-17  7:51 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-06-17
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-06-17 07:50:35 UTC ---
Feel free to submit a patch if you want this changed.  The interesting lines
are
2564-2595 in ada/gcc-interface/Makefile.in.  Otherwise, I'm afraid nobody will
care enough to do it.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/53677] GNAT build didn't stop after a fatal error
  2012-06-14 22:52 [Bug ada/53677] New: GNAT build didn't stop after a fatal error tschwinge at gcc dot gnu.org
  2012-06-17  7:51 ` [Bug ada/53677] " ebotcazou at gcc dot gnu.org
@ 2014-02-22  8:42 ` ebotcazou at gcc dot gnu.org
  2014-02-22  8:43 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-02-22  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/53677] GNAT build didn't stop after a fatal error
  2012-06-14 22:52 [Bug ada/53677] New: GNAT build didn't stop after a fatal error tschwinge at gcc dot gnu.org
  2012-06-17  7:51 ` [Bug ada/53677] " ebotcazou at gcc dot gnu.org
  2014-02-22  8:42 ` ebotcazou at gcc dot gnu.org
@ 2014-02-22  8:43 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-02-22  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |WONTFIX


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-22  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 22:52 [Bug ada/53677] New: GNAT build didn't stop after a fatal error tschwinge at gcc dot gnu.org
2012-06-17  7:51 ` [Bug ada/53677] " ebotcazou at gcc dot gnu.org
2014-02-22  8:42 ` ebotcazou at gcc dot gnu.org
2014-02-22  8:43 ` ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).