This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64-bit emacs crashes a lot


On 8/15/2013 6:39 PM, Ryan Johnson wrote:
On 15/08/2013 5:58 PM, Ken Brown wrote:
On 8/15/2013 5:24 PM, Ryan Johnson wrote:
On 15/08/2013 5:14 PM, Ken Brown wrote:
On 8/15/2013 4:55 PM, Ryan Johnson wrote:
Program received signal SIGSEGV, Segmentation fault.
___chkstk_ms () at
/usr/src/debug/gcc-4.8.1-1/libgcc/config/i386/cygwin.S:146

You're not using the latest gcc, which is 4.8.1-3.  Any chance that
that's your problem?
Heh. I actually do have the latest gcc, but somehow the upgrade didn't
pick up the debug package (which showed as not installed in setup.exe).
I have manually upgraded it now.

OK.  But doesn't the above show that the crash is occurring in gcc,
not emacs?
It's trying to grow the stack for alloca and something went wrong, I
believe (though I didn't see where re_match_2_internal calls alloca)


BTW, how do you compile emacs from the sources given? I tried untarring
and patching, but I get the message:
configure: error: Emacs hasn't been ported to `x86_64-unknown-cygwin'
systems.
Check `etc/MACHINES' for recognized configuration names.

One of the patches changes configure.ac, so you have to run autoreconf
after applying it.
Hmm...

$ autoreconf -if
lib/gnulib.mk:42: GL_GENERATE_ALLOCA_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:121: gl_GNULIB_ENABLED_dosname does not appear in
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:159: GL_GENERATE_EXECINFO_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:224: gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:323: gl_GNULIB_ENABLED_pathmax does not appear in
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:482: gl_GNULIB_ENABLED_stat does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:505: GL_GENERATE_STDALIGN_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:528: GL_GENERATE_STDARG_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:556: GL_GENERATE_STDBOOL_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:579: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:609: GL_GENERATE_STDINT_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:901: gl_GNULIB_ENABLED_strtoll does not appear in
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:912: gl_GNULIB_ENABLED_strtoull does not appear in
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:1308: gl_GNULIB_ENABLED_verify does not appear in
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/Makefile.am:5: library used but `RANLIB' is undefined
lib/Makefile.am:5:   The usual way to define `RANLIB' is to add
`AC_PROG_RANLIB'
lib/Makefile.am:5:   to `configure.ac' and run `autoconf' again.
autoreconf-2.69: automake failed with exit status: 1

Did I miss something?

http://cygwin.com/ml/cygwin/2013-08/msg00250.html

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]