Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3517

[C++] MinGW 32bit build causes g++ segv

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • C++

    Description

      I'm trying to build MSYS2 packages for 32bit and 64bit: https://github.com/Alexpux/MINGW-packages/pull/4519

       

      64bit build works well.

       

      But 32bit build causes g++ segv: https://dev.azure.com/msys2/mingw/_build/results?buildId=280&view=logs

       

      2018-10-11T00:51:09.6355581Z In file included from D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/io/memory.cc:29:0:
      2018-10-11T00:51:09.6357210Z D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h: In substitution of 'template<class Function, class ... Args, class Result> std::future<Result> arrow::internal::ThreadPool::Submit(Function&&, Args&& ...) [with Function = <missing>; Args = <missing>; Result = <missing>]':
      2018-10-11T00:51:09.6381001Z D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72:   required from here
      2018-10-11T00:51:09.7514314Z D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72: internal compiler error: Segmentation fault
      2018-10-11T00:51:09.7536742Z                                        left + i * chunk_size, chunk_size));
      2018-10-11T00:51:09.7537294Z                                                                         ^
      2018-10-11T00:51:09.7537623Z 
      2018-10-11T00:51:09.7537778Z This application has requested the Runtime to terminate it in an unusual way.
      2018-10-11T00:51:09.7537913Z Please contact the application's support team for more information.
      2018-10-11T00:51:09.7538417Z 
      2018-10-11T00:51:09.7538550Z D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72: internal compiler error: Aborted
      2018-10-11T00:51:09.7538640Z 
      2018-10-11T00:51:09.7538764Z This application has requested the Runtime to terminate it in an unusual way.
      2018-10-11T00:51:09.7539047Z Please contact the application's support team for more information.
      2018-10-11T00:51:09.7539167Z g++.exe: internal compiler error: Aborted (program cc1plus)
      2018-10-11T00:51:09.7539287Z Please submit a full bug report,
      2018-10-11T00:51:09.7539385Z with preprocessed source if appropriate.
      2018-10-11T00:51:09.7539504Z See <https://sourceforge.net/projects/msys2> for instructions.
      2018-10-11T00:51:09.7539615Z make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/build.make:414: src/arrow/CMakeFiles/arrow_objlib.dir/io/memory.cc.obj] Error 4
      2018-10-11T00:51:09.7539718Z make[2]: *** Waiting for unfinished jobs....
      2018-10-11T00:51:10.7253905Z make[1]: *** [CMakeFiles/Makefile2:357: src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
      2018-10-11T00:51:10.7284933Z make: *** [Makefile:141: all] Error 2
      

      It'll be a g++ bug but what should we do? Should we stop to use the code with MinGW 32bit build?

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h