{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/4078","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/4078/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/4078/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/4078/events","html_url":"https://github.com/kripken/emscripten/issues/4078","id":131571560,"number":4078,"title":"[1.35.22] Failed to run LLVM optimizations","user":{"login":"pgarnero06","id":3213939,"avatar_url":"https://avatars.githubusercontent.com/u/3213939?v=3","gravatar_id":"","url":"https://api.github.com/users/pgarnero06","html_url":"https://github.com/pgarnero06","followers_url":"https://api.github.com/users/pgarnero06/followers","following_url":"https://api.github.com/users/pgarnero06/following{/other_user}","gists_url":"https://api.github.com/users/pgarnero06/gists{/gist_id}","starred_url":"https://api.github.com/users/pgarnero06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgarnero06/subscriptions","organizations_url":"https://api.github.com/users/pgarnero06/orgs","repos_url":"https://api.github.com/users/pgarnero06/repos","events_url":"https://api.github.com/users/pgarnero06/events{/privacy}","received_events_url":"https://api.github.com/users/pgarnero06/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-05T06:55:38Z","updated_at":"2016-02-08T23:40:51Z","closed_at":null,"body":"Hi.\r\n\r\nI experience the following issue at link time, using version 1.35.22:\r\nAssertionError: Failed to run llvm optimizations:\r\n\r\nThis is the log generated:\r\n[log.txt](https://github.com/kripken/emscripten/files/118729/log.txt)\r\n\r\nThe program I try to generate, vSomeIP, a transport implementation for automotive, is publicly available at http://git.projects.genivi.org/vSomeIP.git\r\nThis software just relies on Boost (I have used BOOST 1.59).\r\n\r\nBoost is built using https://github.com/tee3/boost-build-emscripten.git data. I have made a modification in emscripten.jam in order to use -s USE_PTHREADS=1 compile+link option.\r\n\r\nvSomeIP is built as is (cmake with CXX env. var. set to em++) with these small modifications:\r\n* source code is modified in order to remove any dependencies to boost_log (all the traces have been commented)\r\n* CMakeLists.txt is altered to provide -s USE_PTHREADS=1 compile option\r\n* the generation is done that way:\r\n   - cmake .. -DBOOST_ROOT=...boost location...\r\n   - make -j4 examples\r\n   - then a manual link command is issued (see log included) => it produces the error displayed in the title of this issue\r\n\r\nAny information is welcome.\r\n\r\nCheers.\r\n\r\nPierre\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/181625857","html_url":"https://github.com/kripken/emscripten/issues/4078#issuecomment-181625857","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/4078","id":181625857,"user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T23:40:51Z","updated_at":"2016-02-08T23:40:51Z","body":"I filed https://llvm.org/bugs/show_bug.cgi?id=26534"}}