{"action":"created","issue":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/137","labels_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/137/comments","events_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/137/events","html_url":"https://github.com/EricssonResearch/openwebrtc/issues/137","id":55436273,"number":137,"title":"Debuggable dependencies – is there a policy?","user":{"login":"ikonst","id":1186084,"avatar_url":"https://avatars.githubusercontent.com/u/1186084?v=3","gravatar_id":"","url":"https://api.github.com/users/ikonst","html_url":"https://github.com/ikonst","followers_url":"https://api.github.com/users/ikonst/followers","following_url":"https://api.github.com/users/ikonst/following{/other_user}","gists_url":"https://api.github.com/users/ikonst/gists{/gist_id}","starred_url":"https://api.github.com/users/ikonst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikonst/subscriptions","organizations_url":"https://api.github.com/users/ikonst/orgs","repos_url":"https://api.github.com/users/ikonst/repos","events_url":"https://api.github.com/users/ikonst/events{/privacy}","received_events_url":"https://api.github.com/users/ikonst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T00:02:34Z","updated_at":"2015-02-12T08:38:10Z","closed_at":null,"body":"Right now, only one dependency, build-openwebrtc-gst-plugins.sh, respects the -d / -r (debug/release) flag. The other dependencies are built as they do by default, e.g.\r\n* glib we pass --enable-debug=no unconditionally\r\n* gst-plugins-base defaults to --enable-debug=yes (internally),\r\n* etc. etc.\r\n\r\nAlso `$ find scripts/dependencies/build/arm-apple-darwin10 -name 'Makefile' | xargs grep O2` shows that:\r\n* gnutls\r\n* gstreamer\r\n* openwebrtc-gst-plugins\r\n\r\nare the only dependencies built with `-O2` in a release build on arm-apple-darwin10.\r\n\r\nMy questions are:\r\n* Is it reasonable that we don't optimize so many of our dependencies, and particularly on mobile?\r\n* Do we have any reason not to build all dependencies with `-g`, regardless of optimizations? Debug symbols can always be stripped later."},"comment":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/comments/74035342","html_url":"https://github.com/EricssonResearch/openwebrtc/issues/137#issuecomment-74035342","issue_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/137","id":74035342,"user":{"login":"sdroege","id":301846,"avatar_url":"https://avatars.githubusercontent.com/u/301846?v=3","gravatar_id":"","url":"https://api.github.com/users/sdroege","html_url":"https://github.com/sdroege","followers_url":"https://api.github.com/users/sdroege/followers","following_url":"https://api.github.com/users/sdroege/following{/other_user}","gists_url":"https://api.github.com/users/sdroege/gists{/gist_id}","starred_url":"https://api.github.com/users/sdroege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdroege/subscriptions","organizations_url":"https://api.github.com/users/sdroege/orgs","repos_url":"https://api.github.com/users/sdroege/repos","events_url":"https://api.github.com/users/sdroege/events{/privacy}","received_events_url":"https://api.github.com/users/sdroege/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T08:38:10Z","updated_at":"2015-02-12T08:38:10Z","body":"FWIW, in cerbero we always build with debug symbols currently. -O2 -g or -Os -g. But no special configure parameters to things like glib to enable special debugging code."}}