Re: Building linker
Alexander Köplinger via Mono-devel-list <[email protected]> Tue, 30 Jan 2018 01:54:05 +0000
| Newsgroups | gmane.comp.gnome.mono.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============7269349204146307363== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_F2D577C997A641539980E61B4E7DE130microsoftcom_" --_000_F2D577C997A641539980E61B4E7DE130microsoftcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 <[email protected]<mailto:neale= @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.Expec= tations.dll Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCase= Attribute.cs Assertions/KeptAssemblyAttribute.cs Assertions/KeptAttribute.c= s Assertions/BaseExpectedLinkedBehaviorAttribute.cs Assertions/KeptBackingF= ieldAttribute.cs Assertions/KeptDelegateCacheFieldAttribute.cs Assertions/K= eptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethodAttribute.cs = Assertions/KeptMemberAttribute.cs Assertions/KeptMemberInAssemblyAttribute.= cs Assertions/KeptResourceAttribute.cs Assertions/KeptResourceInAssemblyAtt= ribute.cs Assertions/KeptSecurityAttribute.cs Assertions/KeptTypeInAssembly= Attribute.cs Assertions/RemovedAssemblyAttribute.cs Assertions/RemovedMembe= rInAssemblyAttribute.cs Assertions/RemovedResourceInAssemblyAttribute.cs As= sertions/RemovedTypeInAssemblyAttribute.cs Assertions/SkipPeVerifyAttribute= .cs Metadata/BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.c= s Metadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgume= ntAttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttri= bute.cs Metadata/IncludeBlacklistStepAttribute.cs Metadata/Il8nAttribute.cs= Metadata/KeepTypeForwarderOnlyAssembliesAttribute.cs Metadata/NotATestCase= Attribute.cs Metadata/ReferenceAttribute.cs Metadata/SandboxDependencyAttri= bute.cs Assertions/KeptBaseTypeAttribute.cs Assertions/KeptInterfaceAttribu= te.cs Assertions/KeptAttributeAttribute.cs Assertions/RemovedForwarderAttri= bute.cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgument= Attribute.cs Metadata/SetupLinkerCoreActionAttribute.cs Metadata/SetupCompi= leResourceAttribute.cs Metadata/SetupLinkerLinkSymbolsAttribute.cs obj/Debu= g/.NETFramework,Version=3Dv4.0.AssemblyAttribute.cs /target:library /define= :"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5= c561934e089/System.dll /reference:/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.= 0__b03f5f7f11d50a3a/Microsoft.CSharp.dll /reference:/usr/lib/mono/gac/Syste= m.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/g= ac/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 im= ported 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 imp= orted CSC: error CS0518: The predefined type `System.UInt32' is not defined or im= ported : : I am building using mono 4.6.2 on Ubuntu. Neale _______________________________________________ Mono-devel-list mailing list [email protected]<mailto:[email protected]> https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Flists.dot= .net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=3D02%7C01%7Calkpli%40micro= soft.com%7C8067cceeda054f61615f08d5675cbbdf%7Cee3303d7fb734b0c8589bcd847f1c= 277%7C1%7C0%7C636528570381012916&sdata=3DyAsPakCUgSliKnBfJLgpL%2F0EKAxjdOtX= 05iKRxdbgNs%3D&reserved=3D0 --_000_F2D577C997A641539980E61B4E7DE130microsoftcom_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space;" class=3D""> <div dir=3D"auto" style=3D"word-wrap:break-word" class=3D"">Could you pleas= e try with a more recent Mono, e.g. 5.4.1 ? <div class=3D"">We build it in CI and it's green there.</div> <div class=3D""><br class=3D""> </div> <div class=3D"">- Alex</div> <div class=3D""><br class=3D""> <div> <blockquote type=3D"cite" class=3D""> <div class=3D"">On 29 Jan 2018, at 22:10, Neale Ferguson <<a href=3D"mai= lto:[email protected]" class=3D"">[email protected]</a>> wrote:</d= iv> <br class=3D"Apple-interchange-newline"> <div class=3D""> <div class=3D"" style=3D"word-wrap:break-word; font-size:14px; font-family:= Calibri,sans-serif"> <div class=3D"">Hi,</div> <div class=3D""> I am trying to build the linker from master and after= installing the NUnit dependencies and cloning cecil into the cecil subdire= ctory (I assume that was required), a make in mono build results in:</div> <div class=3D""><br class=3D""> </div> <div class=3D""> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(49,185,198); background-color:rgb(255,25= 4,229)"> <span class=3D"" style=3D""><span class=3D"Apple-tab-span" style=3D"white-s= pace:pre"></span>Target CoreCompile:</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; background-color:rgb(255,254,229)"> <span class=3D"" style=3D""><span class=3D"Apple-tab-span" style=3D"white-s= pace:pre"></span>Tool /usr/lib/mono/4.5/mcs.exe execution started with argu= ments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Mono.Lin= ker.Tests.Cases.Expectations.dll Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCaseAttribute.cs Assertions/KeptAssemblyAttribute.cs = Assertions/KeptAttribute.cs Assertions/BaseExpectedLinkedBehaviorAttribute.= cs Assertions/KeptBackingFieldAttribute.cs Assertions/KeptDelegateCacheFiel= dAttribute.cs Assertions/KeptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethodAttribute.cs Assertions/KeptMemberAttribut= e.cs Assertions/KeptMemberInAssemblyAttribute.cs Assertions/KeptResourceAtt= ribute.cs Assertions/KeptResourceInAssemblyAttribute.cs Assertions/KeptSecu= rityAttribute.cs Assertions/KeptTypeInAssemblyAttribute.cs Assertions/RemovedAssemblyAttribute.cs Assertions/RemovedMemberInAssemblyA= ttribute.cs Assertions/RemovedResourceInAssemblyAttribute.cs Assertions/Rem= ovedTypeInAssemblyAttribute.cs Assertions/SkipPeVerifyAttribute.cs Metadata= /BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.cs Metadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgumen= tAttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttrib= ute.cs Metadata/IncludeBlacklistStepAttribute.cs Metadata/Il8nAttribute.cs = Metadata/KeepTypeForwarderOnlyAssembliesAttribute.cs Metadata/NotATestCaseAttribute.cs Metadata/ReferenceAttribute.cs Metadata/= SandboxDependencyAttribute.cs Assertions/KeptBaseTypeAttribute.cs Assertion= s/KeptInterfaceAttribute.cs Assertions/KeptAttributeAttribute.cs Assertions= /RemovedForwarderAttribute.cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgumentAttribute.cs Metadata/SetupLinkerCoreActionAtt= ribute.cs Metadata/SetupCompileResourceAttribute.cs Metadata/SetupLinkerLin= kSymbolsAttribute.cs obj/Debug/.NETFramework,Version=3Dv4.0.AssemblyAttribu= te.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/Sy= stem.dll /reference:/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d= 50a3a/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.X= ml.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/S= ystem.Core.dll /warn:4</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31); background-color:rgb(255,254= ,229)"> <span class=3D"" style=3D"">CSC: error CS0518: The predefined type `System.= Object' is not defined or imported</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31); background-color:rgb(255,254= ,229)"> <span class=3D"" style=3D"">CSC: error CS0518: The predefined type `System.= ValueType' is not defined or imported</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31); background-color:rgb(255,254= ,229)"> <span class=3D"" style=3D"">CSC: error CS0518: The predefined type `System.= Attribute' is not defined or imported</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31); background-color:rgb(255,254= ,229)"> <span class=3D"" style=3D"">CSC: error CS0518: The predefined type `System.= Int32' is not defined or imported</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31); background-color:rgb(255,254= ,229)"> <span class=3D"" style=3D"">CSC: error CS0518: The predefined type `System.= UInt32' is not defined or imported</span></div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31)"> :</div> <div class=3D"" style=3D"margin:0px; font-size:18px; line-height:normal; fo= nt-family:'Courier New'; color:rgb(194,54,31)"> :</div> </div> <div class=3D""><br class=3D""> </div> <div class=3D"">I am building using mono 4.6.2 on Ubuntu. </div> <div class=3D""><br class=3D""> </div> <div class=3D"">Neale</div> <div class=3D""><br class=3D""> </div> <div class=3D""><br class=3D""> </div> </div> _______________________________________________<br class=3D""> Mono-devel-list mailing list<br class=3D""> <a href=3D"mailto:[email protected]" class=3D"">Mono-devel-list= @lists.dot.net</a><br class=3D""> <a href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%= 2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=3D02%7C01%7= Calkpli%40microsoft.com%7C8067cceeda054f61615f08d5675cbbdf%7Cee3303d7fb734b= 0c8589bcd847f1c277%7C1%7C0%7C636528570381012916&sdata=3DyAsPakCUgSliKnB= fJLgpL%2F0EKAxjdOtX05iKRxdbgNs%3D&reserved=3D0" class=3D"">https://na01= .safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Flists.dot.net%2Fmailm= an%2Flistinfo%2Fmono-devel-list&data=3D02%7C01%7Calkpli%40microsoft.com= %7C8067cceeda054f61615f08d5675cbbdf%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%= 7C0%7C636528570381012916&sdata=3DyAsPakCUgSliKnBfJLgpL%2F0EKAxjdOtX05iK= RxdbgNs%3D&reserved=3D0</a><br class=3D""> </div> </blockquote> </div> <br class=3D""> </div> </div> </body> </html> --_000_F2D577C997A641539980E61B4E7DE130microsoftcom_-- --===============7269349204146307363== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1kZXZl bC1saXN0IG1haWxpbmcgbGlzdApNb25vLWRldmVsLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8v bGlzdHMuZG90Lm5ldC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tZGV2ZWwtbGlzdAo= --===============7269349204146307363==--