pkgsrc-Bulk archive

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

Re: pkgsrc-current Linux Debian 5.0/i386 20120102.1047



On Wed, Jan 4, 2012 at 5:53 PM, David Holland
<dholland-pkgbulk%netbsd.org@localhost> wrote:
> also:
>
> On Wed, Jan 04, 2012 at 01:38:20AM +0300, Aleksey Cheusov wrote:
>  >   editors/emacs20                          1 dholland%NetBSD.org@localhost
>
>    Dumping under names emacs and emacs-20.7.1
>    gmake[1]: *** [emacs] Segmentation fault
>
> Can you try running temacs in gdb and see where/how it dies?

#0  0xb75e3caf in memcpy () from /lib/libc.so.6
#1  0x0814e40c in unexec (
    new_name=0x9469010
"/tmp/obj_pkgsrc/editors/emacs20/work/emacs-20.7/src/emacs",
    old_name=0x9469058
"/tmp/obj_pkgsrc/editors/emacs20/work/emacs-20.7/src/temacs",
    data_start=135742056, bss_start=0, entry_address=0) at unexelf.c:954
#2  0x08090ae7 in Fdump_emacs (filename=960925700, symfile=960925772)
at emacs.c:1827
#3  0x0810c673 in Feval (form=1496935588) at eval.c:1828
#4  0x08109e40 in Fprogn (args=1496936268) at eval.c:365
#5  0x08109c98 in Fif (args=1496922484) at eval.c:299
#6  0x0810c3df in Feval (form=1496922612) at eval.c:1772
#7  0x08109c78 in Fif (args=1496922620) at eval.c:298
#8  0x0810c3df in Feval (form=1496923156) at eval.c:1772
#9  0x08120c7b in readevalloop (readcharfun=423080116, stream=0x93922c0,
    sourcename=959896448, evalfun=0x810c12d <Feval>, printflag=0,
unibyte=423031820,
    readfun=423031820) at lread.c:1144
#10 0x0811ff18 in Fload (file=959896448, noerror=423031820, nomessage=423031820,
    nosuffix=423031820, must_suffix=423031820) at lread.c:753
#11 0x0810c70c in Feval (form=1496914188) at eval.c:1839
#12 0x0809175d in top_level_2 () at keyboard.c:1102
#13 0x0810b2f6 in internal_condition_case (bfun=0x809174a <top_level_2>,
    handlers=423032324, hfun=0x80914ac <cmd_error>) at eval.c:1150
#14 0x08091794 in top_level_1 () at keyboard.c:1110
#15 0x0810ae19 in internal_catch (tag=423032300, func=0x809175f <top_level_1>,
    arg=423031820) at eval.c:925
#16 0x080916d1 in command_loop () at keyboard.c:1071
#17 0x08091330 in recursive_edit_1 () at keyboard.c:821
#18 0x08091449 in Frecursive_edit () at keyboard.c:869
#19 0x08090298 in main (argc=5, argv=0xbffcf7a4, envp=0xbffcf7bc) at
emacs.c:1359

I tried to fix emacs20 PR with the following patch.No luck.
diff -u -r1.42 Makefile
--- Makefile    8 Dec 2011 20:40:32 -0000       1.42
+++ Makefile    4 Jan 2012 17:17:01 -0000
@@ -39,19 +39,10 @@

 .include "../../mk/bsd.prefs.mk"

-# This matches NetBSD <1.7 releases and 1.6A-1.6P, where ld is <2.13.2.1.
-.if (${OPSYS} == "NetBSD" && \
-    (empty(OS_VERSION:M1.[0-5]*) && \
-     empty(OS_VERSION:M1.6_*) && \
-     empty(OS_VERSION:M1.6) && \
-     empty(OS_VERSION:M1.6.[0-9]*) && \
-     empty(OS_VERSION:M1.6[A-P]*))) || \
-    (${OPSYS} == "DragonFly")
 # If using GNU ld 2.13.2.1 or later, avoid creating combined reloc
 # sections and .data reloc sections, both of which Emacs can't handle
 # properly.  Analyzed by Stephen Ma.
 LDFLAGS+=      -Wl,-z,nocombreloc
-.endif

 # NetBSD < 5.99.24 uses termcap; afterwards terminfo. Emacs needs to be told.
 .if (${OPSYS} == "NetBSD") && !exists(/usr/include/term.h)
@@ -71,6 +62,8 @@
 CFLAGS+=       -fno-zero-initialized-in-bss
 .endif

+CFLAGS+=       -O0 -g
+
 INFO_FILES=    # PLIST

 INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}

>  >   lang/pict                                  dholland%NetBSD.org@localhost
I'll have a look at it.


Home | Main Index | Thread Index | Old Index