{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/14","repository_url":"https://api.github.com/repos/status-im/nim-rocksdb","labels_url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/14/comments","events_url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/14/events","html_url":"https://github.com/status-im/nim-rocksdb/pull/14","id":365443858,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MzYyMTg1","number":14,"title":"Use native linking on Arch linux.","user":{"login":"yglukhov","id":6962409,"node_id":"MDQ6VXNlcjY5NjI0MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/6962409?v=4","gravatar_id":"","url":"https://api.github.com/users/yglukhov","html_url":"https://github.com/yglukhov","followers_url":"https://api.github.com/users/yglukhov/followers","following_url":"https://api.github.com/users/yglukhov/following{/other_user}","gists_url":"https://api.github.com/users/yglukhov/gists{/gist_id}","starred_url":"https://api.github.com/users/yglukhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yglukhov/subscriptions","organizations_url":"https://api.github.com/users/yglukhov/orgs","repos_url":"https://api.github.com/users/yglukhov/repos","events_url":"https://api.github.com/users/yglukhov/events{/privacy}","received_events_url":"https://api.github.com/users/yglukhov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T12:44:51Z","updated_at":"2018-10-02T18:19:51Z","closed_at":"2018-10-02T18:17:43Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/status-im/nim-rocksdb/pulls/14","html_url":"https://github.com/status-im/nim-rocksdb/pull/14","diff_url":"https://github.com/status-im/nim-rocksdb/pull/14.diff","patch_url":"https://github.com/status-im/nim-rocksdb/pull/14.patch"},"body":"Apparently there's a problem linking with librocksdb on Arch linux with default nim glue linking.\r\nRelated issues:\r\nhttps://github.com/jemalloc/jemalloc/issues/955, https://github.com/jemalloc/jemalloc/issues/937\r\n<details> \r\n  <summary>Another problem noticed:</summary>\r\n<pre>\r\n$ nimbus\r\n     19813:\r\n     19813:     WARNING: Unsupported flag value(s) of 0x8000000 in DT_FLAGS_1.\r\n     19813:\r\n     19813:     file=libm.so.6 [0];  needed by nimbus [0]\r\n     19813:     file=libm.so.6 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b901ec90  base: 0x00006584b8e9b000   size: 0x0000000000184018\r\n     19813:         entry: 0x00006584b8ea8020  phdr: 0x00006584b8e9b040  phnum:                 10\r\n     19813:\r\n     19813:\r\n     19813:     file=librt.so.1 [0];  needed by nimbus [0]\r\n     19813:     file=librt.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8e99bf0  base: 0x00006584b8e91000   size: 0x00000000000099f8\r\n     19813:         entry: 0x00006584b8e93020  phdr: 0x00006584b8e91040  phnum:                 10\r\n     19813:\r\n     19813:\r\n     19813:     file=libdl.so.2 [0];  needed by nimbus [0]\r\n     19813:     file=libdl.so.2 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8e8fd30  base: 0x00006584b8e8c000   size: 0x0000000000004090\r\n     19813:         entry: 0x00006584b8e8d020  phdr: 0x00006584b8e8c040  phnum:                 10\r\n     19813:\r\n     19813:\r\n     19813:     file=libc.so.6 [0];  needed by nimbus [0]\r\n     19813:     file=libc.so.6 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8e859e0  base: 0x00006584b8cc8000   size: 0x00000000001c3640\r\n     19813:         entry: 0x00006584b8cec330  phdr: 0x00006584b8cc8040  phnum:                 13\r\n     19813:\r\n     19813:\r\n     19813:     file=libpthread.so.0 [0];  needed by /usr/lib/librt.so.1 [0]\r\n     19813:     file=libpthread.so.0 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8cc2ae0  base: 0x00006584b8ca7000   size: 0x00000000000201c8\r\n     19813:         entry: 0x00006584b8cad6e0  phdr: 0x00006584b8ca7040  phnum:                 12\r\n     19813:\r\n     19813:\r\n     19813:     calling init: /usr/lib/libpthread.so.0\r\n     19813:\r\n     19813:\r\n     19813:     calling init: /usr/lib/libc.so.6\r\n     19813:\r\n     19813:\r\n     19813:     calling init: /usr/lib/libdl.so.2\r\n     19813:\r\n     19813:\r\n     19813:     calling init: /usr/lib/librt.so.1\r\n     19813:\r\n     19813:\r\n     19813:     calling init: /usr/lib/libm.so.6\r\n     19813:\r\n     19813:\r\n     19813:     initialize program: nimbus\r\n     19813:\r\n     19813:\r\n     19813:     transferring control: nimbus\r\n     19813:\r\n     19813:\r\n     19813:     file=librocksdb.so [0];  dynamically loaded by nimbus [0]\r\n     19813:     file=librocksdb.so [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8c0d628  base: 0x00006584b85b5000   size: 0x000000000066e548\r\n     19813:         entry: 0x00006584b86ce020  phdr: 0x00006584b85b5040  phnum:                 10\r\n     19813:\r\n     19813:\r\n     19813:     file=libsnappy.so.1 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libsnappy.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b85b3cc8  base: 0x00006584b83ad000   size: 0x0000000000207018\r\n     19813:         entry: 0x00006584b83af3e0  phdr: 0x00006584b83ad040  phnum:                  7\r\n     19813:\r\n     19813:\r\n     19813:     file=libz.so.1 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libz.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b83abc90  base: 0x00006584b8196000   size: 0x0000000000216010\r\n     19813:         entry: 0x00006584b81981d0  phdr: 0x00006584b8196040  phnum:                  7\r\n     19813:\r\n     19813:\r\n     19813:     file=libbz2.so.1.0 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libbz2.so.1.0 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8194ce0  base: 0x00006584b8183000   size: 0x0000000000012c48\r\n     19813:         entry: 0x00006584b8185020  phdr: 0x00006584b8183040  phnum:                  9\r\n     19813:\r\n     19813:\r\n     19813:     file=liblz4.so.1 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=liblz4.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8181cc8  base: 0x00006584b8164000   size: 0x000000000001e010\r\n     19813:         entry: 0x00006584b8166020  phdr: 0x00006584b8164040  phnum:                  9\r\n     19813:\r\n     19813:\r\n     19813:     file=libzstd.so.1 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libzstd.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b8162a58  base: 0x00006584b7ecc000   size: 0x0000000000297038\r\n     19813:         entry: 0x00006584b7ed05b0  phdr: 0x00006584b7ecc040  phnum:                  7\r\n     19813:\r\n     19813:\r\n     19813:     file=libtbb.so.2 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libtbb.so.2 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b7ec67d0  base: 0x00006584b7e8a000   size: 0x0000000000041340\r\n     19813:         entry: 0x00006584b7e99020  phdr: 0x00006584b7e8a040  phnum:                  9\r\n     19813:\r\n     19813:\r\n     19813:     file=libjemalloc.so.2 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libjemalloc.so.2 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b7c79b78  base: 0x00006584b79f7000   size: 0x0000000000492278\r\n     19813:         entry: 0x00006584b79fc870  phdr: 0x00006584b79f7040  phnum:                  8\r\n     19813:\r\n     19813:\r\n     19813:     file=libstdc++.so.6 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libstdc++.so.6 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b79f03a8  base: 0x00006584b7868000   size: 0x000000000018e640\r\n     19813:         entry: 0x00006584b78f1020  phdr: 0x00006584b7868040  phnum:                 11\r\n     19813:\r\n     19813:\r\n     19813:     file=libgcc_s.so.1 [0];  needed by /usr/lib/librocksdb.so [0]\r\n     19813:     file=libgcc_s.so.1 [0];  generating link map\r\n     19813:       dynamic: 0x00006584b7866cd0  base: 0x00006584b784e000   size: 0x00000000000192f0\r\n     19813:         entry: 0x00006584b7851020  phdr: 0x00006584b784e040  phnum:                 10\r\n     19813:\r\n     19813:\r\n     19813:     file=/usr/lib/librocksdb.so [0];  needed by /usr/lib/libstdc++.so.6 [0] (relocation dependency)\r\n     19813:\r\n     19813:\r\n     19813:     file=librocksdb_lite.so [0];  dynamically loaded by nimbus [0]\r\ncould not load: librocksdb(|_lite).so\r\ncompile with -d:nimDebugDlOpen for more information\r\n</pre>\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/comments/426378751","html_url":"https://github.com/status-im/nim-rocksdb/pull/14#issuecomment-426378751","issue_url":"https://api.github.com/repos/status-im/nim-rocksdb/issues/14","id":426378751,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjM3ODc1MQ==","user":{"login":"arnetheduck","id":1382986,"node_id":"MDQ6VXNlcjEzODI5ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/1382986?v=4","gravatar_id":"","url":"https://api.github.com/users/arnetheduck","html_url":"https://github.com/arnetheduck","followers_url":"https://api.github.com/users/arnetheduck/followers","following_url":"https://api.github.com/users/arnetheduck/following{/other_user}","gists_url":"https://api.github.com/users/arnetheduck/gists{/gist_id}","starred_url":"https://api.github.com/users/arnetheduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnetheduck/subscriptions","organizations_url":"https://api.github.com/users/arnetheduck/orgs","repos_url":"https://api.github.com/users/arnetheduck/repos","events_url":"https://api.github.com/users/arnetheduck/events{/privacy}","received_events_url":"https://api.github.com/users/arnetheduck/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T18:19:50Z","updated_at":"2018-10-02T18:19:50Z","author_association":"MEMBER","body":"oops, missed this - why not always native-link instead? seems like a bother to support special arch stuff that doesn't get testing"}}
{"actor":{"display_login":"arnetheduck"}}