{"action":"created","issue":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/1247","repository_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons","labels_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/1247/labels{/name}","comments_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/1247/comments","events_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/1247/events","html_url":"https://github.com/OpenDungeons/OpenDungeons/issues/1247","id":168491258,"number":1247,"title":"StackTraceUnix: Add support for arm arch","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/labels/Linux","name":"Linux","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/milestones/7","html_url":"https://github.com/OpenDungeons/OpenDungeons/milestones/0.8.0","labels_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/milestones/7/labels","id":1554253,"number":7,"title":"0.8.0","description":"This version will probably be about having a full IDE for map edition, and maybe start of scripting support toward the first campaign... :>","creator":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":0,"state":"open","created_at":"2016-01-31T21:19:02Z","updated_at":"2016-07-30T23:02:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-30T23:02:27Z","updated_at":"2016-07-31T12:30:13Z","closed_at":null,"body":"I was positively surprised to see that OD [builds almost properly on armv5tl on Mageia](http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20160730220223.akien.duvel.33969/log/opendungeons-0.7.0-1.mga6/build.0.20160730221608.log); however it fails right at the end when building StackTraceUnix:\r\n\r\n```\r\n[ 99%] Building CXX object CMakeFiles/opendungeons.dir/source/utils/StackTraceUnix.cpp.o\r\n/usr/bin/c++   -DOD_DATA_PATH=\\\"/usr/share/games/opendungeons\\\" -DOD_PLUGINS_CFG_PATH=\\\"/etc/opendungeons\\\" -DOD_VERSION=\\\"0.7.0\\\" -I/home/iurt/rpmbuild/BUILD/opendungeons-0.7.0/source -isystem /usr/include/cegui-0 -isystem /usr/include/OGRE -isystem /usr/include/OIS  -std=c++11  -Wall -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wswitch-default -Wstrict-null-sentinel -Winvalid-pch -Wswitch-default -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -march=armv5t  -DNDEBUG   -Werror -o CMakeFiles/opendungeons.dir/source/utils/StackTraceUnix.cpp.o -c /home/iurt/rpmbuild/BUILD/opendungeons-0.7.0/source/utils/StackTraceUnix.cpp\r\n/home/iurt/rpmbuild/BUILD/opendungeons-0.7.0/source/utils/StackTraceUnix.cpp:112:2: error: #error Unsupported architecture.\r\n #error Unsupported architecture. // TODO: Add support for other arch.\r\n  ^\r\n/home/iurt/rpmbuild/BUILD/opendungeons-0.7.0/source/utils/StackTraceUnix.cpp: In static member function 'static void StackTracePrintPrivateData::critErrHandler(int, siginfo_t*, void*)':\r\n/home/iurt/rpmbuild/BUILD/opendungeons-0.7.0/source/utils/StackTraceUnix.cpp:105:21: error: unused variable 'uc' [-Werror=unused-variable]\r\n     sig_ucontext_t* uc = static_cast<sig_ucontext_t*>(ucontext);\r\n                     ^\r\n```\r\n\r\nSo, opening an issue for this TODO. It would be nice to have support for those arches if it only implies to finding the proper function call in https://github.com/OpenDungeons/OpenDungeons/blob/0.7.0/source/utils/StackTraceUnix.cpp#L107-L113"},"comment":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/comments/236427352","html_url":"https://github.com/OpenDungeons/OpenDungeons/issues/1247#issuecomment-236427352","issue_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/1247","id":236427352,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T12:30:13Z","updated_at":"2016-07-31T12:30:13Z","body":"I fixed the arm builds on Mageia with this patch: http://svnweb.mageia.org/packages/cauldron/opendungeons/current/SOURCES/0001-Fix-compilation-of-StackTraceUnix-on-non-x86-platfor.patch?view=markup\r\nIt's a bit hackish though, but if it's fine with you as a quick solution I can make a PR :)"}}
{"actor":{"display_login":"akien-mga"}}