public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63262] New: internal compiler error including math.h
@ 2014-09-14 14:24 karo13de at googlemail dot com
  2014-09-29 12:22 ` [Bug c++/63262] " fxcoudert at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: karo13de at googlemail dot com @ 2014-09-14 14:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63262

            Bug ID: 63262
           Summary: internal compiler error including math.h
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: karo13de at googlemail dot com

Compilation of  source crashes with
/usr/local/bin/g++ --version
g++ (GCC) 5.0.0 20140824 (experimental) ...

In file included from /usr/local/include/c++/5.0.0/cmath:44:0,
                 from ./CImg.h:77,
                 from gmic.h:61,
                 from gmic.cpp:1876:
/usr/local/lib/gcc/x86_64-apple-darwin13.3.0/5.0.0/include-fixed/math.h:273:5:
internal compiler error: Illegal instruction: 4
     return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= __FLT_MIN__;
     ^

/usr/local/lib/gcc/x86_64-apple-darwin13.3.0/5.0.0/include-fixed/math.h:273:5:
internal compiler error: Abort trap: 6
g++: internal compiler error: Abort trap: 6 (program cc1plus)

gcc build from "hpc.sourceforge.net"

gmic software from "git clone http://git.code.sf.net/p/gmic/source gmic"

Offending command in gmic/src

/usr/local/bin/g++ -o gmic gmic.cpp -std=c++11 -Dgmic_build
-I/opt/local/include -Dgmic_is_beta=1 -Dcimg_display=1 -Dcimg_appname=\"gmic\"
-I/usr/X11R6/include  -Dcimg_use_zlib -Dcimg_use_png -Dcimg_use_jpeg
-Dcimg_use_tiff -Dcimg_use_openexr -I/opt/local/include/OpenEXR
-Dcimg_use_fftw3  -Wno-unused-parameter -Dgmic_is_parallel -Dcimg_use_opencv
-I/opt/local/include/opencv -I/opt/local/include   -Dgmic_is_beta=1  
-Dgmic_main -L/opt/local/lib -L/usr/X11R6/lib -lX11 -lpthread  -lz -lpng -lz
-ljpeg -ltiff -lIlmImf -lHalf -lfftw3 -lfftw3_threads  -Dcimg_use_opencv
-L/opt/local/lib -lopencv_calib3d -lopencv_contrib -lopencv_core
-lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui
-lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree
-lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_superres
-lopencv_ts -lopencv_video -lopencv_videostab

OS Mac OS 10.9.4 (Mavericks) and 10.10 beta2 (Yosemite)

Compilation works with native g++ 
 g++ --version (Mavericks)
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
and Yosemite LLVM version 6.0  (based on LLVM 3.5svn)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-11-03 12:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-14 14:24 [Bug c++/63262] New: internal compiler error including math.h karo13de at googlemail dot com
2014-09-29 12:22 ` [Bug c++/63262] " fxcoudert at gcc dot gnu.org
2014-10-04 14:38 ` karo13de at googlemail dot com
2014-10-04 15:00 ` fxcoudert at gcc dot gnu.org
2014-11-02 21:38 ` karo13de at googlemail dot com
2014-11-02 21:46 ` fxcoudert at gcc dot gnu.org
2014-11-02 22:13 ` [Bug c++/63262] [4.9.2] ICE including math.h on darwin fxcoudert at gcc dot gnu.org
2014-11-02 22:17 ` karo13de at googlemail dot com
2014-11-02 22:22 ` karo13de at googlemail dot com
2014-11-02 22:51 ` fxcoudert at gcc dot gnu.org
2014-11-02 22:52 ` fxcoudert at gcc dot gnu.org
2014-11-02 22:53 ` fxcoudert at gcc dot gnu.org
2014-11-02 23:09 ` karo13de at googlemail dot com
2014-11-03  7:09 ` jakub at gcc dot gnu.org
2014-11-03  8:48 ` fxcoudert at gcc dot gnu.org
2014-11-03 12:09 ` karo13de at googlemail dot com
2014-11-03 12:25 ` karo13de at googlemail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).