{"action":"closed","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/4422","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/4422/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/4422/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/4422/events","html_url":"https://github.com/kripken/emscripten/issues/4422","id":163280425,"number":4422,"title":"Upstream Clang/LLVM produces unsupported relocations","user":{"login":"ddcc","id":1108560,"avatar_url":"https://avatars.githubusercontent.com/u/1108560?v=3","gravatar_id":"","url":"https://api.github.com/users/ddcc","html_url":"https://github.com/ddcc","followers_url":"https://api.github.com/users/ddcc/followers","following_url":"https://api.github.com/users/ddcc/following{/other_user}","gists_url":"https://api.github.com/users/ddcc/gists{/gist_id}","starred_url":"https://api.github.com/users/ddcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddcc/subscriptions","organizations_url":"https://api.github.com/users/ddcc/orgs","repos_url":"https://api.github.com/users/ddcc/repos","events_url":"https://api.github.com/users/ddcc/events{/privacy}","received_events_url":"https://api.github.com/users/ddcc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-30T22:26:46Z","updated_at":"2016-07-01T15:49:05Z","closed_at":"2016-07-01T15:49:05Z","body":"Upstream Clang/LLVM (within the past week or so) produces relocations that don't seem to be supported by `s2wasm` when compiling C++ programs.\r\n\r\nOn the following vtable, I get the message `Fatal: Unknown relocation: $_ZTV1B\r\n`\r\n\r\n```\r\n.L__unnamed_1:\r\n\t.int32\t0\r\n\t.int32\t_ZTI1B\r\n\t.int32\t_ZN1B1fEv@FUNCTION\r\n\t.skip\t4\r\n\t.int32\t0\r\n\t.int32\t_ZTI1C\r\n\t.int32\t_ZN1C1fEv@FUNCTION\r\n\t.size\t.L__unnamed_1, 28\r\n\r\n\t.type\t.L__unnamed_2,@object\r\n\t.section\t.rodata,\"a\",@progbits\r\n.L__unnamed_2:\r\n\t.size\t.L__unnamed_2, 0\r\n\r\n\r\n_ZTV1B = .L__unnamed_1\r\n\t.size\t_ZTV1B, 12\r\n_ZTV1C = .L__unnamed_1+16\r\n\t.size\t_ZTV1C, 12\r\n```\r\n\r\nvtable.cpp: https://gist.github.com/ddcc/ff531972825cc6bbf8e9f8365fb6891c\r\nvtable.s: https://gist.github.com/ddcc/8192d691d4d31c27dd3e3c23aff897c2"}}
{"actor":{"display_login":"kripken"}}