emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r117168: Use mmap(2) emulation for buffer text o


From: Herbert J. Skuhra
Subject: Re: [Emacs-diffs] trunk r117168: Use mmap(2) emulation for buffer text on MS-Windows.
Date: Thu, 29 May 2014 16:19:42 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 EasyPG/1.0.0 Emacs/24.4.50 (i386-pc-freebsd10.0) MULE/6.0 (HANACHIRUSATO)

Hello,

this commit breaks the build on FreeBSD (tested on 10.0-STABLE amd64 and i386):

Finding pointers to doc strings...
Finding pointers to doc strings...done
81004 pure bytes used
cd ../lisp; gmake -w compile-first EMACS="../src/bootstrap-emacs"
gmake[3]: Entering directory `/home/herbert/source/emacs/trunk-r117168/lisp'
Compiling emacs-lisp/macroexp.el
Fatal error 11: Segmentation fault
Backtrace:
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
0x4a376b <emacs_backtrace+0x6b> at 
/home/herbert/source/emacs/trunk-r117168/src/bootstrap-emacs
gmake[3]: *** [emacs-lisp/macroexp.elc] Segmentation fault (core dumped)
gmake[3]: Leaving directory `/home/herbert/source/emacs/trunk-r117168/lisp'
gmake[2]: *** [bootstrap-emacs] Error 2
gmake[2]: Leaving directory `/home/herbert/source/emacs/trunk-r117168/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/home/herbert/source/emacs/trunk-r117168'
gmake: *** [bootstrap] Error 2

--
Herbert

On Tue, 27 May 2014 17:33:35 +0000
Eli Zaretskii wrote:

> ------------------------------------------------------------
> revno: 117168
> revision-id: address@hidden
> parent: address@hidden
> author: Fabrice Popineau <address@hidden>
> committer: Eli Zaretskii <address@hidden>
> branch nick: trunk
> timestamp: Tue 2014-05-27 20:31:17 +0300
> message:
>   Use mmap(2) emulation for buffer text on MS-Windows.
>   
>    src/Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
>    configure.
>    (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.
>    src/lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
>    for MinGW, since it no longer uses gmalloc.
>    src/buffer.c: Do not define mmap allocations functions for Windows.
>    Remove mmap_find which is unused. Remove mmap_set_vars which does
>    nothing useful.
>    [WINDOWSNT]: Include w32heap.h.
>    (init_buffer): Always allocate new memory for buffers.
>    src/emacs.c: Remove mmap_set_vars calls.
>    src/image.c (free_image): Undef free for Windows because it is
>    redirected to our private version.
>    src/unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits
>    compatibility.
>    (copy_executable_and_dump_data): Remove dumping the heap section.
>    (unexec): Restore using_dynamic_heap after dumping.
>    src/w32heap.c (dumped_data_commit, malloc_after_dump)
>    (malloc_before_dump, realloc_after_dump, realloc_before_dump)
>    (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
>    (mmap_free): New functions.
>    src/w32heap.h: Declare dumped_data and mmap_* function prototypes.
>   
>    nt/inc/ms-w32.h: Switch to the system heap allocation scheme
>    instead of GNU malloc and ralloc.
>    nt/inc/sys/mman.h: New file.
>    nt/INSTALL: Update for the new build requirements.
>   
>    etc/NEWS: Mention build changes on MS-Windows.
>   
>    configure.ac (C_HEAP_SWITCH) define for different values of
>    dumped heap size depending on 32/64bits arch on Windows.
>    Don't check for pthreads.h on MinGW32/64, it gets in the way.
>    Use mmap(2) for buffers and system malloc for MinGW32/64.
> added:
>   nt/inc/sys/mman.h              mman.h-20140527171208-w5h37lgvfzdhyjf8-1
> modified:
>   ChangeLog                      
> changelog-20091113204419-o5vbwnq5f7feedwu-1538
>   configure.ac                   
> configure.in-20091113204419-o5vbwnq5f7feedwu-783
>   etc/ChangeLog                  
> changelog-20091113204419-o5vbwnq5f7feedwu-1485
>   etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
>   nt/ChangeLog                   
> changelog-20091113204419-o5vbwnq5f7feedwu-1545
>   nt/INSTALL                     
> install.msys-20130416132004-cxmtwcclsy15p2r8-1
>   nt/inc/ms-w32.h                msw32.h-20091113204419-o5vbwnq5f7feedwu-807
>   src/ChangeLog                  
> changelog-20091113204419-o5vbwnq5f7feedwu-1438
>   src/Makefile.in                
> makefile.in-20091113204419-o5vbwnq5f7feedwu-631
>   src/buffer.c                   buffer.c-20091113204419-o5vbwnq5f7feedwu-264
>   src/emacs.c                    emacs.c-20091113204419-o5vbwnq5f7feedwu-241
>   src/image.c                    image.c-20091113204419-o5vbwnq5f7feedwu-2969
>   src/lisp.h                     lisp.h-20091113204419-o5vbwnq5f7feedwu-253
>   src/unexw32.c                  unexw32.c-20091113204419-o5vbwnq5f7feedwu-887
>   src/w32heap.c                  w32heap.c-20091113204419-o5vbwnq5f7feedwu-810
>   src/w32heap.h                  w32heap.h-20091113204419-o5vbwnq5f7feedwu-811



reply via email to

[Prev in Thread] Current Thread [Next in Thread]