From owner-freebsd-hackers Sat Oct 18 17:58:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA12820 for hackers-outgoing; Sat, 18 Oct 1997 17:58:47 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from jake.csh.rit.edu (jake.csh.rit.edu [129.21.60.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA12815 for ; Sat, 18 Oct 1997 17:58:44 -0700 (PDT) (envelope-from tad@mcp.csh.rit.edu) Received: from localhost (tad@localhost) by jake.csh.rit.edu (8.8.5/8.8.5) with SMTP id UAA26658 for ; Sat, 18 Oct 1997 20:58:40 -0400 Message-Id: <199710190058.UAA26658@jake.csh.rit.edu> X-Authentication-Warning: jake.csh.rit.edu: tad owned process doing -bs X-Authentication-Warning: jake.csh.rit.edu: tad@localhost didn't use HELO protocol Reply-To: Tad Hunt To: freebsd-hackers@freebsd.org Subject: libc_r and print... MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26656.877222719.1@mail.csh.rit.edu> Date: Sat, 18 Oct 1997 20:58:39 -0400 From: Tad Hunt Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm having a problem with the following simple test case on FreeBSD-2.2-RELEASE when linking with libc_r foo.c: #include void main(void) { printf("this is a test\n"); } testing: % gcc foo.c -lc_r % ./a.out this is a test % gcc -static foo.c -lc_r % ./a.out [ hang in print ] When I compile with -static, I am unable to stop a.out from running unless I signal it with SIGKILL. Does anyone have any idea what the problem might be? -Tad