Weird, running make without the -j option magically "fixed" the error.  Not 
sure why.

From: Kacvinsky, Tom
Sent: Tuesday, November 9, 2021 6:32 PM
To: [email protected]
Subject: Internal compiler error building mingw-w64-crt (default msvcrt is ucrt)

I am building (once again) a GCC with UCRT support, this time using the UCRT64 
tool chain
that I was able to install today.  I am using master of the mingw-w64 git repo, 
freshly updated
today, but have a problem building the CRT libraries:

D:/DEV/mingw-w64-gcc-11.2.0-ucrt-1/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:65:9:
 internal compiler error: Segmentation fault

Configure of mingw-64-headers is

configure --prefix=/d/DEV/mingw-w64-gcc-11.2.0-ucrt-1/x86_64-w64-mingw32  
--with-default-msvcrt=ucrt

Configure of mingw-w64-crt is

configure --prefix=/d/DEV/mingw-w64-gcc-11.2.0-ucrt-1/x86_64-w64-mingw32  
--with-default-msvcrt=ucrt

Compiler in use is

$ which gcc
/ucrt64/bin/gcc

$ gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Is there a source package available (base UCRT64 GCC 11.2 + MinGW-w64 patches) 
that I
can use (in some sense, a debug package for GCC) so I can run this through a 
debugger and
see why there is a segmentation fault?

I should  add that this happens even with the v9.0.0 tag of the mingw-w64 clone 
I have.

In case anyone is curious as to why I keep bringing this topic up, it's because 
now I am trying
to work out some stuff with SEH  handling cross tool chain (MSVC for C/C++ and 
GCC for Ada).

Tom

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to