{"action":"created","issue":{"url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/43","repository_url":"https://api.github.com/repos/barrysteyn/node-scrypt","labels_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/43/comments","events_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/43/events","html_url":"https://github.com/barrysteyn/node-scrypt/issues/43","id":32019082,"node_id":"MDU6SXNzdWUzMjAxOTA4Mg==","number":43,"title":"Ubuntu 14.04 desktop i386 installation error on i7 netbook","user":{"login":"LukeL99","id":138888,"node_id":"MDQ6VXNlcjEzODg4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/138888?v=4","gravatar_id":"","url":"https://api.github.com/users/LukeL99","html_url":"https://github.com/LukeL99","followers_url":"https://api.github.com/users/LukeL99/followers","following_url":"https://api.github.com/users/LukeL99/following{/other_user}","gists_url":"https://api.github.com/users/LukeL99/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeL99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeL99/subscriptions","organizations_url":"https://api.github.com/users/LukeL99/orgs","repos_url":"https://api.github.com/users/LukeL99/repos","events_url":"https://api.github.com/users/LukeL99/events{/privacy}","received_events_url":"https://api.github.com/users/LukeL99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2014-04-22T23:08:31Z","updated_at":"2018-07-18T08:09:19Z","closed_at":"2015-03-06T22:14:46Z","author_association":"NONE","body":"I'm having issues installing this package on Ubuntu 14.04 on my Lenovo Yoga 2 Pro. Here's what I believe to be the relevant portion of the error:\n\n  CC(target) Release/obj.target/scrypt_wrapper/src/util/salt.o\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o\n  AR(target) Release/obj.target/scrypt_wrapper.a\n  COPY Release/scrypt_wrapper.a\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/sha256.o\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-sse.o\nIn file included from ../scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-sse.c:34:0:\n/usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:31:3: error: #error \"SSE2 instruction set not enabled\"\n # error \"SSE2 instruction set not enabled\"\n   ^\n../scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-sse.c:47:23: error: unknown type name ‘__m128i’\n static void salsa20_8(__m128i *);\n\n[MORE STACK TRACE]\n\nmake: **\\* [Release/obj.target/scrypt_lib/scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-sse.o] Error 1\n\nSoftware versions:\n\ngcc -v\nUsing built-in specs.\nCOLLECT_GCC=gcc\nCOLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper\nTarget: i686-linux-gnu\nConfigured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu\nThread model: posix\ngcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) \n\npython --version\nPython 2.7.6\n\nnode --version\nv0.10.26\n\nnode-gyp --version\nv0.13.0\n\nIf there's anything else I can do to help track down the issue, please let me know.\n\nThanks,\n\nLuke\n"},"comment":{"url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/comments/405847156","html_url":"https://github.com/barrysteyn/node-scrypt/issues/43#issuecomment-405847156","issue_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/43","id":405847156,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTg0NzE1Ng==","user":{"login":"pcordes","id":165377,"node_id":"MDQ6VXNlcjE2NTM3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/165377?v=4","gravatar_id":"","url":"https://api.github.com/users/pcordes","html_url":"https://github.com/pcordes","followers_url":"https://api.github.com/users/pcordes/followers","following_url":"https://api.github.com/users/pcordes/following{/other_user}","gists_url":"https://api.github.com/users/pcordes/gists{/gist_id}","starred_url":"https://api.github.com/users/pcordes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcordes/subscriptions","organizations_url":"https://api.github.com/users/pcordes/orgs","repos_url":"https://api.github.com/users/pcordes/repos","events_url":"https://api.github.com/users/pcordes/events{/privacy}","received_events_url":"https://api.github.com/users/pcordes/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T08:09:19Z","updated_at":"2018-07-18T08:09:19Z","author_association":"NONE","body":"I stumbled across this while trying to find out if i386 Ubuntu built packages with SSE2 enabled or not.\r\n\r\nIf you're compiling binaries to be used on the machine where you're compiling, **use `-O3 -march=native`** to enable everything your CPU has, and set `-mtune` appropriately for your CPU.  (Unless your CPU is too new for your gcc to know about it specifically, in which case you still get `-mtune=generic`)\r\n\r\nApparently i386 Ubuntu's gcc assumes a baseline instruction set that doesn't include SSE2, which I guess is good because why would you use 32-bit Ubuntu unless you were on a CPU too old for x86-64.\r\n\r\n(x86-64 has SSE2 as a baseline part of the architecture, so 64-bit binaries can always assume SSE2 support, and thus gcc of course enables `-msse2` by default with `-m64`.)"}}
{"actor":{"display_login":"pcordes"}}