niXman - 2023-02-04

On 2023-02-03 17:25, Ryan Livingston wrote:

hi,

you are using a very old version of the toolchain.
the new versions are located here:
github.com/nixman/mingw-builds-binaries


[bugs:#962] during GIMPLE pass: slsr ... internal compiler error:
Segmentation fault

Status: open
Group: v1.0 (example)
Created: Fri Feb 03, 2023 05:25 PM UTC by Ryan Livingston
Last Updated: Fri Feb 03, 2023 05:25 PM UTC
Owner: nobody
Attachments:

-
spline_preproc.cpp
(62.4 kB; text/plain)

I'm seeing a segfault when compiling the attached C++ file:

MinGW\bin\g++ -c -fwrapv -m64 -O3 -fno-loop-optimize
-fno-aggressive-loop-optimizations -fvisibility=hidden -fopenmp
-D__USE_MINGW_ANSI_STDIO=1 -DBUILDING_INTERP2_SCRIPT
-DMODEL=interp2_script "spline_preproc.cpp"
during GIMPLE pass: slsr
spline.cpp: In function 'void coder::spline(const double, const
double
, const int, double, double, int)':
spline.cpp:25:6: internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See https://sourceforge.net/projects/mingw-w64 for instructions.

This is with:

MinGW\bin\g++ -v
Using built-in specs.
COLLECT_GCC=G:\3rdparty\internal\8728516\win64\MinGW\bin/g++
COLLECT_LTO_WRAPPER=G:/3rdparty/internal/8728516/win64/MinGW/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure
--host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
--target=x86_64-w64-mingw32 --prefix=/mingw64
--with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64
--enable-shared --enable-static --disable-multilib
--enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes
--enable-threads=posix --enable-libgomp --enable-libatomic
--enable-lto --enable-graphite --enable-checking=release
--enable-fully-dynamic-string --enable-version-specific-runtime-libs
--disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-gnu-as --with-gnu-ld
--with-arch=nocona --with-tune=core2 --with-libiconv
--with-system-zlib
--with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project'
--with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2
-pipe -fno-ident
-I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include'
CXXFLAGS='-O2 -pipe -fno-ident
-I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include'
CPPFLAGS='
-I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include'
LDFLAGS='-pipe -fno-ident
-L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib
-L/c/mingw810/prerequisites/x86_64-zlib-static/lib
-L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: posix
gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)


Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/mingw-w64/bugs/962/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

 

Related

Bugs: #962