[Mono-devel-list] Building mono1.1.4 on linux ppc

Jeffrey Knight jeffrey.knight at gmail.com
Sun Feb 27 22:29:53 EST 2005


I've been trying unsuccessfully to build mono1.1.4 from the tarball on
linuxppc (gentoo).

With a straighforward ./configure --with-prefix=/usr/local, the make
fails with complaints about GC_local_Malloc. Lupus helped me through
this one, letting me know that I needed --with-tls=pthread.
(He said he'd update the README; I'll test adding ppc-*-linux* to
libgc/configure:3686 once I get it to build)

That gets me a little further, but it still fails further down the
line (see below).
The problem isn't with VisualBasic -- if I exclude that, it throws the
same  Unmanaged Exception in System.Design.

Has anyone been able to build mono1.1.4 on linuxppc ?

Jeff

MONO_PATH="../../class/lib/default:$MONO_PATH"
/root/mono-1.1.4/runtime/mono-wrapper ../../class/lib/default/mcs.exe 
 -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig /r:mscorlib.dll /r:System.dll
/r:System.Windows.Forms.dll @Microsoft.VisualBasic.dll.resources
-codepage:65001 /target:library
/out:../../class/lib/default/Microsoft.VisualBasic.dll 
@Microsoft.VisualBasic.dll.sources
Microsoft.VisualBasic/FileSystem.cs(900) warning CS0219: The variable
'retVal' is assigned but its value is never used

Unhandled Exception: System.ExecutionEngineException: SIGILL
in (unmanaged) (wrapper managed-to-native)
System.MonoCustomAttrs:GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,bool)
in <0x00088> (wrapper managed-to-native)
System.MonoCustomAttrs:GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,bool)
in <0x00020> System.MonoCustomAttrs:GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider)
in <0x000a4> System.MonoCustomAttrs:GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
in <0x00038> System.MonoCustomAttrs:GetCustomAttribute
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
in <0x00030> System.Attribute:GetCustomAttribute
(System.Reflection.MemberInfo,System.Type,bool)
in <0x000b4> Mono.CSharp.AttributeTester:GetMemberObsoleteAttribute
(System.Reflection.MemberInfo)
in <0x00130> Mono.CSharp.AttributeTester:GetMethodObsoleteAttribute
(System.Reflection.MethodBase)
in <0x00214> Mono.CSharp.Invocation:EmitCall
(Mono.CSharp.EmitContext,bool,bool,Mono.CSharp.Expression,System.Reflection.MethodBase,System.Collections.ArrayList,Mono.CSharp.Location,bool,bool)
in <0x00050> Mono.CSharp.Invocation:EmitCall
(Mono.CSharp.EmitContext,bool,bool,Mono.CSharp.Expression,System.Reflection.MethodBase,System.Collections.ArrayList,Mono.CSharp.Location)
in <0x00200> Mono.CSharp.PropertyExpr:EmitAssign
(Mono.CSharp.EmitContext,Mono.CSharp.Expression,bool,bool)
in <0x00258> Mono.CSharp.Assign:Emit (Mono.CSharp.EmitContext,bool)
in <0x0002c> Mono.CSharp.Assign:EmitStatement (Mono.CSharp.EmitContext)
in <0x00034> Mono.CSharp.StatementExpression:DoEmit (Mono.CSharp.EmitContext)
in <0x00050> Mono.CSharp.Statement:Emit (Mono.CSharp.EmitContext)
in <0x0012c> Mono.CSharp.Block:DoEmit (Mono.CSharp.EmitContext)
in <0x003b0> Mono.CSharp.Block:Emit (Mono.CSharp.EmitContext)
in <0x0012c> Mono.CSharp.Block:DoEmit (Mono.CSharp.EmitContext)
in <0x003b0> Mono.CSharp.Block:Emit (Mono.CSharp.EmitContext)
in <0x00044> Mono.CSharp.EmitContext:EmitResolvedTopBlock
(Mono.CSharp.ToplevelBlock,bool)
in <0x000ac> Mono.CSharp.EmitContext:EmitTopBlock
(Mono.CSharp.ToplevelBlock,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
in <0x004f0> Mono.CSharp.MethodData:Emit
(Mono.CSharp.TypeContainer,Mono.CSharp.Attributable)
in <0x00050> Mono.CSharp.Method:Emit ()
in <0x006e4> Mono.CSharp.TypeContainer:EmitType ()
in <0x005c0> Mono.CSharp.RootContext:EmitCode ()
in <0x00ea4> Mono.CSharp.Driver:MainDriver (string[])
in <0x00024> Mono.CSharp.Driver:Main (string[])

make[8]: *** [../../class/lib/default/Microsoft.VisualBasic.dll] Error 1



More information about the Mono-devel-list mailing list