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
Test failures on some architectures (CPU types) #18
Comments
Hi, I have investigated further this issue on mips/mipsel. Here is backtrace for test 'test_proximal':
In frame 3, we can see that address of m_data(0x7ffed508) is aligned on 8 bytes, but because of the value of EIGEN_MAX_ALIGN_BYTES in test it is expected to be aligned on 16.
Problem is in eigen package: For 32-bit mips architecture it has been assumed that it is not necessary to take care of alignment (flag EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT is set to 1). Adding MIPS in the list of architectures that support alignment solves this issue,
I will create an issue and recommend mentioned solution for eigen3 package on Debian. Until this is resolved, workaround for this can be passing flag -DEIGEN_MAX_STATIC_ALIGN_BYTES=16 through CXXFLAGS:
Regards, |
Hi, I'm Eigen's maintainers, I don't think adding MIPS in the list of architecture supporting static alignment is the proper fix. To truly fix this issue upstream I would need to know how the |
ah, nevermind, I know remember that this intriguing "4096" max static size comes from Eigen's stableNorm, and that I fixed this issue a few months ago: http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1400, have to release 3.3.4 asap ;) |
By disabling pandas I was able to try the build of sopt on different CPU types under Debian. On most platforms, it builds fine, however a few show test failures:
The test results are all similar:
and it happens always in the same line as an abort():
I have no glue how to debug this. Any hints?
The text was updated successfully, but these errors were encountered: