[oe] emacs-x11 "compilation" failure

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Fri Apr 15 20:31:44 UTC 2011


Hi,
I found a patch on the old patchwork for emacs 23.2
I tried it and improved it a bit.
emacs compiles fine,but not emacs-x11:
I've the following error:
  LC_ALL=C qemu-arm -cpu cortex-a8 -s 1048576 -L .../work/armv7a-angstrom-linux-gnueabi/emacs-x11-23.2-r1.0/qemu-treedir  temacs -batch -l loadup dump
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  make[1]: *** [emacs] Segmentation fault

Note that we can't get rid of qemu because it makes an architecture 
  specific memory dump dump during the compilation:

See the following link for more details:
http://www.gnu.org/s/emacs/manual/html_node/elisp/Building-Emacs.html

I really wonder how to handle that?
Add -ggdb3 in bitbake.conf for the native stuff, clean my tmpdir and 
  rebuild emacs from scratch?

So far I tried:
running temacs on target for both x11 and non-x11 => success
so I belive the segmentation fault is from qemu...
I've tried getting a core of qemu, without success...
it says core dumped, I did man core and looked in it why the core was 
  not produced and tried to eliminate the possible causes, 
  without success, I even did that:
    echo '| cat > some/path/that/has/the/right/permissions/core' > /proc/sys/kernel/core_pattern
  or that:
    echo '| cat > $PWD/core' > /proc/sys/kernel/core_pattern
  Without success.

Denis.





More information about the Openembedded-devel mailing list