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

Seg fault in OSI unit test when using msys2 + msvc #29

Open
abhcs opened this issue Jul 23, 2024 · 1 comment
Open

Seg fault in OSI unit test when using msys2 + msvc #29

abhcs opened this issue Jul 23, 2024 · 1 comment

Comments

@abhcs
Copy link

abhcs commented Jul 23, 2024

OS: Windows 11 Enterprise
compiler: Microsoft Visual Studio 14.0/VC/BIN/x86_amd64/cl (Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86)
fetch and build source: followed instructions here
commands:

./coinbrew [interactively fetch the latest release of COIN-OR-OptimizationSuite]
./coinbrew build Coin-OR-OptimizationSuite --prefix=build --enable-msvc --build=x86_64-w64-mingw32

error:

##################################################

Reconfiguring Osi 0.107.10

##################################################

##################################################

Building Osi 0.107.10

##################################################

##################################################

Running Osi unit test

##################################################

make[1]: *** [Makefile:692: test] Segmentation fault
make: *** [Makefile:914: test] Error 2

I am not sure how to debug this since I am new to the msys2 + msvc toolchain.

@tkralphs
Copy link
Member

tkralphs commented Aug 1, 2024

For now, try adding --tests none to your coinbrew arguments. In all likelihood, the build will go through and everything will work fine. If you have problems after that, then feel free to open another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants