Dagobert Michelsen dam@opencsw.org writes:
This is Sun Studio 12. Sun Studio 12.3 fails also. Optflags are -xO3. Removing optflags leads to the same error. I just tested with GCC 4.9.0 and the testsuite passes.
So then it's either a configuration error, some portability problem in the C code, or a compiler bug. Let's start with the camellia failure. Some things you can try to track it down:
1. Enable all warning options.
2. Check that you get the same settings for HAVE_NATIVE_64_BIT with both compilers. And check for any other differences in config.h between builds.
3. Try compiling camellia-crypt-internal.c using gcc, and copy the object file into your Sun Studio build, to try to isolate the failure to a single source file. (This file seems like the most likely culprit, but it could be elsewhere).
4. Add debug output after key expansion, and between rounds, to see where results start to differ between the working and the non-working build.
Regards, /Niels