-
Notifications
You must be signed in to change notification settings - Fork 624
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
testBox failure on i386 #67
Comments
Hmm - interesting ... let me hunt down 4.7.1 here and give it a spin. Have you had luck with previous versions of OpenEXR and this compiler?
System Slackware 14.0, 32 bit, gcc 4.7.1 Compiles but "make check" fails into the testing of ImathTest. I'm trying to put together a full clean build/install of OpenEXR, CTL (1.5 rc) to utilize ultimately ctlrender command for some testing. I've removed prior builds and removed openexr 1.7.0 package which comes with Slackware by default. lt-ImathTest: testBox.cpp:253: void {anonymous}::testExtendByPoint(const char*) [with T = Imath_2_0::Vec2]: Assertion `b.min == p && b.max == p' failed. FAIL: ImathTest make[2]: *** [check-TESTS] Error 1 Thanks, — |
Come to think of it ... could you let me know the values for the box 'b' and the point 'p'
System Slackware 14.0, 32 bit, gcc 4.7.1 Compiles but "make check" fails into the testing of ImathTest. I'm trying to put together a full clean build/install of OpenEXR, CTL (1.5 rc) to utilize ultimately ctlrender command for some testing. I've removed prior builds and removed openexr 1.7.0 package which comes with Slackware by default. lt-ImathTest: testBox.cpp:253: void {anonymous}::testExtendByPoint(const char*) [with T = Imath_2_0::Vec2]: Assertion `b.min == p && b.max == p' failed. FAIL: ImathTest make[2]: *** [check-TESTS] Error 1 Thanks, — |
Come to think of it ... could you let me know the values for the box 'b' and the point 'p' |
Not sure how I do that? Should I put a print statement in testBox.cpp? Here is the final output: FAIL: ImathTest1 of 1 test failedmake[2]: *** [check-TESTS] Error 1 |
Could you replace testBox.cpp with the attached and run that, or diff --git IMATH_INTERNAL_NAMESPACE::Box
On
Links:[1] |
Thanks for that print code. Here's what I got. Then then next assert macro failed.
failed to set empty box to value (2970.17 -6529.19): got (2970.17 -6529.19),(2970.17 -6529.19) |
Next test: could you see whether compiling with -ffloat-store prevents (This will help to test Richard's theory that it might be an On 13/07/13 13:51, quantizationbit wrote:
|
Hi, I experienced the same error, and confirmed the test suite succeeds if -ffloat-store flag is added. Tested ilmbase 2.0.1 on Ubuntu 13.04 |
Ok yes using -ffloat-store works. I set the flag as described and rebuilt IlmBase from clean and make check succeeds. Now to figure out why slackware 14 comes with IlmBase 1.0.2 and OpenExr 1.7.0 as a few general image tools like ImageMagick depend on that. |
Ok using -ffloat-store gets IlmBase completed and installed. I've continued using that setting (although seems non-optimal to avoid register math) with OpenEXR and get to a "-nan" error in it's check. Testing testOptimizedInterleavePatterns error reading back channel B pixel 96,-62 got -nan expected -nan FAIL: IlmImfTest1 of 1 test failedmake[2]: *** [check-TESTS] Error 1 |
|
The ilmbase testsuite (not the openexr one) succeeds if only the two files testBoxAlgo.cpp and testBox.cpp are built with -fno-inline or -ffloat-store (either of theses gcc options does the trick). |
Looking into the OpenEXR issue backlog. Is this still an issue, or ok to close? |
Closing the issue for now, feel free to re-open or file a new issue if you need further help. |
System Slackware 14.0, 32 bit, gcc 4.7.1
Compiles but "make check" fails into the testing of ImathTest. I'm trying to put together a full clean build/install of OpenEXR, CTL (1.5 rc) to utilize ultimately ctlrender command for some testing. I've removed prior builds and removed openexr 1.7.0 package which comes with Slackware by default.
lt-ImathTest: testBox.cpp:253: void {anonymous}::testExtendByPoint(const char*) [with T = Imath_2_0::Vec2]: Assertion `b.min == p && b.max == p' failed.
/bin/sh: line 5: 8024 Aborted ${dir}$tst
FAIL: ImathTest
#1 of 1 test failed
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory
/home/qbit/Documents/OpenEXR/openexr-2.0.1/IlmBase/ImathTest' make[1]: *** [check-am] Error 2 make[1]: Leaving directory
/home/qbit/Documents/OpenEXR/openexr-2.0.1/IlmBase/ImathTest'make: *** [check-recursive] Error 1
qbit@0xFFFB:~/Documents/OpenEXR/openexr-2.0.1/IlmBase$
Thanks,
Bill Mandel
The text was updated successfully, but these errors were encountered: