{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic/issues/2102","labels_url":"https://api.github.com/repos/numenta/nupic/issues/2102/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic/issues/2102/comments","events_url":"https://api.github.com/repos/numenta/nupic/issues/2102/events","html_url":"https://github.com/numenta/nupic/issues/2102","id":72988920,"number":2102,"title":"Compilation error","user":{"login":"alxkls","id":2317626,"avatar_url":"https://avatars.githubusercontent.com/u/2317626?v=3","gravatar_id":"","url":"https://api.github.com/users/alxkls","html_url":"https://github.com/alxkls","followers_url":"https://api.github.com/users/alxkls/followers","following_url":"https://api.github.com/users/alxkls/following{/other_user}","gists_url":"https://api.github.com/users/alxkls/gists{/gist_id}","starred_url":"https://api.github.com/users/alxkls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxkls/subscriptions","organizations_url":"https://api.github.com/users/alxkls/orgs","repos_url":"https://api.github.com/users/alxkls/repos","events_url":"https://api.github.com/users/alxkls/events{/privacy}","received_events_url":"https://api.github.com/users/alxkls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numenta/nupic/labels/type:bug","name":"type:bug","color":"fc2929"},{"url":"https://api.github.com/repos/numenta/nupic/labels/type:installation","name":"type:installation","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-04T10:44:02Z","updated_at":"2015-05-04T19:12:47Z","closed_at":null,"body":"Hello everyone, \r\n\r\nI am having problems compiling the package. I get the following error:\r\n`nupic lto1: fatal error: bytecode stream generated with LTO version 2.2 instead of the expected 3.0`\r\n\r\nI found someone had similar issue and the solution he proposed was to downgrade gcc and g++. Sadly I can't do that as it will brake many other things. Does anyone have any other suggestions. Thanks."},"comment":{"url":"https://api.github.com/repos/numenta/nupic/issues/comments/98820634","html_url":"https://github.com/numenta/nupic/issues/2102#issuecomment-98820634","issue_url":"https://api.github.com/repos/numenta/nupic/issues/2102","id":98820634,"user":{"login":"alxkls","id":2317626,"avatar_url":"https://avatars.githubusercontent.com/u/2317626?v=3","gravatar_id":"","url":"https://api.github.com/users/alxkls","html_url":"https://github.com/alxkls","followers_url":"https://api.github.com/users/alxkls/followers","following_url":"https://api.github.com/users/alxkls/following{/other_user}","gists_url":"https://api.github.com/users/alxkls/gists{/gist_id}","starred_url":"https://api.github.com/users/alxkls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxkls/subscriptions","organizations_url":"https://api.github.com/users/alxkls/orgs","repos_url":"https://api.github.com/users/alxkls/repos","events_url":"https://api.github.com/users/alxkls/events{/privacy}","received_events_url":"https://api.github.com/users/alxkls/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T19:12:47Z","updated_at":"2015-05-04T19:12:47Z","body":"Error:\r\n` #warning \"Using deprecated NumPy API, disable it by \" \\\r\n  ^\r\ngcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/home/alex/dev/python/packages/nupic/external/linux64/include -I/home/alex/dev/python/packages/nupic/external/common/include -I/home/alex/dev/python/packages/nupic/extensions -I/home/alex/dev/python/packages/nupic -I/home/alex/dev/python/packages/nupic/extensions/core/build/release/include -I/usr/include/python2.7 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c extensions/cpp_region/unittests/PyHelpersTest.cpp -o build/temp.linux-x86_64-2.7/extensions/cpp_region/unittests/PyHelpersTest.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2\r\ng++ -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/extensions/py_support/NumpyVector.o build/temp.linux-x86_64-2.7/extensions/py_support/PyArray.o build/temp.linux-x86_64-2.7/extensions/py_support/PyHelpers.o build/temp.linux-x86_64-2.7/extensions/py_support/PythonStream.o build/temp.linux-x86_64-2.7/extensions/cpp_region/PyRegion.o build/temp.linux-x86_64-2.7/extensions/cpp_region/unittests/PyHelpersTest.o /home/alex/dev/python/packages/nupic/extensions/core/build/release/lib/libnupic_core.a -L. -ldl -lpython2.7 -lkj -lcapnp -lcapnpc -lpthread -lpython2.7 -o build/lib.linux-x86_64-2.7/nupic/libcpp_region.so -m64 -fPIC -L/home/alex/dev/python/packages/nupic/extensions/core/build/release/lib -lkj -lcapnp -lcapnpc -O2\r\nlto1: fatal error: bytecode stream generated with LTO version 2.2 instead of the expected 3.0\r\ncompilation terminated.\r\nlto-wrapper: g++ returned 1 exit status\r\n/bin/ld: lto-wrapper failed\r\ncollect2: error: ld returned 1 exit status\r\nerror: command 'g++' failed with exit status 1\r\n`\r\n\r\nPython\r\n`Python 2.7.8 (default, Nov 10 2014, 08:19:18) `\r\n\r\nGCC/G++\r\n`Using built-in specs.\r\nCOLLECT_GCC=gcc\r\nCOLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper\r\nTarget: x86_64-redhat-linux\r\nConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20141101/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20141101/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux\r\nThread model: posix\r\ngcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC) ```\r\n\r\nOS: Fedora 21 and Arch 2015.04.01(same error on both). I should mention that it worked fine on my servers(CentOS 7.1).\r\n\r\nBitness:  `x86_64`"}}