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
tests do not pass on 32bit (i386) platform #1453
Comments
ha! with those build options tests seems to pass on i386! waiting for amd64 build to finish (I apply them on all x86 platforms, so will be fun to see if works on x32 in debian proper) to make sure that there is no side effects. |
FWIW, tests pass consistently. I've uploaded mrtrix3 to debian proper (will need to get through NEW queue first), and also backport builds to NeuroDebian, which should get listed at http://neuro.debian.net/pkgs/mrtrix3.html soonish Leaving it open so you could decide either to include those compile flags in general (for x86 only please) or not |
Sorry about the late response - lots on at the moment. This is interesting (I haven't looked at 32 bits for a loooong time...). I'd be happy to add these flags for x86, just not sure what the best way might be to detect this - currently we leave everything to defaults. We could detect whether the Also, maybe we can just use these options by default? I note from the GCC docs for
So maybe we can just make this the default in general...? We can simply check whether we can invoke the compiler with these options, and remove them if not to support other architectures. Alternatively, we can invoke the compiler with all the current options, adding the
Only issue is that doesn't work on |
@yarikoptic: can we close this off? Are you happy to set the flags on your side for the Debian 32-bit builds? Or do we need to change the defaults in the configure script? Might be a good idea to do that anyway, to be fair... |
I thought that they just might be too stringent, but some large differences (e.g.
45.718 vs 43.3306
) listed below suggest that there might be more to the story:full build logs with dumps are available from http://neuro.debian.net/_files/_buildlogs/mrtrix3/3.0~rc3+git86-g4b523b413, see e.g. http://neuro.debian.net/_files/_buildlogs/mrtrix3/3.0~rc3+git86-g4b523b413/mrtrix3_3.0~rc3+git86-g4b523b413-1~nd+1_i386.build
Also, may be build flags should include
-mmmx -msse -msse2 -mfpmath=sse
to guarantee more consistent operation across x86 platforms? (we ended up using them for dcm2niix to provide desired consistent operation)The text was updated successfully, but these errors were encountered: