Re: Segmentation fault when compiling m4 1.4.18

Eric Blake <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.gnu.m4.bugs
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 05/23/2018 03:41 PM, Eve Armstrong wrote:
> Hi -
> 
> I encounter a segmentation fault when compiling M4.
> 
> Platform: Windows 10.0.16299 Build 16299.
> 
> Compiler: 'make'.

No, 'make' is not your compiler.

> 
> Version of M4: 1.4.18.

>    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

This is a bug in gcc on your platform, although since the source file 
was provided by gnulib, it might be nice if gnulib were able to avoid 
tickling the gcc bug (if we can even figure out what it is about the 
file that gcc choked on).  Have you opened a gcc bug as requested by the 
compilation failure message?  If so, which bug is it?

Also, did you build gcc yourself, or are you using a pre-built gcc?  Who 
provided the pre-built gcc, Microsoft?  Have you filed a bug report with 
them to let them know about their build of the compiler having a bug?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
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.