{"action":"created","issue":{"url":"https://api.github.com/repos/mono/mono/issues/7271","repository_url":"https://api.github.com/repos/mono/mono","labels_url":"https://api.github.com/repos/mono/mono/issues/7271/labels{/name}","comments_url":"https://api.github.com/repos/mono/mono/issues/7271/comments","events_url":"https://api.github.com/repos/mono/mono/issues/7271/events","html_url":"https://github.com/mono/mono/issues/7271","id":300141364,"number":7271,"title":"Unable to build mono on Red Hat Enterprise from scratch","user":{"login":"freedog8","id":21093659,"avatar_url":"https://avatars3.githubusercontent.com/u/21093659?v=4","gravatar_id":"","url":"https://api.github.com/users/freedog8","html_url":"https://github.com/freedog8","followers_url":"https://api.github.com/users/freedog8/followers","following_url":"https://api.github.com/users/freedog8/following{/other_user}","gists_url":"https://api.github.com/users/freedog8/gists{/gist_id}","starred_url":"https://api.github.com/users/freedog8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freedog8/subscriptions","organizations_url":"https://api.github.com/users/freedog8/orgs","repos_url":"https://api.github.com/users/freedog8/repos","events_url":"https://api.github.com/users/freedog8/events{/privacy}","received_events_url":"https://api.github.com/users/freedog8/received_events","type":"User","site_admin":false},"labels":[{"id":355723744,"url":"https://api.github.com/repos/mono/mono/labels/needs%20more%20info","name":"needs more info","color":"FF6600","default":false},{"id":778600147,"url":"https://api.github.com/repos/mono/mono/labels/os-linux-rhel","name":"os-linux-rhel","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-02-26T08:04:53Z","updated_at":"2018-02-28T00:32:13Z","closed_at":null,"author_association":"NONE","body":"## platform: Linux\r\n\r\n```\r\n**$wliu@login01 ~ $ lsb_release -a**\r\nLSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch\r\nDistributor ID: RedHatEnterpriseServer\r\nDescription:    Red Hat Enterprise Linux Server release 6.5 (Santiago)\r\nRelease:        6.5\r\nCodename:       Santiago\r\n**$wliu@login01 ~ $ uname -a**\r\nLinux login01 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\nI have tried every way I can:\r\n\r\n## **1. Compiling Mono From Git**\r\n\r\n```\r\n**$git clone git://github.com/mono/mono.git**\r\n**$cd mono**\r\n**$./autogen.sh --prefix=/data/gpfs01/wliu/.anaconda3/**\r\nGit submodules updated successfully\r\n\r\n        mcs source:    mcs\r\n        C# Compiler:   roslyn\r\n\r\n   Engine:\r\n        Host:          x86_64-pc-linux-gnu\r\n        Target:        x86_64-pc-linux-gnu\r\n        GC:            sgen (concurrent by default) and Included Boehm GC with typed GC and parallel mark\r\n        TLS:           __thread\r\n        SIGALTSTACK:   yes\r\n        Engine:        Building and using the JIT\r\n        BigArrays:     no\r\n        DTrace:        no\r\n        LLVM Back End: no (dynamically loaded: no)\r\n        Spectre:       no mitigation\r\n\r\n   Libraries:\r\n        .NET 4.x:        yes\r\n        Xamarin.Android: no\r\n        Xamarin.iOS:     no\r\n        Xamarin.WatchOS: no\r\n        Xamarin.TVOS:    no\r\n        Xamarin.Mac:     no\r\n        Windows AOT:     no\r\n        Orbis:           no\r\n        Unreal:          no\r\n        WebAssembly:     no\r\n        Test profiles:   AOT Full (no), AOT Hybrid (no)\r\n        JNI support:     IKVM Native\r\n        libgdiplus:      assumed to be installed\r\n        zlib:            system zlib\r\n        BTLS:            yes (x86_64)\r\n        jemalloc:        no (always use: no)\r\n\r\n\r\nNow type `make' to compile\r\n\r\n**$ make get-monolite-latest**\r\n**$make**\r\nif test -w /data/gpfs01/wliu/ding/mono/mcs; then :; else chmod -R +w /data/gpfs01/wliu/ding/mono/mcs; fi\r\ncd /data/gpfs01/wliu/ding/mono/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14           ' CC='gcc' all-profiles\r\nmake[6]: mono: Command not found\r\nmake[6]: *** [build/deps/basic-profile-check.exe] Error 127\r\n*** The runtime 'mono' doesn't appear to be usable.\r\n*** Trying the 'monolite-linux/1051300002' directory.\r\nMicrosoft (R) Visual C# Compiler version 2.6.0.62309 (d3f6b8e7)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nmkdir -p -- ../../class/lib/basic/\r\nCSC     [basic] mscorlib.dll\r\nCSC     [basic] Mono.Security.dll\r\nCSC     [basic] System.dll\r\n/bin/sh: line 1: 23860 Killed                  MONO_PATH=\"./../../class/lib/monolite-linux/1051300002:./../../class/lib/monolite-linux/1051300002/Facades:$MONO_PATH\" /data/gpfs01/wliu/ding/mono/runtime/mono-wrapper /data/gpfs01/wliu/ding/mono/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.2.6.0/tools/csc.exe /codepage:65001 /nologo /noconfig /deterministic -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -d:BOOTSTRAP_BASIC -nowarn:1699 -nostdlib -r:./../../class/lib/basic/mscorlib.dll -optimize /features:peverify-compat /langversion:latest -d:CONFIGURATION_2_0 -d:XML_DEP -d:SECURITY_DEP -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS -unsafe -resource:resources/Asterisk.wav -resource:resources/Beep.wav -resource:resources/Exclamation.wav -resource:resources/Hand.wav -resource:resources/Question.wav -nowarn:436 -d:MONO_SECURITY_ALIAS -d:CODEDOM -d:MONO_FEATURE_BTLS -d:CONFIGURATION_DEP -r:./../../../external/binary-reference-assemblies/v4.7.1/System.Net.Http.dll -r:./../../../external/binary-reference-assemblies/v4.7.1/System.Xml.dll -r:./../../../external/binary-reference-assemblies/v4.7.1/System.Configuration.dll -r:MonoSecurity=./../../class/lib/basic/Mono.Security.dll -target:library -out:../../class/lib/basic/System.dll @./../../build/deps/_basic__System.dll.response\r\nmake[8]: *** [../../class/lib/basic/System.dll] Error 137\r\nmake[7]: *** [do-all] Error 2\r\nmake[6]: *** [all-recursive] Error 1\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[4]: *** [profile-do--basic--all] Error 2\r\nmake[3]: *** [profiles-do--all] Error 2\r\nmake[2]: *** [all-local] Error 2\r\nmake[2]: Leaving directory `/data/gpfs01/wliu/ding/mono/runtime'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/data/gpfs01/wliu/ding/mono'\r\nmake: *** [all] Error 2\r\n```\r\n\r\n## **2. Compiling Mono From Git (using mono 4.8.1 from conda-forg)**\r\n(This let me go further)\r\n\r\n```\r\n**$ mono --version**\r\nMono JIT compiler version 4.8.1 (Stable 4.8.1.0/22a39d7 Mon Apr 24 06:02:06 UTC 2017)\r\nCopyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com\r\n        TLS:           __thread\r\n        SIGSEGV:       altstack\r\n        Notifications: epoll\r\n        Architecture:  amd64\r\n        Disabled:      none\r\n        Misc:          softdebug\r\n        LLVM:          supported, not enabled.\r\n        GC:            sgen\r\n**$git clone git://github.com/mono/mono.git**\r\n**$cd mono**\r\n**$./autogen.sh --prefix=/data/gpfs01/wliu/.anaconda3/**\r\nGit submodules updated successfully\r\n\r\n        mcs source:    mcs\r\n        C# Compiler:   roslyn\r\n\r\n   Engine:\r\n        Host:          x86_64-pc-linux-gnu\r\n        Target:        x86_64-pc-linux-gnu\r\n        GC:            sgen (concurrent by default) and Included Boehm GC with typed GC and parallel mark\r\n        TLS:           __thread\r\n        SIGALTSTACK:   yes\r\n        Engine:        Building and using the JIT\r\n        BigArrays:     no\r\n        DTrace:        no\r\n        LLVM Back End: no (dynamically loaded: no)\r\n        Spectre:       no mitigation\r\n\r\n   Libraries:\r\n        .NET 4.x:        yes\r\n        Xamarin.Android: no\r\n        Xamarin.iOS:     no\r\n        Xamarin.WatchOS: no\r\n        Xamarin.TVOS:    no\r\n        Xamarin.Mac:     no\r\n        Windows AOT:     no\r\n        Orbis:           no\r\n        Unreal:          no\r\n        WebAssembly:     no\r\n        Test profiles:   AOT Full (no), AOT Hybrid (no)\r\n        JNI support:     IKVM Native\r\n        libgdiplus:      assumed to be installed\r\n        zlib:            system zlib\r\n        BTLS:            yes (x86_64)\r\n        jemalloc:        no (always use: no)\r\n\r\n\r\nNow type `make' to compile\r\n**$make EXTERNAL_MCS=/data/gpfs01/wliu/.anaconda3/bin/mcs EXTERNAL_RUNTIME=/data/gpfs01/wliu/.anaconda3/bin/mono**\r\nif test -w /data/gpfs01/wliu/ding/mono/mcs; then :; else chmod -R +w /data/gpfs01/wliu/ding/mono/mcs; fi\r\ncd /data/gpfs01/wliu/ding/mono/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14           ' CC='gcc' all-profiles\r\nMicrosoft (R) Visual C# Compiler version 2.6.0.62309 (d3f6b8e7)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nerror CS2001: Source file '/data/gpfs01/wliu/ding/mono/mcs/build/common/basic-profile-check.cs' could not be found.\r\nmake[6]: *** [build/deps/basic-profile-check.exe] Error 1\r\n*** The runtime '/data/gpfs01/wliu/.anaconda3/bin/mono' doesn't appear to be usable.\r\n*** Trying the 'monolite-linux/1051300002' directory.\r\nMicrosoft (R) Visual C# Compiler version 2.6.0.62309 (d3f6b8e7)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nmkdir -p -- ../../class/lib/basic/\r\nCSC     [basic] mscorlib.dll\r\nCSC     [basic] Mono.Security.dll\r\nCSC     [basic] System.dll\r\nCSC     [basic] System.Xml.dll\r\nCSC     [basic] System.Security.dll\r\nCSC     [basic] System.Core.dll\r\nCSC     [basic] System.ComponentModel.Composition.dll\r\nCSC     [basic] System.Numerics.dll\r\nCSC     [basic] System.Xml.Linq.dll\r\nCSC     [basic] Mono.Cecil.dll\r\nCSC     [basic] Mono.CompilerServices.SymbolWriter.dll\r\nCSC     [basic] PEAPI.dll\r\nCSC     [basic] cil-stringreplacer.exe\r\n./../jay/jay: 7 rules never reduced\r\n./../jay/jay: 14 shift/reduce conflicts.\r\nCSC     [basic] ilasm.exe\r\nAssembling '../../../class/corlib/System.Runtime.CompilerServices/Unsafe.il' , no listing file, to dll --> '../../../class/lib/basic/corlib.unsafe.dll.tmp'\r\n\r\n../../../class/corlib/System.Runtime.CompilerServices/Unsafe.il : Warning -- Reference to undeclared extern assembly 'mscorlib', adding.\r\nOperation completed successfully\r\nmake[8]: *** [all-local] Killed\r\nmake[7]: *** [do-all] Error 2\r\nmake[6]: *** [all-recursive] Error 1\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[4]: *** [profile-do--basic--all] Error 2\r\nmake[3]: *** [profiles-do--all] Error 2\r\nmake[2]: *** [all-local] Error 2\r\nmake[2]: Leaving directory `/data/gpfs01/wliu/ding/mono/runtime'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/data/gpfs01/wliu/ding/mono'\r\nmake: *** [all] Error 2\r\n```\r\n\r\n## **3.Building Mono 5.4.1.7 from a Release Package (using mono 4.8.1 from conda-forg)**\r\n\r\n```\r\n**$./configure --prefix=/data/gpfs01/wliu/.anaconda3/**\r\n        mcs source:    mcs\r\n        C# Compiler:   roslyn\r\n\r\n   Engine:\r\n        Host:          x86_64-unknown-linux-gnu\r\n        Target:        x86_64-unknown-linux-gnu\r\n        GC:            sgen (concurrent by default) and Included Boehm GC with typed GC and parallel mark\r\n        TLS:           __thread\r\n        SIGALTSTACK:   yes\r\n        Engine:        Building and using the JIT\r\n        BigArrays:     no\r\n        DTrace:        no\r\n        LLVM Back End: no (dynamically loaded: no)\r\n        Interpreter:   no\r\n\r\n   Libraries:\r\n        .NET 4.x:        yes\r\n        Xamarin.Android: no\r\n        Xamarin.iOS:     no\r\n        Xamarin.WatchOS: no\r\n        Xamarin.TVOS:    no\r\n        Xamarin.Mac:     no\r\n        Windows AOT:     no\r\n        Orbis:           no\r\n        Test profiles:   AOT Full (no), AOT Hybrid (no)\r\n        JNI support:     IKVM Native\r\n        libgdiplus:      assumed to be installed\r\n        zlib:            system zlib\r\n        BTLS:            yes (x86_64)\r\n**$ make EXTERNAL_MCS=/data/gpfs01/wliu/.anaconda3/bin/mcs EXTERNAL_RUNTIME=/data/gpfs01/wliu/.anaconda3/bin/mono**\r\nif test -w /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs; then :; else chmod -R +w /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs; fi\r\ncd /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14         ' CC='gcc' all-profiles\r\nmkdir -p -- build/deps\r\nMicrosoft (R) Visual C# Compiler version 2.3.1.61919 (57c81319)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nerror CS2001: Source file '/data/gpfs01/wliu/ding/mono-5.4.1.7/mcs/build/common/basic-profile-check.cs' could not be found.\r\nmake[6]: *** [build/deps/basic-profile-check.exe] Error 1\r\n***** The runtime '/data/gpfs01/wliu/.anaconda3/bin/mono' doesn't appear to be usable.**\r\n*** Trying the 'monolite-linux/1050400003' directory.\r\nMicrosoft (R) Visual C# Compiler version 2.3.1.61919 (57c81319)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nCreating .dep_dirs-basic...\r\nCreating .dep_dirs-basic...\r\nmkdir -p -- ../../class/lib/basic/\r\nCSC     [basic] mscorlib.dll\r\nmkdir -p -- ../../class/lib/basic/bare/\r\nCSC     [bare/basic] System.dll\r\nSystem.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection'\r\nSystem.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection'\r\nSystem.Net/EndPointManager.cs(87,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'\r\nSystem.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'\r\nSystem.Net/WebConnection.cs(84,17): warning CS0649: Field 'WebConnection.tlsStream' is never assigned to, and will always have its default value null\r\nMono.Net.Security/MonoTlsStream.cs(70,22): warning CS0649: Field 'MonoTlsStream.status' is never assigned to, and will always have its default value\r\nSystem.Net/WebConnection.cs(67,8): warning CS0414: The field 'WebConnection.reused' is assigned but its value is never used\r\nCSC     [basic] Mono.Security.dll\r\nCSC     [bare/basic] System.Xml.dll\r\n/bin/sh: line 1:  2772 Killed                  MONO_PATH=\"./../../class/lib/monolite-linux/1050400003:./../../class/lib/monolite-linux/1050400003/Facades:$MONO_PATH\" /data/gpfs01/wliu/ding/mono-5.4.1.7/runtime/mono-wrapper /data/gpfs01/wliu/ding/mono-5.4.1.7/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.2.3.1/tools/csc.exe /codepage:65001 /nologo /noconfig -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -d:BOOTSTRAP_BASIC -nowarn:1699 -nostdlib -r:./../../class/lib/basic/mscorlib.dll -optimize -nowarn:219,414,649,1717 -unsafe -d:ASYNC -r:./../../class/lib/basic/bare/System.dll -target:library -out:../../class/lib/basic/bare/System.Xml.dll @./../../build/deps/_basic__System.Xml.dll.response\r\nmake[10]: *** [../../class/lib/basic/bare/System.Xml.dll] Error 137\r\nmake[9]: *** [../../class/lib/basic/bare/System.Xml.dll] Error 2\r\nmake[8]: *** [../../class/lib/basic/bare/System.Xml.dll] Error 2\r\nmake[7]: *** [do-all] Error 2\r\nmake[6]: *** [all-recursive] Error 1\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[4]: *** [profile-do--basic--all] Error 2\r\nmake[3]: *** [profiles-do--all] Error 2\r\nmake[2]: *** [all-local] Error 2\r\nmake[2]: Leaving directory `/data/gpfs01/wliu/ding/mono-5.4.1.7/runtime'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/data/gpfs01/wliu/ding/mono-5.4.1.7'\r\nmake: *** [all] Error 2\r\n```\r\n\r\nmaybe I skipped too much version, trying build Mono 4.8.1 up on:\r\n## **3.Building Mono 4.8.1 from a Release Package (using mono 4.8.1 from conda-forg)**\r\n\r\n```\r\n**$./configure --prefix=/data/gpfs01/wliu/.anaconda3/**\r\n        mcs source:    mcs\r\n\r\n   Engine:\r\n        Host:          x86_64-unknown-linux-gnu\r\n        Target:        x86_64-unknown-linux-gnu\r\n        GC:            sgen and Included Boehm GC with typed GC and parallel mark\r\n        TLS:           __thread\r\n        SIGALTSTACK:   yes\r\n        Engine:        Building and using the JIT\r\n        BigArrays:     no\r\n        DTrace:        no\r\n        LLVM Back End: no (dynamically loaded: no)\r\n\r\n   Libraries:\r\n        .NET 4.x:        yes\r\n        Xamarin.Android: no\r\n        Xamarin.iOS:     no\r\n        Xamarin.WatchOS: no\r\n        Xamarin.TVOS:    no\r\n        Xamarin.Mac:     no\r\n        mobile_static:   no\r\n        JNI support:     IKVM Native\r\n        libgdiplus:      assumed to be installed\r\n        zlib:            system zlib\r\n        BTLS:            yes (x86_64)\r\n**$ make EXTERNAL_MCS=/data/gpfs01/wliu/.anaconda3/bin/mcs EXTERNAL_RUNTIME=/data/gpfs01/wliu/.anaconda3/bin/mono**\r\nif test -w /data/gpfs01/wliu/ding/mono-4.8.1/mcs; then :; else chmod -R +w /data/gpfs01/wliu/ding/mono-4.8.1/mcs; fi\r\ncd /data/gpfs01/wliu/ding/mono-4.8.1/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14      ' CC='gcc' all-profiles\r\nmkdir -p -- build/deps\r\nBootstrap compiler: Mono C# compiler version 4.8.1.0\r\n./../jay/jay: 8 shift/reduce conflicts.\r\nmkdir -p -- ../class/lib/basic/\r\nMCS     [basic] basic.exe\r\nMCS     [basic] mscorlib.dll\r\nwarning CS2002: Source file `System.Reflection.Emit/CustomAttributeBuilder.pns.cs' specified multiple times\r\nwarning CS2002: Source file `System.Reflection.Emit/ILGenerator.pns.cs' specified multiple times\r\nwarning CS2002: Source file `System.Reflection.Emit/ParameterBuilder.pns.cs' specified multiple times\r\nwarning CS2002: Source file `System.Reflection.Emit/SignatureHelper.pns.cs' specified multiple times\r\nSystem.Security.AccessControl/ObjectSecurity_T.cs(169,18): warning CS0108: `System.Security.AccessControl.ObjectSecurity<T>.Persist(System.Runtime.InteropServices.SafeHandle)' hides inherited member `System.Security.AccessControl.NativeObjectSecurity.Persist(System.Runtime.InteropServices.SafeHandle)'. Use the new keyword if hiding was intended\r\nSystem.Security.AccessControl/NativeObjectSecurity.cs(133,17): (Location of the symbol related to previous warning)\r\nSystem/TimeZoneInfo.cs(108,34): warning CS0168: The variable `e' is declared but never used\r\nSystem/TimeZoneInfo.cs(111,41): warning CS0168: The variable `e' is declared but never used\r\nSystem.Diagnostics/StackTrace.cs(201,9): warning CS0168: The variable `printOffset' is declared but never used\r\nSystem.Diagnostics.Tracing/EventSource.cs(154,15): warning CS3006: Overloaded method `System.Diagnostics.Tracing.EventSource.Write<T>(string, ref System.Diagnostics.Tracing.EventSourceOptions, ref T)' differing only in ref or out, or in array rank, is not CLS-compliant\r\nSystem.Diagnostics.Tracing/EventSource.cs(150,15): (Location of the symbol related to previous warning)\r\nSystem.Security/PermissionSet.cs(230,13): warning CS0219: The variable `current' is assigned but its value is never used\r\nSystem.Security/PermissionSet.cs(231,14): warning CS0219: The variable `domain' is assigned but its value is never used\r\nReferenceSources/RuntimeType.cs(143,9): warning CS0219: The variable `bNeedSecurityCheck' is assigned but its value is never used\r\nReferenceSources/RuntimeType.cs(144,9): warning CS0219: The variable `bCanBeCached' is assigned but its value is never used\r\nReferenceSources/RuntimeType.cs(145,9): warning CS0219: The variable `bSecurityCheckOff' is assigned but its value is never used\r\n../referencesource/mscorlib/system/rttype.cs(4172,17): warning CS0162: Unreachable code detected\r\n../referencesource/mscorlib/system/rttype.cs(4623,28): warning CS0219: The variable `isByRef' is assigned but its value is never used\r\n../referencesource/mscorlib/system/rttype.cs(4626,25): warning CS0219: The variable `lcid' is assigned but its value is never used\r\n../referencesource/mscorlib/system/rttype.cs(4663,18): warning CS0219: The variable `bDefaultBinder' is assigned but its value is never used\r\n../referencesource/mscorlib/system/globalization/compareinfo.cs(1146,20): warning CS0219: The variable `keyData' is assigned but its value is never used\r\n../referencesource/mscorlib/system/convert.cs(2448,19): warning CS0219: The variable `actualResultLength' is assigned but its value is never used\r\n../referencesource/mscorlib/system/enum.cs(559,19): warning CS0429: Unreachable expression code detected\r\n../referencesource/mscorlib/system/enum.cs(561,17): warning CS0162: Unreachable code detected\r\n../referencesource/mscorlib/system/throwhelper.cs(91,17): warning CS0162: Unreachable code detected\r\n../referencesource/mscorlib/system/type.cs(1539,17): warning CS0162: Unreachable code detected\r\n/bin/sh: line 1:  5232 Killed                  /data/gpfs01/wliu/.anaconda3/bin/mcs /codepage:65001 -unsafe -nostdlib -nowarn:612,618,1635 -d:INSIDE_CORLIB,MONO_CULTURE_DATA -d:LIBC -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT -d:FEATURE_MACL -d:FEATURE_REMOTING,MONO_COM,FEATURE_COMINTEROP,FEATURE_ROLE_BASED_SECURITY -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS -d:NET_4_0 -d:NET_4_5 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -lib:./../../class/lib/basic -optimize /noconfig -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT -d:FEATURE_MACL -d:FEATURE_REMOTING,MONO_COM,FEATURE_COMINTEROP,FEATURE_ROLE_BASED_SECURITY -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS -resource:resources/charinfo.nlp -resource:resources/collation.core.bin -resource:resources/collation.tailoring.bin -resource:resources/collation.cjkCHS.bin -resource:resources/collation.cjkCHT.bin -resource:resources/collation.cjkJA.bin -resource:resources/collation.cjkKO.bin -resource:resources/collation.cjkKOlv2.bin --runtime:v4 -target:library -out:../../class/lib/basic/mscorlib.dll @corlib.dll.sources\r\nmake[8]: *** [../../class/lib/basic/mscorlib.dll] Error 137\r\nmake[7]: *** [do-all] Error 2\r\nmake[6]: *** [all-recursive] Error 1\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[4]: *** [profile-do--basic--all] Error 2\r\nmake[3]: *** [profiles-do--all] Error 2\r\nmake[2]: *** [all-local] Error 2\r\nmake[2]: Leaving directory `/data/gpfs01/wliu/ding/mono-4.8.1/runtime'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/data/gpfs01/wliu/ding/mono-4.8.1'\r\nmake: *** [all] Error 2\r\n```\r\n\r\nnot work too~~~\r\n\r\n## **4. Trying Mono 5.4.1.7 from a Release Package (make get-monolite-latest)**\r\n\r\n```\r\nif test -w /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs; then :; else chmod -R +w /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs; fi\r\ncd /data/gpfs01/wliu/ding/mono-5.4.1.7/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14         ' CC='gcc' all-profiles\r\nmake[6]: *** [build/deps/basic-profile-check.exe] Killed\r\n*** The runtime 'mono' doesn't appear to be usable.\r\n*** Trying the 'monolite-linux/1050400003' directory.\r\nMicrosoft (R) Visual C# Compiler version 2.3.1.61919 (57c81319)\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nCreating .dep_dirs-basic...\r\nCreating .dep_dirs-basic...\r\nmkdir -p -- ../../class/lib/basic/\r\nCSC     [basic] mscorlib.dll\r\nmkdir -p -- ../../class/lib/basic/bare/\r\nCSC     [bare/basic] System.dll\r\nSystem.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection'\r\nSystem.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/EndPointManager.cs(87,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'\r\nSystem.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection'\r\nSystem.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'\r\nSystem.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'\r\nSystem.Net/WebConnection.cs(84,17): warning CS0649: Field 'WebConnection.tlsStream' is never assigned to, and will always have its default value null\r\nMono.Net.Security/MonoTlsStream.cs(70,22): warning CS0649: Field 'MonoTlsStream.status' is never assigned to, and will always have its default value\r\nSystem.Net/WebConnection.cs(67,8): warning CS0414: The field 'WebConnection.reused' is assigned but its value is never used\r\nCSC     [basic] Mono.Security.dll\r\nCSC     [bare/basic] System.Xml.dll\r\nmkdir -p -- ../../class/lib/basic/secxml/\r\nCSC     [secxml/basic] System.dll\r\n/bin/sh: line 1: 22767 Killed                  MONO_PATH=\"./../../class/lib/monolite-linux/1050400003:./../../class/lib/monolite-linux/1050400003/Facades:$MONO_PATH\" /data/gpfs01/wliu/ding/mono-5.4.1.7/runtime/mono-wrapper /data/gpfs01/wliu/ding/mono-5.4.1.7/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.2.3.1/tools/csc.exe /codepage:65001 /nologo /noconfig -d:NET_4_0 -d:NET_4_5 -d:MONO -d:WIN_PLATFORM -d:BOOTSTRAP_BASIC -nowarn:1699 -nostdlib -r:./../../class/lib/basic/mscorlib.dll -optimize -d:CONFIGURATION_2_0 -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX -d:MONO_FEATURE_PROCESS_START -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS -unsafe -resource:resources/Asterisk.wav -resource:resources/Beep.wav -resource:resources/Exclamation.wav -resource:resources/Hand.wav -resource:resources/Question.wav -nowarn:436 -d:CODEDOM -d:MONO_FEATURE_BTLS -d:SECURITY_DEP -d:XML_DEP -d:MONO_SECURITY_ALIAS -r:./../../class/lib/basic/bare/System.Xml.dll -r:MonoSecurity=./../../class/lib/basic/Mono.Security.dll -target:library -out:../../class/lib/basic/secxml/System.dll @./../../build/deps/_basic__System.dll.response\r\nmake[9]: *** [../../class/lib/basic/secxml/System.dll] Error 137\r\nmake[8]: *** [../../class/lib/basic/secxml/System.dll] Error 2\r\nmake[7]: *** [do-all] Error 2\r\nmake[6]: *** [all-recursive] Error 1\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[4]: *** [profile-do--basic--all] Error 2\r\nmake[3]: *** [profiles-do--all] Error 2\r\nmake[2]: *** [all-local] Error 2\r\nmake[2]: Leaving directory `/data/gpfs01/wliu/ding/mono-5.4.1.7/runtime'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/data/gpfs01/wliu/ding/mono-5.4.1.7'\r\nmake: *** [all] Error 2\r\n```\r\n\r\nI've googled about it, but there is no useful information.\r\nThanks\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/mono/mono/issues/comments/369077544","html_url":"https://github.com/mono/mono/issues/7271#issuecomment-369077544","issue_url":"https://api.github.com/repos/mono/mono/issues/7271","id":369077544,"user":{"login":"jaykrell","id":1635728,"avatar_url":"https://avatars1.githubusercontent.com/u/1635728?v=4","gravatar_id":"","url":"https://api.github.com/users/jaykrell","html_url":"https://github.com/jaykrell","followers_url":"https://api.github.com/users/jaykrell/followers","following_url":"https://api.github.com/users/jaykrell/following{/other_user}","gists_url":"https://api.github.com/users/jaykrell/gists{/gist_id}","starred_url":"https://api.github.com/users/jaykrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaykrell/subscriptions","organizations_url":"https://api.github.com/users/jaykrell/orgs","repos_url":"https://api.github.com/users/jaykrell/repos","events_url":"https://api.github.com/users/jaykrell/events{/privacy}","received_events_url":"https://api.github.com/users/jaykrell/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T00:32:13Z","updated_at":"2018-02-28T00:32:13Z","author_association":"MEMBER","body":"It does eventually work if you keep trying.\r\nmake || make || make || make || make || make || make || make || make\r\nmake\r\nand such; I raised some ulimits but not sure that mattered; still need to try mcs, and see if we can figure out why killed. Also should see if there is any \"embedded make -j\" and remove them if so."}}
{"actor":{"display_login":"jaykrell"}}