The solution recently added to Julia is to check, and if necessary abort with an error, on starting the program itself: http://anonscm.debian.org/cgit/pkg-julia/julia.git/tree/debian/patches/require-sse2-on-i386.patch