[MacPorts] #48004: Internal compiler error (gcc-5.1.0) when using math.h on Yosemite

MacPorts noreply at macports.org
Tue Jun 9 16:31:08 PDT 2015


#48004: Internal compiler error (gcc-5.1.0) when using math.h on Yosemite
---------------------+-------------------
  Reporter:  ram@…   |      Owner:  mww@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.3
Resolution:          |   Keywords:
      Port:  gcc5    |
---------------------+-------------------

Comment (by ram@…):

 The `gcc5` port failed to build from source, build log is attached. The
 specific failure is:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/
 -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-
 darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem
 /opt/local/x86_64-apple-darwin14/sys-include    -g -O2 -pipe -Os -O2  -g
 -O2 -pipe -Os -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-
 qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
 definition  -isystem ./include   -pipe -fno-common -g -DIN_LIBGCC2
 -fbuilding-libgcc -fno-stack-protector   -pipe -fno-common -I. -I.
 -I../.././gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/../gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/../include
 -DHAVE_CC_TLS -DUSE_EMUTLS -o _divsc3_s.o -MT _divsc3_s.o -MD -MP -MF
 _divsc3_s.dep -DSHARED -DL_divsc3 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/libgcc2.c
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/libgcc2.c:
 In function '__mulxc3':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.1.0/libgcc/libgcc2.c:1957:21:
 internal compiler error: Illegal instruction: 4
 :info:build     if (isnan (c)) c = COPYSIGN (0, c);
 :info:build                      ^
 :info:build libbacktrace could not find executable to open
 :info:build Please submit a full bug report,
 :info:build with preprocessed source if appropriate.
 :info:build See <https://trac.macports.org/newticket> for instructions.
 :info:build make[3]: *** [_mulxc3_s.o] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64
 -apple-darwin14/libgcc'
 :info:build make[2]: *** [all-stage1-target-libgcc] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build'
 :info:build make: *** [bootstrap] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build"
 && /usr/bin/make -j4 -w bootstrap
 :info:build Exit code: 2
 :error:build org.macports.build for port gcc5 returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 76615 2
 :debug:build Backtrace: command execution failed
 }}}

 I notice that it reports another internal compiler error:

 {{{
 internal compiler error: Illegal instruction: 4
 }}}

 This machine is running Yosemite and is actually a VM running under Fusion
 7.  Is this some kind of virtualisation issue?

-- 
Ticket URL: <https://trac.macports.org/ticket/48004#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list