[Mono-dev] Build problems

Neale Ferguson neale at sinenomine.net
Wed Feb 18 16:48:10 UTC 2015


Over the last couple of days I’ve had problems building from head on
s390x. 

(1) When I use 3.6.1 I get:

MCS     [basic] mscorlib.dll
warning CS2002: Source file
`../../../external/referencesource/mscorlib/system/globalization/bidicatego
ry.cs' specified multiple times
warning CS2002: Source file
`../../../external/referencesource/mscorlib/system/globalization/charunicod
einfo.cs' specified multiple times
warning CS2002: Source file
`../../../external/referencesource/mscorlib/system/globalization/globalizat
ionassembly.cs' specified multiple times
../../../external/referencesource/mscorlib/system/collections/compatiblecom
parer.cs(23,25): warning CS1635: Cannot restore warning `CS0618' because
it was disabled globally
../../../external/referencesource/mscorlib/system/collections/compatiblecom
parer.cs(67,25): warning CS1635: Cannot restore warning `CS0618' because
it was disabled globally
../../../external/referencesource/mscorlib/system/collections/hashtable.cs(
1206,25): warning CS1635: Cannot restore warning `CS0618' because it was
disabled globally
../../../external/referencesource/mscorlib/system/collections/hashtable.cs(
1244,25): warning CS1635: Cannot restore warning `CS0618' because it was
disabled globally
../../../external/referencesource/mscorlib/system/collections/hashtable.cs(
1270,25): warning CS1635: Cannot restore warning `CS0618' because it was
disabled globally
../../../external/referencesource/mscorlib/system/threading/Tasks/TaskSched
uler.cs(50,25): warning CS1635: Cannot restore warning `CS0618' because it
was disabled globally
System/TimeZoneInfo.cs(1414,30): warning CS0219: The variable
`ambiguousStartModified' is assigned but its value is never used
System/TimeZoneInfo.cs(1415,30): warning CS0219: The variable
`ambiguousEndModified' is assigned but its value is never used
../../../external/referencesource/mscorlib/system/text/asciiencoding.cs(502
,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/text/asciiencoding.cs(683
,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/text/unicodeencoding.cs(4
93,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/text/unicodeencoding.cs(4
93,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/text/unicodeencoding.cs(7
77,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/text/unicodeencoding.cs(7
77,21): error CS0165: Use of unassigned local variable `ch'
../../../external/referencesource/mscorlib/system/threading/Tasks/Parallel.
cs(125,21): warning CS0472: The result of comparing value type
`System.Threading.CancellationToken' with null is always `false'
../../../external/referencesource/mscorlib/system/threading/Tasks/Parallel.
cs(126,21): warning CS0162: Unreachable code detected
Compilation failed: 6 error(s), 10 warnings


The code looks correct in those files, it appears to be a compiler error.
I tried initializing the variable ch but that results in a different
problem.

(2) When I use monolite-latest things go bizarre and appear endian-related:

/home/neale/Mono/mono/mcs/class/lib/monolite/basic.exe:
/home/neale/Mono/mono/mcs/class/lib/monolite/basic.exe: cannot execute
binary file
make[6]: *** [build/deps/basic-profile-check.exe] Error 126
*** The compiler '/home/neale/Mono/mono/mcs/class/lib/monolite/basic.exe'
doesn't appear to be usable.
*** Trying the 'monolite' directory.
.............miudlc/moom/nabis-crpfoli-ehcce.ksc1(0,:)e rrroC 1S25:5U
enpxceet dysbmlo` suinSy'
'''''''''''''miudlc/moom/nabis-crpfoli-ehcce.ksc2(,535:)e rrroC 1S10:0N
weileni  nocsnattn
nnnnnnnnnnnnnmiudlc/moom/nabis-crpfoli-ehcce.ksc2(,632:)e rrroC 1S10:0N
weileni  nocsnattn
nnnnnnnnnnnnnmiudlc/moom/nabis-crpfoli-ehcce.ksc3(,9)4 :reor rSC5098
:nIetnrlac moipel rreor rudirgnp raisgnyStsmeF.roamEtcxpeitno :nUnkwo
nhcra 
a  tyStsmeD.uolb.eaPsr eS(syet.mtSirgns  ,uNbmretSlyses ytel
,FIroamPtorived rrpvodire )0[0x0000 ]ni< ifelanemu knonnw:> 0
a  toMonC.hSra.poTekinez.rdaujtsr_ae lT(pyCedo e,tL cotaoi nol)c[
x00000]0i  nf<linema enunkwo>n0:
   taM no.oSCahprT.konezirei._sunbmre( nI3t 2,cB ooelnad toeLda )0[0x0000
]ni< ifelanemu knonnw:> 0
a  toMonC.hSra.poTekinez.rtxkone(  )0[0x0000 ]ni< ifelanemu knonnw:> 0
a  toMonC.hSra.poTekinez.rotek n)([ x00000]0i  nf<linema enunkwo>n0:
   taM no.oSCahprC.hSraPpraes.ryyapsr ey(Iypntuy Lyxe )0[0x0000 ]ni<
ifelanemu knonnw:> 0
a  toMonC.hSra.pSCahpraPsrrep.raes(  )0[0x0000 ]ni< ifelanemu knonnw:> 0
Copmlitaoi naflide : 4reor(r)s , 0awnrings

Neale



More information about the Mono-devel-list mailing list