{"action":"created","issue":{"url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/1","repository_url":"https://api.github.com/repos/mobilehaskell/user-guide","labels_url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/1/comments","events_url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/1/events","html_url":"https://github.com/mobilehaskell/user-guide/issues/1","id":310552569,"number":1,"title":"How can I know if I have the correct LLVM installed?","user":{"login":"alexanderkjeldaas","id":339369,"avatar_url":"https://avatars3.githubusercontent.com/u/339369?v=4","gravatar_id":"","url":"https://api.github.com/users/alexanderkjeldaas","html_url":"https://github.com/alexanderkjeldaas","followers_url":"https://api.github.com/users/alexanderkjeldaas/followers","following_url":"https://api.github.com/users/alexanderkjeldaas/following{/other_user}","gists_url":"https://api.github.com/users/alexanderkjeldaas/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderkjeldaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderkjeldaas/subscriptions","organizations_url":"https://api.github.com/users/alexanderkjeldaas/orgs","repos_url":"https://api.github.com/users/alexanderkjeldaas/repos","events_url":"https://api.github.com/users/alexanderkjeldaas/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderkjeldaas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-02T17:44:43Z","updated_at":"2018-04-03T06:56:26Z","closed_at":null,"author_association":"NONE","body":"It seems I'm using the wrong LLVM.  I'm getting tons of:\r\n\r\n```\r\n+ exec env PATH=/home/cibuild/build/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin:/home/cibuild/build/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/li\r\nnux-x86_64/arm-linux-androideabi/bin:/home/cibuild/build/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin:/home/cibuild/build/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-an\r\ndroid-4.9/prebuilt/linux-x86_64/aarch64-linux-android/bin:/code/app-react/hs-code/x/clang+llvm-5.0.0-linux-x86_64-ubuntu16.04/bin:/code/arm/bin:/code/arm/toolchain-wrapper:/code/arm/bin:/code/arm/toolchai\r\nn-wrapper:/code/arm/bin:/code/arm/toolchain-wrapper:/home/cibuild/.local/bin:/home/cibuild/bin:/home/cibuild/.local/bin:/home/cibuild/.nvm/versions/node/v9.10.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local\r\n/games:/usr/games:/home/cibuild/build/android-sdk-linux/tools:/home/cibuild/build/android-sdk-linux/platform-tools:/home/cibuild/app-react/rn-code/node_modules/.bin:/home/cibuild/.cabal/bin clang --target\r\n=arm-linux-androideabi --sysroot /home/cibuild/build/android-sdk-linux/ndk-bundle/sysroot -isystem /home/cibuild/build/android-sdk-linux/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_AP\r\nI__=24 -marm -fno-stack-protector -DTABLES_NEXT_TO_CODE -Isrc/Data/Generics -Idist/build -Idist/build -Idist/build/autogen -Idist/build -Qunused-arguments -x assembler -c /tmp/ghc22305_0/ghc_18.s -o dist/\r\nbuild/Data/Generics/Aliases.o\r\n\r\n/tmp/ghc22305_0/ghc_18.s:5:125: error:\r\n     error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or \"<type>\"\r\n            .type   sybzm0zi7zm0aea212ced888f6b5e2d66b8e52d0ffb62e814441050d1b1c62b10b2a98f1b45_DataziGenericsziAliases_unGenericzq_info,@object\r\n                                                                                                                                         ^\r\n  |\r\n5 |         .type   sybzm0zi7zm0aea212ced888f6b5e2d66b8e52d0ffb62e814441050d1b1c62b10b2a98f1b45_DataziGenericsziAliases_unGenericzq_info,@object\r\n  |                                                                                                                             ^\r\n\r\n/tmp/ghc22305_0/ghc_18.s:13:6: error:\r\n     error: invalid operand for instruction\r\n            sub     x8, x20, #8             // =8\r\n                    ^\r\n   |\r\n13 |         sub     x8, x20, #8             // =8\r\n   |      ^\r\n\r\n/tmp/ghc22305_0/ghc_18.s:14:7: error:\r\n     error: invalid operand for instruction\r\n            cmp             w8, w26\r\n                            ^\r\n   |\r\n14 |         cmp             w8, w26\r\n   |       ^\r\n\r\n/tmp/ghc22305_0/ghc_18.s:15:3: error:\r\n     error: invalid operand for instruction\r\n            b.hs    .LBB0_2\r\n             ^\r\n   |\r\n15 |         b.hs    .LBB0_2\r\n   |   ^\r\n\r\n/tmp/ghc22305_0/ghc_18.s:17:6: error:\r\n     error: invalid operand for instruction\r\n            sub     w8, w19, #8             // =8\r\n```\r\n\r\nI've installed from http://apt.llvm.org/ and also from http://releases.llvm.org/download.html#5.0.0\r\n\r\nMaybe I should compile something myself?\r\n\r\nWhat's the procedure for checking whether my LLVM is the correct one?"},"comment":{"url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/comments/378147673","html_url":"https://github.com/mobilehaskell/user-guide/issues/1#issuecomment-378147673","issue_url":"https://api.github.com/repos/mobilehaskell/user-guide/issues/1","id":378147673,"user":{"login":"alexanderkjeldaas","id":339369,"avatar_url":"https://avatars3.githubusercontent.com/u/339369?v=4","gravatar_id":"","url":"https://api.github.com/users/alexanderkjeldaas","html_url":"https://github.com/alexanderkjeldaas","followers_url":"https://api.github.com/users/alexanderkjeldaas/followers","following_url":"https://api.github.com/users/alexanderkjeldaas/following{/other_user}","gists_url":"https://api.github.com/users/alexanderkjeldaas/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderkjeldaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderkjeldaas/subscriptions","organizations_url":"https://api.github.com/users/alexanderkjeldaas/orgs","repos_url":"https://api.github.com/users/alexanderkjeldaas/repos","events_url":"https://api.github.com/users/alexanderkjeldaas/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderkjeldaas/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T06:56:26Z","updated_at":"2018-04-03T06:56:26Z","author_association":"NONE","body":"For zlib, which is missing `-lz`, is there a standard package I can install to get an ARM-version of \"standard libraries\"?"}}
{"actor":{"display_login":"alexanderkjeldaas"}}