Some older versions of OS X (10.6.8 "Snow Leopard" and possibly below) ship with a toolchain that is based on an old version of the GNU assembler, which does not support binary literals. Assembling an expression that contains a 0b00011011 literal will cause a warning and treat the immediate as 0.
This makes the build fail: sha1-x86_64.s:1243:missing or invalid immediate expression `0b00011011' taken as 0 sha1-x86_64.s:1243:suffix or operands invalid for `pshufd' sha1-x86_64.s:1245:missing or invalid immediate expression `0b00011011' taken as 0 sha1-x86_64.s:1245:suffix or operands invalid for `pshufd' sha1-x86_64.s:1395:missing or invalid immediate expression `0b00011011' taken as 0 sha1-x86_64.s:1395:suffix or operands invalid for `pshufd' sha1-x86_64.s:1396:missing or invalid immediate expression `0b00011011' taken as 0 sha1-x86_64.s:1396:suffix or operands invalid for `pshufd' make[2]: *** [sha1-x86_64.o] Error 1 An easy workaround is using hexadecimal literals, which are supported by the toolchain. Joshua Root has prepared a patch that I have sent as a pull request at https://github.com/openssl/openssl/pull/792 Please pull to avoid breaking openssl for users on Mac OS X 10.6.8. The problem was originally reported in the MacPorts bug tracker at https://trac.macports.org/ticket/50771 -- Clemens Lang MacPorts Developer -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4397 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev