[Mono-dev] Building linker

Alexander Köplinger alkpli at microsoft.com
Tue Jan 30 01:54:05 UTC 2018


Could you please try with a more recent Mono, e.g. 5.4.1 ?
We build it in CI and it's green there.

- Alex

On 29 Jan 2018, at 22:10, Neale Ferguson <neale at sinenomine.net<mailto:neale at sinenomine.net>> wrote:

Hi,
 I am trying to build the linker from master and after installing the NUnit dependencies and cloning cecil into the cecil subdirectory (I assume that was required), a make in mono build results in:

Target CoreCompile:
Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Mono.Linker.Tests.Cases.Expectations.dll Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCaseAttribute.cs Assertions/KeptAssemblyAttribute.cs Assertions/KeptAttribute.cs Assertions/BaseExpectedLinkedBehaviorAttribute.cs Assertions/KeptBackingFieldAttribute.cs Assertions/KeptDelegateCacheFieldAttribute.cs Assertions/KeptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethodAttribute.cs Assertions/KeptMemberAttribute.cs Assertions/KeptMemberInAssemblyAttribute.cs Assertions/KeptResourceAttribute.cs Assertions/KeptResourceInAssemblyAttribute.cs Assertions/KeptSecurityAttribute.cs Assertions/KeptTypeInAssemblyAttribute.cs Assertions/RemovedAssemblyAttribute.cs Assertions/RemovedMemberInAssemblyAttribute.cs Assertions/RemovedResourceInAssemblyAttribute.cs Assertions/RemovedTypeInAssemblyAttribute.cs Assertions/SkipPeVerifyAttribute.cs Metadata/BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.cs Metadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgumentAttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttribute.cs Metadata/IncludeBlacklistStepAttribute.cs Metadata/Il8nAttribute.cs Metadata/KeepTypeForwarderOnlyAssembliesAttribute.cs Metadata/NotATestCaseAttribute.cs Metadata/ReferenceAttribute.cs Metadata/SandboxDependencyAttribute.cs Assertions/KeptBaseTypeAttribute.cs Assertions/KeptInterfaceAttribute.cs Assertions/KeptAttributeAttribute.cs Assertions/RemovedForwarderAttribute.cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgumentAttribute.cs Metadata/SetupLinkerCoreActionAttribute.cs Metadata/SetupCompileResourceAttribute.cs Metadata/SetupLinkerLinkSymbolsAttribute.cs obj/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll /reference:/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
:
:

I am building using mono 4.6.2 on Ubuntu.

Neale


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.dot.net<mailto:Mono-devel-list at lists.dot.net>
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=02%7C01%7Calkpli%40microsoft.com%7C8067cceeda054f61615f08d5675cbbdf%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636528570381012916&sdata=yAsPakCUgSliKnBfJLgpL%2F0EKAxjdOtX05iKRxdbgNs%3D&reserved=0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20180130/3d114304/attachment.html>


More information about the Mono-devel-list mailing list