Subject: bug#1079: GNUstep port segfaults making autoloads on x86_64

From: Adrian Robert <[email-masked]>
Date: Fri, 3 Oct 2008 21:04:51 -0400

On Oct 3, 2008, at 5:18 PM, Glenn Morris wrote:

>
> Trying to bootstrap the GNUStep port on x86_64 GNU/Linux, it segfaults
> making autoloads. The problem can be reduced to anything that tries to
> set a variable, eg:
>
> ../src/bootstrap-emacs -batch --no-site-file \
>  --eval '(setq make-backup-files nil)'

...

> #25 0x0000000000579fe2 in main (argc=5, argv=0x7fff9b953ca8) at  
> emacs.c:1467

#ifdef HAVE_NS
#ifndef CANNOT_DUMP
   if (initialized)
#endif
     ns_init_paths ();
#endif

Hmm, not sure if this ns_init_paths() is needed during the bootstrap  
-- i.e., should the conditional be different, or should it be moved  
after the init_...() calls?  Unf I cannot test this stuff myself.