Segmentation fault when compiling m4 1.4.18

Eve Armstrong <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Message-ID <CANZWMUCGx10Sq7i=RmEg3rs80KC=KZg30SUr0a_wUfA-XObwmg@mail.gmail.com>
Hi -

I encounter a segmentation fault when compiling M4.

Platform: Windows 10.0.16299 Build 16299.

Compiler: 'make'.

Version of M4: 1.4.18.

Below is the transcript of the result and error message.

I'd appreciate your help.

Thank you,
eve armstrong

$ make
make  all-recursive
make[1]: Entering directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18'
Making all in .
make[2]: Entering directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18'
Making all in examples
make[2]: Entering directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/examples'
Making all in lib
make[2]: Entering directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/lib'
  GEN      alloca.h
  GEN      configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      limits.h
  GEN      locale.h
  GEN      math.h
  GEN      signal.h
  GEN      unused-parameter.h
  GEN      spawn.h
  GEN      stddef.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      sys/wait.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
make[3]: Entering directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/lib'
  CC       gl_avltree_oset.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       clean-temp.o
  CC       cloexec.o
  CC       close-stream.o
  CC       closein.o
  CC       closeout.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       execute.o
  CC       exitfail.o
  CC       fatal-signal.o
  CC       fd-hook.o
  CC       fd-safer-flag.o
  CC       dup-safer-flag.o
  CC       filenamecat.o
  CC       filenamecat-lgpl.o
  CC       fopen-safer.o
  CC       freading.o
  CC       getprogname.o
  CC       hard-locale.o
  CC       gl_linkedhash_list.o
  CC       gl_list.o
  CC       localcharset.o
  CC       glthread/lock.o
  CC       malloca.o
  CC       math.o
  CC       memchr2.o
  CC       gl_oset.o
  CC       pipe2.o
  CC       pipe2-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       progname.o
  CC       quotearg.o
  CC       sig-handler.o
  CC       spawn-pipe.o
  CC       mkstemp-safer.o
  CC       tempname.o
  CC       glthread/threadlib.o
  CC       glthread/tls.o
  CC       tmpdir.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       verror.o
  CC       version-etc.o
  CC       version-etc-fsf.o
  CC       wait-process.o
  CC       wctype-h.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       gl_xlist.o
  CC       xmalloca.o
  CC       gl_xoset.o
  CC       xprintf.o
  CC       xsize.o
  CC       xstrndup.o
  CC       xvasprintf.o
  CC       xasprintf.o
  CC       asnprintf.o
  CC       asprintf.o
  CC       fcntl.o
  CC       freadahead.o
  CC       frexpl.o
  CC       getdtablesize.o
  CC       mbrtowc.o
  CC       mkstemp.o
  CC       obstack.o
  CC       printf-args.o
  CC       printf-parse.o
  CC       regex.o
  CC       secure_getenv.o
  CC       spawn_faction_addclose.o
  CC       spawn_faction_adddup2.o
  CC       spawn_faction_addopen.o
  CC       strtod.o
strtod.c: In function 'scale_radix_exp':
strtod.c:90:19: internal compiler error: Segmentation fault
                   if (r < -DBL_MAX / radix)
                   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:1910: recipe for target 'strtod.o' failed
make[3]: *** [strtod.o] Error 1
make[3]: Leaving directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/lib'
Makefile:1674: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18/lib'
Makefile:1572: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/cygdrive/c/Projects/UPenn/CowbirdsBehavior/IsingModel/m4-1.4.18'
Makefile:1528: recipe for target 'all' failed
make: *** [all] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.