Skip to content

Commit

Permalink
Fix check for SSSE3 in when loading system image
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Aug 14, 2014
1 parent a06fe73 commit 9112004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static void jl_load_sysimg_so(char *fname)
jl_error("Target architecture mismatch. Please delete or regenerate sys.{so,dll,dylib}.");
}
else if (strcmp(cpu_target,"core2") == 0) {
int HasSSSE3 = (info[3] & 1<<9);
int HasSSSE3 = (info[2] & 1<<9);
if (!HasSSSE3)
jl_error("The current host does not support SSSE3, but the system image was compiled for Core2.\n"
"Please delete or regenerate sys.{so,dll,dylib}.");
Expand Down

0 comments on commit 9112004

Please sign in to comment.