{"action":"created","issue":{"url":"https://api.github.com/repos/flang-compiler/flang/issues/487","repository_url":"https://api.github.com/repos/flang-compiler/flang","labels_url":"https://api.github.com/repos/flang-compiler/flang/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/flang-compiler/flang/issues/487/comments","events_url":"https://api.github.com/repos/flang-compiler/flang/issues/487/events","html_url":"https://github.com/flang-compiler/flang/pull/487","id":328406109,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxOTUxNzU3","number":487,"title":"Introduce weak symbols in the libompstub library","user":{"login":"pawosm-arm","id":20681839,"node_id":"MDQ6VXNlcjIwNjgxODM5","avatar_url":"https://avatars2.githubusercontent.com/u/20681839?v=4","gravatar_id":"","url":"https://api.github.com/users/pawosm-arm","html_url":"https://github.com/pawosm-arm","followers_url":"https://api.github.com/users/pawosm-arm/followers","following_url":"https://api.github.com/users/pawosm-arm/following{/other_user}","gists_url":"https://api.github.com/users/pawosm-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/pawosm-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawosm-arm/subscriptions","organizations_url":"https://api.github.com/users/pawosm-arm/orgs","repos_url":"https://api.github.com/users/pawosm-arm/repos","events_url":"https://api.github.com/users/pawosm-arm/events{/privacy}","received_events_url":"https://api.github.com/users/pawosm-arm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T07:12:14Z","updated_at":"2018-12-20T12:21:25Z","closed_at":"2018-12-20T12:21:25Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/flang-compiler/flang/pulls/487","html_url":"https://github.com/flang-compiler/flang/pull/487","diff_url":"https://github.com/flang-compiler/flang/pull/487.diff","patch_url":"https://github.com/flang-compiler/flang/pull/487.patch"},"body":"Flang compiler, when started without -fopenmp links the final\r\nexecutable binary with libompstub - a small library which\r\ncontains all the symbols of OpenMP runtime library with\r\nempty implementations. This is because certain places\r\nin Flang runtime library make use of OpenMP runtime in order\r\nto use its mechanisms for handling concurret code execution.\r\nFor example, all malloc() calls in Flang runtime library\r\nare wrapped by __kmpc_critical()/__kmpc_end_critical() calls.\r\n\r\nThe problems start to appear when Fortran program built\r\nwithout -fopenmp (and therefore linked against libompstub)\r\nis also linked against some library that was dynamically\r\nlinked against real OpenMP runtime library, resulting in\r\nunexpected behaviour.\r\n"},"comment":{"url":"https://api.github.com/repos/flang-compiler/flang/issues/comments/448980661","html_url":"https://github.com/flang-compiler/flang/pull/487#issuecomment-448980661","issue_url":"https://api.github.com/repos/flang-compiler/flang/issues/487","id":448980661,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk4MDY2MQ==","user":{"login":"pawosm-arm","id":20681839,"node_id":"MDQ6VXNlcjIwNjgxODM5","avatar_url":"https://avatars2.githubusercontent.com/u/20681839?v=4","gravatar_id":"","url":"https://api.github.com/users/pawosm-arm","html_url":"https://github.com/pawosm-arm","followers_url":"https://api.github.com/users/pawosm-arm/followers","following_url":"https://api.github.com/users/pawosm-arm/following{/other_user}","gists_url":"https://api.github.com/users/pawosm-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/pawosm-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawosm-arm/subscriptions","organizations_url":"https://api.github.com/users/pawosm-arm/orgs","repos_url":"https://api.github.com/users/pawosm-arm/repos","events_url":"https://api.github.com/users/pawosm-arm/events{/privacy}","received_events_url":"https://api.github.com/users/pawosm-arm/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T12:21:25Z","updated_at":"2018-12-20T12:21:25Z","author_association":"CONTRIBUTOR","body":"Obsolete idea, closing it.\r\n"}}
{"actor":{"display_login":"pawosm-arm"}}