Date: Sat, 18 Oct 1997 20:58:39 -0400 From: Tad Hunt <tad@mcp.csh.rit.edu> To: freebsd-hackers@freebsd.org Subject: libc_r and print... Message-ID: <199710190058.UAA26658@jake.csh.rit.edu>
next in thread | raw e-mail | index | archive | help
I'm having a problem with the following simple test case on FreeBSD-2.2-RELEASE when linking with libc_r foo.c: #include <pthread.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710190058.UAA26658>