public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/9480: Cannot "kill -TERM" programs that link the tasking runtime
@ 2003-05-13  0:36 Dara Hazeghi
  0 siblings, 0 replies; 3+ messages in thread
From: Dara Hazeghi @ 2003-05-13  0:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR ada/9480; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: ada/9480: Cannot "kill -TERM" programs that link the tasking runtime
Date: Mon, 12 May 2003 17:27:01 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=9480
 
 Hello,
 
 on gcc 3.2 and 3.3 branch, I get the reported behavior. On gcc mainline  
 (20030511), I can link:
 
 bash-2.04$ /tmp/dara/bin/gnatlink  sigterm_ignored.ali
 /tmp/dara//lib/gcc-lib/i686-pc-linux-gnu/3.4/adalib/libgnarl.a(s- 
 taprop.o): In function  
 `system.task_primitives.operations.specific.new_fake_atcbXnn':
 /tmp/objdir/gcc/ada/rts/s-taskin.ads:760: undefined reference to `.LC0'
 /tmp/objdir/gcc/ada/rts/s-taskin.ads:733: undefined reference to `.LC0'
 /tmp/dara//lib/gcc-lib/i686-pc-linux-gnu/3.4/adalib/libgnarl.a(s- 
 taprop.o): In function  
 `system.task_primitives.operations.specific.initializeXnn':
 /tmp/objdir/gcc/ada/rts/s-taskin.ads:733: undefined reference to `.LC0'
 /tmp/objdir/gcc/ada/rts/s-taskin.ads:760: undefined reference to `.LC0'
 /tmp/dara//lib/gcc-lib/i686-pc-linux-gnu/3.4/adalib/libgnarl.a(s- 
 taprop.o): In function `system.task_primitives.operations.new_atcb':
 /tmp/objdir/gcc/ada/rts/s-taskin.ads:733: undefined reference to `.LC0'
 /tmp/dara//lib/gcc-lib/i686-pc-linux-gnu/3.4/adalib/libgnarl.a(s- 
 taprop.o):/tmp/objdir/gcc/ada/rts/s-taskin.ads:760: more undefined  
 references to `.LC0' follow
 collect2: ld returned 1 exit status
 gnatlink: cannot call /tmp/dara/bin/gcc
 
 So this bug appears to remain, in one form or another, on both active  
 branches.
 
 Dara
 


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

* Re: ada/9480: Cannot "kill -TERM" programs that link the tasking  runtime
@ 2003-05-14 12:56 Kellogg, Oliver, ISO23
  0 siblings, 0 replies; 3+ messages in thread
From: Kellogg, Oliver, ISO23 @ 2003-05-14 12:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR ada/9480; it has been noted by GNATS.

From: "Kellogg, Oliver, ISO23" <Oliver.Kellogg@sysde.eads.net>
To: "'gcc-prs@gcc.gnu.org'" <gcc-prs@gcc.gnu.org>,
   "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>,
   "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>,
   "'nobody@gcc.gnu.org'"
	 <nobody@gcc.gnu.org>
Cc:  
Subject: Re: ada/9480: Cannot "kill -TERM" programs that link the tasking 
	runtime
Date: Wed, 14 May 2003 14:53:28 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=9480
 
 BTW, using pragma Unreserve_All_Interrupts has no effect no the exhibited
 behavior.
 
 Oliver Kellogg
 


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

* ada/9480: Cannot "kill -TERM" programs that link the tasking runtime
@ 2003-01-28 15:06 oliver.kellogg
  0 siblings, 0 replies; 3+ messages in thread
From: oliver.kellogg @ 2003-01-28 15:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9480
>Category:       ada
>Synopsis:       Cannot "kill -TERM" programs that link the tasking runtime
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 28 15:06:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver M. Kellogg
>Release:        gcc-3.2.1
>Organization:
>Environment:
RedHat Linux 8.0 (i686)
>Description:
A main program that merely contains a task type
declaration (but no task object) does not react to
the TERM signal.
OTOH, A main program without any tasking related
declarations reacts normally to the SIGTERM.

Here is the test program:

-- file: sigterm_ignored.adb
with Text_Io;

procedure Sigterm_Ignored is

   task type Freerun;
   -- NB: Only a task TYPE, not even a real task.
   task body Freerun is
   begin
      null;
   end Freerun;

begin
   loop
      text_io.put_line ("Here is the main program.");
      delay 1.3;
   end loop;
end Sigterm_Ignored;
>How-To-Repeat:
gnatmake the test program and start it.
Then try doing a "kill -TERM" on the process and witness
that the program is not terminated.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-05-14 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13  0:36 ada/9480: Cannot "kill -TERM" programs that link the tasking runtime Dara Hazeghi
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14 12:56 Kellogg, Oliver, ISO23
2003-01-28 15:06 oliver.kellogg

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).