Opened 7 years ago

Last modified 7 years ago

#54588 new defect

gcc7 Segmentation Fault

Reported by: dnbaker (Daniel Baker) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gcc7

Description (last modified by mf2k (Frank Schima))

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)

Attachments (2)

gmm_preprocess.txt.gz (1.1 MB) - added by dnbaker (Daniel Baker) 7 years ago.
Preprocessed gmm_train.cpp
stuff.tgz (3.5 MB) - added by dnbaker (Daniel Baker) 7 years ago.
Source and headers required for compilation

Change History (5)

Changed 7 years ago by dnbaker (Daniel Baker)

Attachment: gmm_preprocess.txt.gz added

Preprocessed gmm_train.cpp

Changed 7 years ago by dnbaker (Daniel Baker)

Attachment: stuff.tgz added

Source and headers required for compilation

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Port: gcc7 added

In the future, please fill in the Port field.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Why do you think this problem is specific to Macports? Maybe file this issue upstream?

Note: See TracTickets for help on using tickets.