{"action":"created","issue":{"url":"https://api.github.com/repos/gentoo/dotnet/issues/270","repository_url":"https://api.github.com/repos/gentoo/dotnet","labels_url":"https://api.github.com/repos/gentoo/dotnet/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/gentoo/dotnet/issues/270/comments","events_url":"https://api.github.com/repos/gentoo/dotnet/issues/270/events","html_url":"https://github.com/gentoo/dotnet/issues/270","id":191276661,"number":270,"title":"dev-lang/mono-4.9.0.729 compilation bug, random.","user":{"login":"dorvan","id":848817,"avatar_url":"https://avatars.githubusercontent.com/u/848817?v=3","gravatar_id":"","url":"https://api.github.com/users/dorvan","html_url":"https://github.com/dorvan","followers_url":"https://api.github.com/users/dorvan/followers","following_url":"https://api.github.com/users/dorvan/following{/other_user}","gists_url":"https://api.github.com/users/dorvan/gists{/gist_id}","starred_url":"https://api.github.com/users/dorvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorvan/subscriptions","organizations_url":"https://api.github.com/users/dorvan/orgs","repos_url":"https://api.github.com/users/dorvan/repos","events_url":"https://api.github.com/users/dorvan/events{/privacy}","received_events_url":"https://api.github.com/users/dorvan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T13:56:08Z","updated_at":"2016-11-23T18:41:43Z","closed_at":null,"body":"hello Mr!\r\nan extract of log:\r\n\r\nMCS     [build] System.Reflection.Extensions.dll\r\nMCS     [build] mcs.exe\r\nAOT     [build] mscorlib.dll.so\r\nAOT     [build] mcs.exe.so\r\nld: /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_CvuBZU.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC\r\nld: final link failed: Nonrepresentable section on output\r\nAOT of image ./../../class/lib/build/mcs.exe failed.\r\nMono Ahead of Time compiler - compiling assembly /ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86/mcs/class/lib/build/mcs.exe\r\nAOTID 6A019F50-0DEE-6224-C09C-4868DC37B38A\r\nCode: 4418992(59%) Info: 126616(1%) Ex Info: 2560845(34%) Unwind Info: 80(0%) Class Info: 66165(0%) PLT: 6789(0%) GOT Info: 153971(2%) Offsets: 95065(1%) GOT: 62012\r\nCompiled: 21429/21429 (100%), No GOT slots: 12498 (58%), Direct calls: 23662 (110%)\r\nExecuting the native assembler: \"as\"   -o /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_CvuBZU.o /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_CvuBZU\r\nExecuting the native linker: \"ld\"  -shared -o ./../../class/lib/build//mcs.exe.so.tmp  /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_CvuBZU.o\r\nld: /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_253bF6.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC\r\nld: final link failed: Nonrepresentable section on output\r\nAOT of image ./../../class/lib/build//mscorlib.dll failed.\r\nMono Ahead of Time compiler - compiling assembly /ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86/mcs/class/lib/build/mscorlib.dll\r\nAOTID 58185B37-1C6B-94B6-EDC5-D2D18022AB34\r\nCode: 5027572(58%) Info: 140277(1%) Ex Info: 3028892(35%) Unwind Info: 80(0%) Class Info: 102424(1%) PLT: 8077(0%) GOT Info: 174556(2%) Offsets: 121416(1%) GOT: 69044\r\nCompiled: 26661/26738 (99%), No GOT slots: 17254 (64%), Direct calls: 41774 (70%)\r\n75 methods have other problems (0%)\r\nExecuting the native assembler: \"as\"   -o /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_253bF6.o /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_253bF6\r\nExecuting the native linker: \"ld\"  -shared -o /ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86/mcs/class/lib/build/mscorlib.dll.so.tmp  /ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/mono_aot_253bF6.o\r\nmake[7]: *** [Makefile:36: ../../class/lib/build//mscorlib.dll.so] Error 1\r\nmake[6]: *** [../../build/rules.make:198: do-all] Error 2\r\nmake[5]: *** [build/rules.make:225: all-recursive] Error 1\r\nmake[4]: *** [Makefile:49: profile-do--build--all] Error 2\r\nmake[3]: *** [Makefile:45: profiles-do--all] Error 2\r\nmake[2]: *** [Makefile:560: all-local] Error 2\r\nmake[2]: Leaving directory '/ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86/runtime'\r\nmake[1]: *** [Makefile:525: all-recursive] Error 1\r\nmake[1]: Leaving directory '/ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86'\r\nmake: *** [Makefile:454: all] Error 2\r\n * ERROR: dev-lang/mono-4.9.0.729::gentoo failed (compile phase):\r\n *   emake failed\r\n *\r\n * If you need support, post the output of `emerge --info '=dev-lang/mono-4.9.0.729::gentoo'`,\r\n * the complete build log and the output of `emerge -pqv '=dev-lang/mono-4.9.0.729::gentoo'`.\r\n * The complete build log is located at '/ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/build.log'.\r\n * The ebuild environment file is located at '/ports/tmp/portage/dev-lang/mono-4.9.0.729/temp/environment'.\r\n * Working directory: '/ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0-abi_x86_32.x86'\r\n * S: '/ports/tmp/portage/dev-lang/mono-4.9.0.729/work/mono-4.9.0'\r\n"},"comment":{"url":"https://api.github.com/repos/gentoo/dotnet/issues/comments/262598397","html_url":"https://github.com/gentoo/dotnet/issues/270#issuecomment-262598397","issue_url":"https://api.github.com/repos/gentoo/dotnet/issues/270","id":262598397,"user":{"login":"ArsenShnurkov","id":188456,"avatar_url":"https://avatars.githubusercontent.com/u/188456?v=3","gravatar_id":"","url":"https://api.github.com/users/ArsenShnurkov","html_url":"https://github.com/ArsenShnurkov","followers_url":"https://api.github.com/users/ArsenShnurkov/followers","following_url":"https://api.github.com/users/ArsenShnurkov/following{/other_user}","gists_url":"https://api.github.com/users/ArsenShnurkov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArsenShnurkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArsenShnurkov/subscriptions","organizations_url":"https://api.github.com/users/ArsenShnurkov/orgs","repos_url":"https://api.github.com/users/ArsenShnurkov/repos","events_url":"https://api.github.com/users/ArsenShnurkov/events{/privacy}","received_events_url":"https://api.github.com/users/ArsenShnurkov/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T18:41:43Z","updated_at":"2016-11-23T18:41:43Z","body":"I don't understand how mono builds. That deep knowledge lost with creators who left us.\r\nThe only idea is to try to add <a href=\"http://stackoverflow.com/questions/5311515/gcc-fpic-option\">-fPIC</a> into <a href=\"https://en.wikipedia.org/wiki/CFLAGS\">CFLAGS/CXXFLAGS</a> variables of this package (<a href=\"https://wiki.gentoo.org/wiki//etc/portage/package.env\">/etc/portage/package.env</a>)"}}
{"actor":{"display_login":"ArsenShnurkov"}}