Re: Building linker

Alexander Köplinger via Mono-devel-list <[email protected]> Tue, 30 Jan 2018 20:39:35 +0000
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <[email protected]>
--===============8672023030927874446==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_99B44DFCB91640BE9B0390FB950BC152microsoftcom_"

--_000_99B44DFCB91640BE9B0390FB950BC152microsoftcom_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hmm, it's building with xbuild. Did you override this since according to th=
e Makefile it should use msbuild.

xbuild references /usr/lib/cli/nunit.framework-2.6.3/nunit.framework.dll in=
stead of NUnit from the nuget package when building Mono.Linker.Tests.dll, =
maybe that's the issue.

On 30 Jan 2018, at 21:14, Neale Ferguson <[email protected]<mailto:neale=
@sinenomine.net>> wrote:

https://pastebin.com/yR7MEJ4t<https://na01.safelinks.protection.outlook.com=
/?url=3Dhttps%3A%2F%2Fpastebin.com%2FyR7MEJ4t&data=3D02%7C01%7Calkpli%40mic=
rosoft.com%7C2cc77e82f22f45820f1c08d5681e1d59%7Cee3303d7fb734b0c8589bcd847f=
1c277%7C1%7C0%7C636529400910670187&sdata=3DGH9xmwUL6iEYY%2FDgn8s9Lmv4vTo4wl=
fqsS2ZXuXnTHk%3D&reserved=3D0>


Can you post a full build log? Did you modify 3.6.1 to 3.8.0 everywhere?
It looks like the test dll wasn't built.

For real world use the readme here has examples: https://github.com/mono/li=
nker/blob/master/linker/README<https://na01.safelinks.protection.outlook.co=
m/?url=3Dhttps%3A%2F%2Fgithub.com%2Fmono%2Flinker%2Fblob%2Fmaster%2Flinker%=
2FREADME&data=3D02%7C01%7Calkpli%40microsoft.com%7C2cc77e82f22f45820f1c08d5=
681e1d59%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636529400910670187&sd=
ata=3DaFLjM4QP8OXHfY7oFTHJly%2FVIUxhf%2BJ24icRRa1YrKY%3D&reserved=3D0>


--_000_99B44DFCB91640BE9B0390FB950BC152microsoftcom_
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"">
Hmm, it's building with xbuild. Did you override this since according to th=
e Makefile it should use msbuild.
<div class=3D""><br class=3D"">
</div>
<div class=3D"">xbuild references&nbsp;/usr/lib/cli/nunit.framework-2.6.3/n=
unit.framework.dll instead of NUnit from the nuget package when building Mo=
no.Linker.Tests.dll, maybe that's the issue.</div>
<div class=3D""><br class=3D"">
<div>
<blockquote type=3D"cite" class=3D"">
<div class=3D"">On 30 Jan 2018, at 21:14, Neale Ferguson &lt;<a href=3D"mai=
lto:[email protected]" class=3D"">[email protected]</a>&gt; wrote:</d=
iv>
<br class=3D"Apple-interchange-newline">
<div class=3D"">
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space; font-size: 14px; font-family: Calibri, sans-seri=
f;" class=3D"">
<div class=3D""><a href=3D"https://na01.safelinks.protection.outlook.com/?u=
rl=3Dhttps%3A%2F%2Fpastebin.com%2FyR7MEJ4t&amp;data=3D02%7C01%7Calkpli%40mi=
crosoft.com%7C2cc77e82f22f45820f1c08d5681e1d59%7Cee3303d7fb734b0c8589bcd847=
f1c277%7C1%7C0%7C636529400910670187&amp;sdata=3DGH9xmwUL6iEYY%2FDgn8s9Lmv4v=
To4wlfqsS2ZXuXnTHk%3D&amp;reserved=3D0" class=3D"">https://pastebin.com/yR7=
MEJ4t</a></div>
<div class=3D""><br class=3D"">
</div>
<span id=3D"OLK_SRC_BODY_SECTION" class=3D"">
<div style=3D"font-family: Calibri; font-size: 11pt; text-align: left; bord=
er-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0i=
n 0in; border-top-color: rgb(181, 196, 223);" class=3D"">
<br class=3D"">
</div>
<div class=3D"">
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space;" class=3D"">
Can you post a full build log? Did you modify 3.6.1 to 3.8.0 everywhere?
<div class=3D"">It looks like the test dll wasn't built.</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">For real world use the readme here has examples:&nbsp;<a hr=
ef=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi=
thub.com%2Fmono%2Flinker%2Fblob%2Fmaster%2Flinker%2FREADME&amp;data=3D02%7C=
01%7Calkpli%40microsoft.com%7C2cc77e82f22f45820f1c08d5681e1d59%7Cee3303d7fb=
734b0c8589bcd847f1c277%7C1%7C0%7C636529400910670187&amp;sdata=3DaFLjM4QP8OX=
HfY7oFTHJly%2FVIUxhf%2BJ24icRRa1YrKY%3D&amp;reserved=3D0" class=3D"">https:=
//github.com/mono/linker/blob/master/linker/README</a></div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br class=3D"">
</div>
</body>
</html>

--_000_99B44DFCB91640BE9B0390FB950BC152microsoftcom_--

--===============8672023030927874446==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1kZXZl
bC1saXN0IG1haWxpbmcgbGlzdApNb25vLWRldmVsLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8v
bGlzdHMuZG90Lm5ldC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tZGV2ZWwtbGlzdAo=

--===============8672023030927874446==--