[MacPorts] #60091: Port can't compile - Segmentation fault

MacPorts noreply at macports.org
Sat Feb 15 00:51:46 UTC 2020


#60091: Port can't compile - Segmentation fault
-------------------------------------------------+-------------------------
 Reporter:  mmaenz                               |      Owner:  (none)
     Type:  defect                               |     Status:  new
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:  2.6.2
 Keywords:  mingw-w64 catalina 10.15.3           |       Port:  mingw-w64
  Segmentation Fault                             |
-------------------------------------------------+-------------------------
 Trying to install port mingw-w64 in order to compile Valve's latest
 Proton.
 First time to try to compile on Catalina. Did everything what the
 CatalinaProblems Page suggested.

 [[br]]
 My specs
 * macOS Catalina 10.15.3
 * XCode 11.3.1
 * Command Line Tools 11.3
 [[br]]
 Attached the last lines of the log with the error as the whole is very
 huge (~160MB). Saved the log, can send or upload it if valuable for
 further investigation.
 The error is explained in line 4, 18 and 21.
 {{{
 :info:build libtool: compile:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build/./gcc/ -L/opt/local/i686-w64-mingw32/lib
 -L/opt/local/mingw/lib -isystem /opt/local/i686-w64-mingw32/include
 -isystem /opt/local/mingw/include -B/opt/local/i686-w64-mingw32/bin/
 -B/opt/local/i686-w64-mingw32/lib/ -isystem
 /opt/local/i686-w64-mingw32/include -isystem /opt/local/i686-w64-mingw32
 /sys-include -DHAVE_CONFIG_H -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran
 -iquote/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/io
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/../gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/../gcc/config
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/../libquadmath -I../.././gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/../libgcc -I../libgcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/../libbacktrace
 -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes
 -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings
 -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
 -ffunction-sections -fdata-sections -g -O2 -MT norm2_r10.lo -MD -MP -MF
 .deps/norm2_r10.Tpo -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r10.c
 -DDLL_EXPORT -DPIC -o .libs/norm2_r10.o
 :info:build during GIMPLE pass: ccp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r4.c: In
 function ‘norm2_r4’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r4.c:213:1:
 internal compiler error: Segmentation fault: 11
 :info:build   213 | }
 :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://gcc.gnu.org/bugs/> for instructions.
 :info:build mv -f .deps/iparity_i8.Tpo .deps/iparity_i8.Plo
 :info:build make[3]: *** [norm2_r4.lo] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build during GIMPLE pass: ccp
 :info:build during GIMPLE pass: ccp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r8.c: In
 function ‘norm2_r8’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r10.c: In
 function ‘norm2_r10’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r8.c:213:1:
 internal compiler error: Segmentation fault: 11
 :info:build   213 | }
 :info:build       | ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/gcc-9.2.0/libgfortran/generated/norm2_r10.c:213:1:
 internal compiler error: Segmentation fault: 11
 :info:build   213 | }
 :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://gcc.gnu.org/bugs/> for instructions.
 :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://gcc.gnu.org/bugs/> for instructions.
 :info:build make[3]: *** [norm2_r8.lo] Error 1
 :info:build make[3]: *** [norm2_r10.lo] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build/i686-w64-mingw32/libgfortran'
 :info:build make[2]: *** [all] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build/i686-w64-mingw32/libgfortran'
 :info:build make[1]: *** [all-target-libgfortran] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/work/build" && /usr/bin/make -j4 -w all
 :info:build Exit code: 2
 :error:build Failed to build i686-w64-mingw32-gcc-nothreads: command
 execution failed
 :debug:build Error code: CHILDSTATUS 89701 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32
 -gcc-nothreads/main.log for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60091>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list