[MacPorts] #54588: gcc7 Segmentation Fault
MacPorts
noreply at macports.org
Mon Aug 21 19:59:07 UTC 2017
#54588: gcc7 Segmentation Fault
----------------------+-----------------
Reporter: dnbaker | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
----------------------+-----------------
Description changed by mf2k:
Old description:
> Error:
>
> """
> g++-mp-7 -O3 -funroll-loops -pipe -fno-strict-aliasing -march=native
> -fopenmp -DUSE_PDQSORT -Wa,-q -fno-rtti -std=c++17 -Wall -Wextra -Wno-
> char-subscripts -Wpointer-arith -Wwrite-strings -Wdisabled-optimization
> -Wformat -Wcast-align -Wno-unused-function -Wno-unused-parameter
> -DFLOAT_TYPE=float -I. -Ilib -Iblaze -Inormlib -L. -L/opt/local/lib
> -L/cm/shared/apps/openblas/0.2.17/lib/ -c src/gmm_train.cpp -o
> src/gmm_train.o -lz -pthread -lopenblas
> src/gmm_train.cpp: In function 'int main(int, char**)':
> src/gmm_train.cpp:75:109: internal compiler error: Segmentation fault: 11
> using GMMType = mm::GaussMixtureModel<float, DotProduct<float>,
> GaussianSubModel<float, DotProduct<float>>>;
> ^~
>
> src/gmm_train.cpp:75:109: internal compiler error: Abort trap: 6
> g++-mp-7: internal compiler error: Abort trap: 6 (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://trac.macports.org/newticket> for instructions.
> """
>
> GCC Version:
>
> """
> Using built-in specs.
> COLLECT_GCC=g++-mp-7
> COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin16/7.1.1
> /lto-wrapper
> Target: x86_64-apple-darwin16
> Configured with:
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc7/gcc7/work/gcc-7-20170622/configure
> --prefix=/opt/local --build=x86_64-apple-darwin16 --enable-
> languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc7
> --includedir=/opt/local/include/gcc7 --infodir=/opt/local/share/info
> --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-7
> --with-local-prefix=/opt/local --with-system-zlib --disable-nls
> --program-suffix=-mp-7 --with-gxx-include-
> dir=/opt/local/include/gcc7/c++/ --with-gmp=/opt/local --with-
> mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --enable-
> stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time
> --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-
> ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-
> bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts
> gcc7 7-20170622_0'
> Thread model: posix
> gcc version 7.1.1 20170622 (MacPorts gcc7 7-20170622_0)
> """
New description:
Error:
{{{
g++-mp-7 -O3 -funroll-loops -pipe -fno-strict-aliasing -march=native
-fopenmp -DUSE_PDQSORT -Wa,-q -fno-rtti -std=c++17 -Wall -Wextra -Wno-
char-subscripts -Wpointer-arith -Wwrite-strings -Wdisabled-optimization
-Wformat -Wcast-align -Wno-unused-function -Wno-unused-parameter
-DFLOAT_TYPE=float -I. -Ilib -Iblaze -Inormlib -L. -L/opt/local/lib
-L/cm/shared/apps/openblas/0.2.17/lib/ -c src/gmm_train.cpp -o
src/gmm_train.o -lz -pthread -lopenblas
src/gmm_train.cpp: In function 'int main(int, char**)':
src/gmm_train.cpp:75:109: internal compiler error: Segmentation fault: 11
using GMMType = mm::GaussMixtureModel<float, DotProduct<float>,
GaussianSubModel<float, DotProduct<float>>>;
^~
src/gmm_train.cpp:75:109: internal compiler error: Abort trap: 6
g++-mp-7: internal compiler error: Abort trap: 6 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
}}}
GCC Version:
{{{
Using built-in specs.
COLLECT_GCC=g++-mp-7
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin16/7.1.1
/lto-wrapper
Target: x86_64-apple-darwin16
Configured with:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc7/gcc7/work/gcc-7-20170622/configure
--prefix=/opt/local --build=x86_64-apple-darwin16 --enable-
languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc7
--includedir=/opt/local/include/gcc7 --infodir=/opt/local/share/info
--mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-7 --with-
local-prefix=/opt/local --with-system-zlib --disable-nls --program-
suffix=-mp-7 --with-gxx-include-dir=/opt/local/include/gcc7/c++/ --with-
gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-
isl=/opt/local --enable-stage1-checking --disable-multilib --enable-lto
--enable-libstdcxx-time --with-build-config=bootstrap-debug --with-
as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-
ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket
--with-pkgversion='MacPorts gcc7 7-20170622_0'
Thread model: posix
gcc version 7.1.1 20170622 (MacPorts gcc7 7-20170622_0)
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/54588#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list