[Mono-bugs] [Bug 74816][Maj] Changed - [PPC] Microsoft.VisualBasic/fixup is broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 31 09:53:42 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jsacco at ydl.net.

http://bugzilla.ximian.com/show_bug.cgi?id=74816

--- shadow/74816	2005-05-31 02:44:32.000000000 -0400
+++ shadow/74816.tmp.2692	2005-05-31 09:53:41.000000000 -0400
@@ -197,6 +197,59 @@
 ------- Additional Comments From rharinath at novell.com  2005-05-31 02:44 -------
 Thanks for checking.
 
 Can you also check whether the installed 'monodis' is working?  If it
 is, I'll go ahead and check this patch in.
 
+
+------- Additional Comments From jsacco at ydl.net  2005-05-31 09:53 -------
+Bad news...  The installed version of monodis segfaults:
+
+[setup the evironment]
+MONO=/opt/mono
+PATH=$MONO/bin:$PATH
+LD_LIBRARY_PATH=$MONO/lib:$LD_LIBRARY_PATH
+PYTHONPATH=$MONO/lib/python2.3/site-packages
+PKG_CONFIG_PATH=$MONO/lib/pkgconfig:/usr/lib/pkgconfig
+MANPATH=$MONO/man:$MANPATH
+export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH MANPATH
+
+cd mono-1.1.7/mcs/class/Microsoft.VisualBasic/fixup
+monodis ../../../class/lib/default/Microsoft.VisualBasic.dll
+Segmentation fault
+
+Using gdb I see the same sequence of events that I reported on 22May05.
+
+Let's take a look at what libtool does when installing monodis:
+
+Making install in dis
+make[2]: Entering directory `/usr/local/src/Mono/mono-1.1.7/mono/dis'
+make[3]: Entering directory `/usr/local/src/Mono/mono-1.1.7/mono/dis'
+test -z "/opt/mono/bin" || mkdir -p -- "/opt/mono/bin"
+  /bin/sh ../../libtool --mode=install /usr/bin/install -c 'monodis'
+'/opt/mono/bin/monodis'
+(cd /usr/local/src/Mono/mono-1.1.7/mono/dis; { test -z
+"${LIBRARY_PATH+set}" || unset LIBRARY_PATH || { LIBRARY_PATH=; export
+LIBRARY_PATH; }; }; { test -z "${COMPILER_PATH+set}" || unset
+COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test
+-z "${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || {
+GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z
+"${LD_RUN_PATH+set}" || unset LD_RUN_PATH || { LD_RUN_PATH=; export
+LD_RUN_PATH; }; };
+PATH="/opt/mono/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/apache-ant-1.6.2/bin:/usr/local/eclipse:/opt/IBMJava2-ppc-142/bin:/opt/IBMJava2-ppc-142/jre/bin:/root/bin";
+export PATH; gcc -g -O2 -fno-strict-aliasing -g -Wall -Wunused
+-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
+-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
+-Wcast-align -Wwrite-strings -o /tmp/libtool-32257/monodis dump.o
+main.o -Wl,--export-dynamic -pthread  libmonodis.a -L/opt/mono/lib
+-lmono -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lnsl -lpthread -lm
+-lrt -Wl,--rpath -Wl,/opt/mono/lib)
+/usr/bin/install -c /tmp/libtool-32257/monodis /opt/mono/bin/monodis
+
+Hmmm... looks like a dynamically linked version of monodis was
+installed, and we know, the dynamically linked version of monodis is
+broken.
+
+If you were intending to install monodis-s, that's not what happened.
+ You will need to alter  ./mono/dis/Makefile
+ 
+-Joseph


More information about the mono-bugs mailing list