Build emacs from sources fails on compiler

Harry Putnam reader at newsguy.com
Fri Oct 31 11:14:51 UTC 2003


Jens Petersen <petersen at redhat.com> writes:

>>>>>> "HP" == Harry Putnam <reader at newsguy.com> writes:
>
>     HP> Setup: test3 updated to 10/28 (athlon-tbird (1.3gh)
>
>     HP> I remember seeing some mention of emacs problems
>     HP> awhile ago here.
>
> There was a dumper problem that has now been worked around
> by building with "setarch i386" in emacs-21.3-7.  But the
> problem you describe below during configure looks quite
> different from that...
>
>     HP> Trying to compile emacs from cvs
>     HP> sources fails with these error messages:
>
> Emacs cvs head's configure runs fine for me on my box here
> with gcc-3.2.2-1 though it is mostly still test3.
>   
>     HP>   checking for C compiler default
>     HP>   output... configure: error: C compiler cannot
>     HP>   create executables
>   
>     HP>   See `config.log' for more details.
>
> Does config.log give you any clues?

I didn't have gcc installed ... erk.
I was a victim of one of those upgrades that leaves some packages
out.  .. There have been several reports of that.

But even after installing gcc, I still get a segfault during dumping.
You mentioned `setarch i386'.  How does one set that during build?

Doesn't seem to be a configure flag.

Running:
   make distclean
   ./configure
   make bootstrap

Results in a segfault when dumping at the end:

[...]
  Loading vc-hooks (source)...
  Loading ediff-hook (source)...
  ((212580 . 2335) (11018 . 0) (570 . 209) 1479379 228359 (61 . 8) (18 . 43) (22859 . 325))
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  Dumping under names emacs and emacs-21.3.50
  make[1]: *** [bootstrap-emacs] Segmentation fault
  make[1]: Leaving directory `/usr/local/src/cvs/emacs/src'
  make: *** [bootstrap] Error 2





More information about the test mailing list