Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 11:48:52 -0800 (PST)
From:      Dave Cornejo <dave@dogwood.com>
To:        John Polstra <jdp@polstra.com>
Cc:        current@freebsd.org
Subject:   Re: threaded python seg faults?
Message-ID:  <200010311948.e9VJmqL53635@white.dogwood.com>
In-Reply-To: <200010311816.e9VIGBc04408@vashon.polstra.com> from John Polstra at "Oct 31, 2000 10:16:11 am"

next in thread | previous in thread | raw e-mail | index | archive | help
The patch seems to solve my problems, thank you!

dave c

John Polstra wrote:
> It's because libc_r isn't getting initialized in time.
> 
> Please try applying the appended patch to "src/gnu/lib/libgcc_r/Makefile"
> and let us know if it fixes the problem.  You will need to rebuild
> and reinstall libgcc_r, and then rebuild python.
> 
> Thanks for providing the detailed information!  This never would
> have caught my eye otherwise.
> 
> John
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/src/gnu/lib/libgcc_r/Makefile,v
> retrieving revision 1.4
> diff -u -r1.4 Makefile
> --- Makefile	1999/10/03 02:43:20	1.4
> +++ Makefile	2000/10/31 18:06:34
> @@ -2,5 +2,6 @@
>  
>  LIB=	gcc_r
>  CFLAGS+=-D_PTHREADS
> +CFLAGS+=-D'__GTHREAD_MUTEX_INIT_FUNCTION(m)=pthread_mutex_init(m, NULL)'
>  
>  .include "../libgcc/Makefile"
> 
> 
> 


-- 
Dave Cornejo @ Dogwood Media, Fremont, California
  "There aren't any monkeys chasing us..." - Xochi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010311948.e9VJmqL53635>