From owner-freebsd-hackers Tue Jun 24 01:35:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA03145 for hackers-outgoing; Tue, 24 Jun 1997 01:35:11 -0700 (PDT) Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA03139 for ; Tue, 24 Jun 1997 01:35:04 -0700 (PDT) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.8.4/8.8.4) with SMTP id MAA28501; Tue, 24 Jun 1997 12:05:13 +0300 (EEST) Date: Tue, 24 Jun 1997 12:05:13 +0300 (EEST) From: Narvi To: Julian Elischer cc: hackers@FreeBSD.ORG Subject: Re: WARNING: In-Reply-To: <33AF5FD9.FF6D5DF@whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 23 Jun 1997, Julian Elischer wrote: > pthreads under the 2.2 system is temporarily broken > I thought I had it all and committed and then found a problem. > (symbols being multiply defined in the library > > e.g. > _exit.o: > 00000000 T __exit <------------------ > > uthread_exit.o: > U __thread_cleanupspecific > U __thread_sys_write > U __thread_sys_close > U __thread_sys_fcntl > U __thread_dead > U _pthread_cleanup_pop > U __thread_kern_sched_state > U __thread_fd_table > U __thread_queue_deq > U _strcat > U __thread_link_list > U __thread_kern_sig_block > U __thread_sys__exit > U __thread_dtablesize > U __thread_run > U __thread_kern_pipe > U _setitimer > 00000000 T __exit <----------------- > 000000cc T __thread_exit > 000001c0 T _pthread_exit > > I need to run now but will fix it after sleep. > > luckily the threads lib is not really usable under 2.2 > an dnot built by default so I doubt anyone is going to get bitten > by this., but fixing it is my number 1 priority. I am using it. To a little extent, but still. Well, if you are already in the libc_r, could you also check clarify, why the default Makefiel doesn't include uthread_attr_init? The function pthread_attr_init is quite useful... Sander There is no love, no good, no happiness and no future - all these are just illusions. > > In the mean-time while I sleep, if anyone with good knowledge of the > build and the linker etc, sees the deliberate mistake, > let me know.. > I think I left out some mods from theoriginal patch file > and will have to recover them from the -current tree > where I did check them in originally. > > julian >