[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-devel-list
Subject: [Mono-devel-list] mono-1.0, Solaris/x86, success(partly)
From: Guenter Feldmann <fld () informatik ! uni-bremen ! de>
Date: 2004-07-24 17:52:06
Message-ID: 200407241952.06442.fld () informatik ! uni-bremen ! de
[Download RAW message or body]
Hi Mono Developers
with the appended small patches mono-1.0 compiled and installed
flawlessly on my Solaris10/x86 box. The exception handling seems
to be stable now. The only failures in 'make rcheck' are because unix
does not distinguish between division by zero and arithmetic exception.
I get arithmetic exception in both cases.
That's the good news. The bad one: compiling mcs-1.0 aborts
as follows:
->configure --prefix=/usr/local/MONO/1.0
...
->gmake
...
gmake[2]: Entering directory `/home/src/mono/mcs/class/System.XML'
../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay
> System.Xml.XPath/Parser.cs
MONO_PATH="../../class/lib/default:$MONO_PATH" mono ../../mcs/mcs.exe
-d:NET_1_1 -d:ONLY_1_1
-g /noconfig /lib:/usr/local/MONO/1.0/lib /noconfig /unsafe /r:mscorlib.dll \
/r:System.dll /target:library /out:../../class/lib/default/System.Xml.dll \
@System.Xml.dll.sources Mono.Xml.Schema/XsdKeyTable.cs(112) warning CS0162: \
Unreachable code detected System.Xml/XmlInputStream.cs(214) warning CS0162: \
Unreachable code detected System.Xml.Xsl/Multiplexer.cs(267) warning CS0618:
'System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.XPathNavigator,
System.Xml.XmlResolver)' is obsolete: 'You should pass evidence.'
System.Xml.Xsl/Multiplexer.cs(275) warning CS0618:
'System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.XPathNavigator,
System.Xml.XmlResolver)' is obsolete: 'You should pass evidence.'
System.Xml.Schema/BuiltInDatatype.cs(806) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdNonNegativeInteger'
because it is private or internal
System.Xml.Schema/BuiltInDatatype.cs(814) warning CS3019: CLS compliance
checking will not be performed on
'Mono.Xml.Schema.XsdNonNegativeInteger.ParseValue(string,
System.Xml.XmlNameTable, System.Xml.XmlNamespaceManager)' because it is
private or internal
System.Xml.Schema/BuiltInDatatype.cs(827) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdUnsignedLong' because
it is private or internal
System.Xml.Schema/BuiltInDatatype.cs(862) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdUnsignedInt' because it
is private or internal
System.Xml.Schema/BuiltInDatatype.cs(898) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdUnsignedShort' because
it is private or internal
System.Xml.Schema/BuiltInDatatype.cs(933) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdUnsignedByte' because
it is private or internal
System.Xml.Schema/BuiltInDatatype.cs(969) warning CS3019: CLS compliance
checking will not be performed on 'Mono.Xml.Schema.XsdPositiveInteger'
because it is private or internal
Compilation succeeded - 11 warning(s)
gmake[2]: Leaving directory `/home/src/mono/mcs/class/System.XML'
gmake[2]: Entering directory `/home/src/mono/mcs/class/System'
MONO_PATH="../../class/lib/default:$MONO_PATH" mono ../../mcs/mcs.exe
-d:NET_1_1 -d:ONLY_1_1
-g /noconfig /r:mscorlib.dll /define:XML_DEP /r:System.Xml.dll /target:library \
/out:../../class/lib/default/System.dll @System.dll.sources
Unhandled Exception: System.NullReferenceException: A null value was found
where an object instance was required.
in (unmanaged) Mono.CSharp.Report:RealError (string)
in <0x00049> Mono.CSharp.Report:Error (int,string)
in <0x000e4> Mono.CSharp.CodeGen:Save (string)
in <0x01734> Mono.CSharp.Driver:MainDriver (string[])
in <0x00012> Mono.CSharp.Driver:Main (string[])
gmake[2]: *** [../../class/lib/default/System.dll] Error 1
Could any one explain the reason for the error message? Do I have to configure
with a different profile?
Thanks in advance.
-- Guenter
["mono.diffs" (text/x-diff)]
*** configure.in.orig Tue Jun 29 18:04:41 2004
--- configure.in Tue Jul 13 20:11:29 2004
***************
*** 1089,1094 ****
--- 1089,1100 ----
arch_target=x86;
JIT_SUPPORTED=yes
jit_wanted=true
+ case "$host_os" in
+ solaris*)
+ LIBC="libc.so"
+ INTL="libintl.so"
+ ;;
+ esac
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
*** configure.orig Tue Jul 13 20:01:01 2004
--- configure Tue Jul 13 20:24:26 2004
***************
*** 14017,14022 ****
--- 14017,14028 ----
arch_target=x86;
JIT_SUPPORTED=yes
jit_wanted=true
+ case "$host_os" in
+ solaris*)
+ LIBC="libc.so"
+ INTL="libintl.so"
+ ;;
+ esac
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
*** mono/metadata/security.c.orig Fri Jun 25 00:44:48 2004
--- mono/metadata/security.c Mon Jul 5 11:29:19 2004
***************
*** 133,139 ****
--- 133,143 ----
fbufsize = (size_t) 1024;
#endif
fbuf = g_malloc0 (fbufsize);
+ #ifdef sun
+ retval = getpwuid_r (uid, &pwd, fbuf, fbufsize);
+ #else
retval = getpwuid_r (uid, &pwd, fbuf, fbufsize, &p);
+ #endif
result = ((retval == 0) && (p == &pwd));
#else
/* default to non thread-safe but posix compliant function */
***************
*** 200,206 ****
--- 204,214 ----
#endif
fbuf = g_malloc0 (fbufsize);
+ #ifdef sun
+ retval = getpwuid_r (user, &pwd, fbuf, fbufsize);
+ #else
retval = getpwuid_r (user, &pwd, fbuf, fbufsize, &p);
+ #endif
result = ((retval == 0) && (p == &pwd));
#else
/* default to non thread-safe but posix compliant function */
***************
*** 362,368 ****
--- 370,380 ----
#endif
fbuf = g_malloc0 (fbufsize);
+ #ifdef sun
+ retval = getpwnam_r (utf8_name, &pwd, fbuf, fbufsize);
+ #else
retval = getpwnam_r (utf8_name, &pwd, fbuf, fbufsize, &p);
+ #endif
result = ((retval == 0) && (p == &pwd));
#else
/* default to non thread-safe but posix compliant function */
***************
*** 517,523 ****
--- 529,539 ----
fbufsize = (size_t) 1024;
#endif
fbuf = g_malloc0 (fbufsize);
+ #ifdef sun
+ retval = getgrgid_r ((gid_t) group, &grp, fbuf, fbufsize);
+ #else
retval = getgrgid_r ((gid_t) group, &grp, fbuf, fbufsize, &g);
+ #endif
result = ((retval == 0) && (g == &grp));
#else
/* default to non thread-safe but posix compliant function */
***************
*** 569,575 ****
--- 585,595 ----
size_t fbufsize = (size_t) 1024;
#endif
fbuf = g_malloc0 (fbufsize);
+ #ifdef sun
+ retval = getgrnam_r (utf8_groupname, &grp, fbuf, fbufsize);
+ #else
retval = getgrnam_r (utf8_groupname, &grp, fbuf, fbufsize, &g);
+ #endif
result = ((retval == 0) && (g == &grp));
#else
/* default to non thread-safe but posix compliant function */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic