{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/837","labels_url":"https://api.github.com/repos/manastech/crystal/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/837/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/837/events","html_url":"https://github.com/manastech/crystal/issues/837","id":89934004,"number":837,"title":"Can't build HEAD on Arch Linux","user":{"login":"bararchy","id":1631073,"avatar_url":"https://avatars.githubusercontent.com/u/1631073?v=3","gravatar_id":"","url":"https://api.github.com/users/bararchy","html_url":"https://github.com/bararchy","followers_url":"https://api.github.com/users/bararchy/followers","following_url":"https://api.github.com/users/bararchy/following{/other_user}","gists_url":"https://api.github.com/users/bararchy/gists{/gist_id}","starred_url":"https://api.github.com/users/bararchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bararchy/subscriptions","organizations_url":"https://api.github.com/users/bararchy/orgs","repos_url":"https://api.github.com/users/bararchy/repos","events_url":"https://api.github.com/users/bararchy/events{/privacy}","received_events_url":"https://api.github.com/users/bararchy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-21T16:59:34Z","updated_at":"2015-06-24T19:51:11Z","closed_at":null,"body":"```\r\n┌─( unshadow ) - ( ~/Desktop/git-projects/crystal )\r\n└──┤ make\r\nCRYSTAL_CONFIG_PATH=`pwd`/src ./bin/crystal build  -o .build/crystal src/compiler/crystal.cr\r\n.crystal//home/unshadow/Desktop/git-projects/crystal/src/ecr/process.cr/main.o: In function `~fun_literal_1':\r\nmain_module:(.text+0xe19): undefined reference to `GC_push_all_eager'\r\nmain_module:(.text+0xe26): undefined reference to `GC_push_all_eager'\r\ncollect2: error: ld returned 1 exit status\r\nError: execution of command failed with code: 1: `cc -o .crystal/crystal-run-macro-run-_home_unshadow_Desktop_git-projects_crystal_src_ecr_process.cr.tmp \".crystal//home/unshadow/Desktop/git-projects/crystal/src/ecr/process.cr/main.o\"   -levent -lrt -lpcl -lpcre -lgc -lpthread -lunwind`\r\nMakefile:28: recipe for target '.build/crystal' failed\r\nmake: *** [.build/crystal] Error 3\r\n```"},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/114992033","html_url":"https://github.com/manastech/crystal/issues/837#issuecomment-114992033","issue_url":"https://api.github.com/repos/manastech/crystal/issues/837","id":114992033,"user":{"login":"jhass","id":141294,"avatar_url":"https://avatars.githubusercontent.com/u/141294?v=3","gravatar_id":"","url":"https://api.github.com/users/jhass","html_url":"https://github.com/jhass","followers_url":"https://api.github.com/users/jhass/followers","following_url":"https://api.github.com/users/jhass/following{/other_user}","gists_url":"https://api.github.com/users/jhass/gists{/gist_id}","starred_url":"https://api.github.com/users/jhass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhass/subscriptions","organizations_url":"https://api.github.com/users/jhass/orgs","repos_url":"https://api.github.com/users/jhass/repos","events_url":"https://api.github.com/users/jhass/events{/privacy}","received_events_url":"https://api.github.com/users/jhass/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T19:51:11Z","updated_at":"2015-06-24T19:51:11Z","body":"Well, yes, sort of. It was fixed a few hours after I added a gc replacement package that compiles the static library so the symbol is exported, and then made the crystal packages depend on it with the 0.7.4 update. If it had been fixed before that I had simply made a gc package for the latest git version, but it's essentially the same approach, replacing the official gc package with one that works for us.\r\n\r\nI still kind of consider both as a workaround and it's fixed for me once the upstream change is in a release and the official arch package is updated, or Crystal no longer depends on that function. Though I think you can close this issue since the end user will no longer run into it, at least on Arch ;)"}}