Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
asfimport opened this issue Oct 15, 2018 · 3 comments
Closed

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

asfimport opened this issue Oct 15, 2018 · 3 comments
Assignees
Milestone

Comments

@asfimport
Copy link
Collaborator

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?

Reporter: Kouhei Sutou / @kou
Assignee: Kouhei Sutou / @kou

PRs and other links:

Note: This issue was originally created as ARROW-3517. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
Does ARROW-3516 solve the issue?

@asfimport
Copy link
Collaborator Author

Kouhei Sutou / @kou:
Sorry. ARROW-3516 doesn't solve this...

@asfimport
Copy link
Collaborator Author

Uwe Korn / @xhochy:
Issue resolved by pull request 2899
#2899

@asfimport asfimport added this to the 0.12.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants