https://bugzilla.novell.com/show_bug.cgi?id=388425
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=388425#c18 --- Comment #18 from Raja Harinath <[EMAIL PROTECTED]> 2008-07-31 14:00:35 MDT --- (In reply to comment #14 from Marek Habersack) > After applying the current version of the patch and explicitly > unsetting the MONO_PATH variable in the mono-wrapper script I no > longer get the double free error, but the bootstrap still fails with: This is a no-go. The MONO_PATH is essential for the build. > make[1]: Entering directory `/usr/src/tmp/mono/mcs/class/System' > MONO_PATH="../../class/lib/net_2_1_bootstrap:$MONO_PATH" > /usr/src/tmp/mono/mono/runtime/mono-wrapper --security=temporary-smcs-hack > ../../class/lib/net_2_1_bootstrap/smcs.exe /codepage:65001 -optimize > -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -debug /noconfig -nowarn:618 > -d:CONFIGURATION_2_0 -unsafe -target:library -out:System.dll > @System.dll.sources > System.ComponentModel/ComponentCollection.cs(69,43): warning CS0114: > `System.ComponentModel.ComponentCollection.this[int]' hides inherited member > `System.Collections.Generic.List<System.ComponentModel.IComponent>.this[int]'. > To make the current member override that implementation, add the override > keyword. Otherwise add the new keyword > /home/devel/lib/mono/2.0/mscorlib.dll (Location of the symbol related to > previous warning) And so, it appears to be picking up the 2.0 mscorlib.dll from the install tree. We can't have that. We need to pick up mscorlib.dll from the build tree, and MONO_PATH is how we do it. Since net_2_1_bootstrap/smcs.exe is emitted by gmcs, which in turn uses SRE, we can't control the version numbers of its assemblyrefs. We use MONO_PATH to force the runtime to pick up the 2.1 versioned corlib from the bootstrap tree. (That is why we have a 2 stage bootstrap for the 2.0 profile, and the first 2 of the 3 stages in the 2.1 bootstrap.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
