[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump)
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump) |
Date: |
Wed, 01 Aug 2007 17:46:11 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.1.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Tue, 31 Jul 2007 21:09:55 +0200, "Herbert J. Skuhra" <address@hidden>
>>>>> said:
> Jan Djärv skrev:
>> I've checked in a fix in CVS HEAD. It should propagate to unicode2, please
>> try it then.
>>
>> Jan D.
> Thanks. But the problem persists in CVS HEAD:
> % ./configure --prefix=/usr/local/emacs --with-gtk --build=i386-freebsd
> % make bootstrap
> Build error:
> ./temacs --batch --load loadup bootstrap
> *** Signal 11
A comment in src/lib/libc/stdlib/malloc.c (FreeBSD Current) says:
/*
* Mutexes based on spinlocks. We can't use normal pthread mutexes, because
* they require malloc()ed memory.
*/
So it seems to be impossible to make src/gmalloc.c thread-safe only
using pthread mutexes.
I'm not sure if spinlocks are open to user applications, but anyway it
would be simpler to define SYSTEM_MALLOC when HAVE_GTK_AND_PTHREAD &&
!DOUG_LEA_MALLOC, and abandon emacs_blocked_malloc etc. on such
platforms. I don't care if my changes made to src/gmalloc.c for
thread-safety is reverted.
YAMAMOTO Mitsuharu
address@hidden
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump),
YAMAMOTO Mitsuharu <=
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), Jan Djärv, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), YAMAMOTO Mitsuharu, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), YAMAMOTO Mitsuharu, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), YAMAMOTO Mitsuharu, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), Jan Djärv, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), Jan Djärv, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), Miles Bader, 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), Jan D., 2007/08/01
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), YAMAMOTO Mitsuharu, 2007/08/06
- Re: emacs-unicode-2 bootstrap on FreeBSD (temacs coredump), YAMAMOTO Mitsuharu, 2007/08/06