{"action":"created","issue":{"url":"https://api.github.com/repos/jsteube/princeprocessor/issues/43","labels_url":"https://api.github.com/repos/jsteube/princeprocessor/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jsteube/princeprocessor/issues/43/comments","events_url":"https://api.github.com/repos/jsteube/princeprocessor/issues/43/events","html_url":"https://github.com/jsteube/princeprocessor/issues/43","id":65254859,"number":43,"title":"Architecture","user":{"login":"Cthulu201","id":9865418,"avatar_url":"https://avatars.githubusercontent.com/u/9865418?v=3","gravatar_id":"","url":"https://api.github.com/users/Cthulu201","html_url":"https://github.com/Cthulu201","followers_url":"https://api.github.com/users/Cthulu201/followers","following_url":"https://api.github.com/users/Cthulu201/following{/other_user}","gists_url":"https://api.github.com/users/Cthulu201/gists{/gist_id}","starred_url":"https://api.github.com/users/Cthulu201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cthulu201/subscriptions","organizations_url":"https://api.github.com/users/Cthulu201/orgs","repos_url":"https://api.github.com/users/Cthulu201/repos","events_url":"https://api.github.com/users/Cthulu201/events{/privacy}","received_events_url":"https://api.github.com/users/Cthulu201/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T16:57:54Z","updated_at":"2015-03-30T18:20:29Z","closed_at":null,"body":"Is this 64-bit only? Trying to compile on 32-bit Intel and ARM systems and get unknown type name errors:\r\n\r\n```\r\nIn file included from pp.c:17:0:\r\nmpz_int128.h:33:9: error: unknown type name '__int128_t'\r\n typedef __int128_t              int128_t;\r\n         ^\r\nmpz_int128.h:34:9: error: unknown type name '__uint128_t'\r\n typedef __uint128_t             uint128_t;\r\n         ^\r\npp.c: In function 'chain_ks':\r\nmpz_int128.h:65:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n #define mpz_mul_ui(rop, op1, op2) do { rop = op1 * (op2); if (rop < (op2)) rop = UINT128_MAX; } while (0)\r\n                                                                   ^\r\npp.c:488:5: note: in expansion of macro 'mpz_mul_ui'\r\n     mpz_mul_ui (*ks_cnt, *ks_cnt, elems_cnt);^M\r\n     ^\r\npp.c: In function 'main':\r\nmpz_int128.h:65:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n #define mpz_mul_ui(rop, op1, op2) do { rop = op1 * (op2); if (rop < (op2)) rop = UINT128_MAX; } while (0)\r\n                                                                   ^\r\npp.c:1293:11: note: in expansion of macro 'mpz_mul_ui'\r\n           mpz_mul_ui (tmp, main_loops, wordlen_dist[pw_len]);^M\r\n           ^\r\nmpz_int128.h:59:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n #define mpz_add_ui(rop, op1, op2) do { rop = op1 + (op2); if (rop < (op2)) rop = UINT128_MAX; } while (0)\r\n                                                                   ^\r\npp.c:1446:11: note: in expansion of macro 'mpz_add_ui'\r\n           mpz_add_ui (save, save, iter_pos_save);^M\r\n           ^\r\nmpz_int128.h:33:9: error: unknown type name '__int128_t'\r\n typedef __int128_t              int128_t;\r\n         ^\r\nmpz_int128.h:34:9: error: unknown type name '__uint128_t'\r\n typedef __uint128_t             uint128_t;\r\n         ^\r\nmake: *** [pparm.bin] Error 1\r\n```\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jsteube/princeprocessor/issues/comments/87779301","html_url":"https://github.com/jsteube/princeprocessor/issues/43#issuecomment-87779301","issue_url":"https://api.github.com/repos/jsteube/princeprocessor/issues/43","id":87779301,"user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T18:20:29Z","updated_at":"2015-03-30T18:20:29Z","body":"As I said in a comment to acc9abc, that commit broke 32-bit targets. If you use the Makefile from prior to that, it should work fine."}}