待辦事項 #39952

cc1.exe/cc1plus.exe has stopped working

啟用日期: 2020-01-24 18:52 最後更新: 2020-01-24 22:38

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
Invalid
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

Hi. I've encounter a problem with C and C++ code compilation. In msys64 environment compiler does nothing: no errors, no outputs. In cmd.exe compiler fails with "cc1.exe has stopped working" error. I could compile C and C++ code using mingw about a year ago. But something happened and I can't do it anymore. Don't know how to reproduce the problem because at home everything works perfectly, but at work my collegue and I have exactly the same problem. I think that compiler shouldn't crash without any error message.

Here is the program (doesn't matter actualy):

  1. int main(int argc, char** argv) {
  2. return 0;
  3. }

OS Windows 10.0.14393 x64

GCC version

  1. # ./gcc -v
  2. Using built-in specs.
  3. COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
  4. COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exe
  5. Target: x86_64-w64-mingw32
  6. Configured with: ../gcc-9.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++ --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --enable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
  7. Thread model: posix
  8. gcc version 9.2.0 (Rev2, Built by MSYS2 project)

Binutils version

  1. # ./ld -v
  2. GNU ld (GNU Binutils) 2.33.1

Couldn't find the mingw version in the _mingw.h

System version

  1. # ./uname -a
  2. MSYS_NT-10.0-14393 WSTT00099910893 3.0.7-338.x86_64 2019-07-11 10:58 UTC x86_64 Msys

Ticket History (2/2 Histories)

2020-01-24 18:52 Updated by: radikpsb
  • New Ticket "cc1.exe/cc1plus.exe has stopped working" created
2020-01-24 22:38 Updated by: keith
  • 處理結果 Update from to Invalid
  • 狀態 Update from 開啟 to 關閉
評語

It appears that your compiler originates from the MSYS2 project. This project unashamedly, and illegally, misrepresents their products as MinGW; they are no such thing, and this project is not authorized to abuse the MinGW trademark in this fashion. Since you are not using a genuine MinGW product, we cannot help you.

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入