[Mono-bugs] [Bug 53143][Maj] New - mcs compilation fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 20 Jan 2004 15:09:07 -0500 (EST)

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 efbrasil@superig.com.br.


--- shadow/53143	2004-01-20 15:09:07.000000000 -0500
+++ shadow/53143.tmp.23552	2004-01-20 15:09:07.000000000 -0500
@@ -0,0 +1,96 @@
+Bug#: 53143
+Product: Mono/Compilers
+Version: unspecified
+OS: other
+OS Details: Debian/SID
+Status: NEW   
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: efbrasil@superig.com.br               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs compilation fails
+Description of Problem:
+mcs fails to compile
+mono was compiled and installed correctly, and the pre-compiled version of
+mcs has been installed.
+Steps to reproduce the problem:
+1. make
+1. make PROFILE="atomic"
+Actual Results:
+agatha (~/code/mono/mcs-0.29)$ make PROFILE="atomic"
+make[1]: Entering directory `/home/efb/code/mono/mcs-0.29/build'
+make[1]: Leaving directory `/home/efb/code/mono/mcs-0.29/build'
+make[1]: Entering directory `/home/efb/code/mono/mcs-0.29/jay'
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o closure.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o error.o error.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lalr.o lalr.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lr0.o lr0.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o main.o main.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o mkpar.o mkpar.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o output.o output.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o reader.o reader.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o symtab.o symtab.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o verbose.o verbose.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o warshall.o
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -o jay closure.o
+error.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o verbose.o
+make[1]: Leaving directory `/home/efb/code/mono/mcs-0.29/jay'
+make[1]: Entering directory `/home/efb/code/mono/mcs-0.29/mcs'
+../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay >cs-parser.cs
+../jay/jay: 2 rules never reduced
+../jay/jay: 31 shift/reduce conflicts, 1 reduce/reduce conflict.
+mcs   /lib:/usr/local/lib -g /target:exe /out:mcs.exe AssemblyInfo.cs
+anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs
+class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
+enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs
+interface.cs iterators.cs literal.cs location.cs modifiers.cs namespace.cs
+parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs
+typemanager.cs symbolwriter.cs tree.cs cs-parser.cs
+Compilation succeeded
+make[1]: Leaving directory `/home/efb/code/mono/mcs-0.29/mcs'
+make[1]: Entering directory `/home/efb/code/mono/mcs-0.29/class'
+make[2]: Entering directory `/home/efb/code/mono/mcs-0.29/class/corlib'
+Creating ../../build/deps/corlib_plattest.dll.response ...
+Creating ../../build/deps/corlib_plattest.dll.makefrag ...
+Creating ../../build/deps/corlib_test.dll.response ...
+Creating ../../build/deps/corlib_test.dll.makefrag ...
+Creating ../../build/deps/corlib_res.dll.response ...
+Creating ../../build/deps/corlib_res.dll.makefrag ...
+Creating ../../build/deps/corlib.dll.response ...
+Creating ../../build/deps/corlib.dll.makefrag ...
+make[2]: Leaving directory `/home/efb/code/mono/mcs-0.29/class/corlib'
+make[2]: Entering directory `/home/efb/code/mono/mcs-0.29/class/corlib'
+../../build/deps/corlib.dll.makefrag:996: *** missing separator.  Stop.
+make[2]: Leaving directory `/home/efb/code/mono/mcs-0.29/class/corlib'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/efb/code/mono/mcs-0.29/class'
+make: *** [all-recursive] Error 1
+Expected Results:
+No errors :)
+Additional Information:
+The same problem happened when compiling withoud PROFILE="atomic".
+The last lines of build/deps/corlib.dll.makefrag are:
+agatha (~/code/mono/mcs-0.29/build/deps)$ cat -n corlib.dll.makefrag | tail
+-n 5
+   992  System.Threading/TimerCallback.cs \
+   993  System.Threading/WaitCallback.cs \
+   994  System.Threading/WaitHandle.cs \
+   995  System.Threading/WaitOrTimerCallback.cs
+   996  -e      touch $@