[Mono-bugs] [Bug 414845] New: Bootstraping MCS failed when making Mono from source
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Aug 5 17:11:06 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=414845
Summary: Bootstraping MCS failed when making Mono from source
Product: Mono: Compilers
Version: 1.9
Platform: PowerPC
OS/Version: Red Hat 7.0
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: vwvw at yandex.ru
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Make Mono 1.9.1 from source on the PPC. Mono had n't ever been on this
computer.
THE ERROR:
mcs /codepage:65001 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug
-target:exe -out:mcs.exe cs-parser.cs @mcs.exe.sources
** Message: Unknown errno: Unknown error 8192
FULL LOG:
/configure --targer=ppc-linux
mcs source: $(top_srcdir)/mcs
olive source:
GC: included
TLS: __thread
SIGALTSTACK: yes
Engine: Building and using the JIT
2.0 Beta: yes
2.1 Alpha: yes
JNI support: IKVM Native
libgdiplus: assumed to be installed
zlib:
oprofile: no
supportw.c:171: warning: format '%x' expects type 'unsigned int', but argument
5 has type 'gpointer'
supportw.c:171: warning: format '%x' expects type 'unsigned int', but argument
6 has type 'gpointer'
supportw.c: At top level:
supportw.c:177: warning: no previous prototype for 'GetWindowLongA'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT
-DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -MT supportw.lo -MD -MP -MF .deps/supportw.Tpo -c
supportw.c -o supportw.o >/dev/null 2>&1
mv -f .deps/supportw.Tpo .deps/supportw.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I..
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP
-D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-MT support-heap.lo -MD -MP -MF .deps/support-heap.Tpo -c -o support-heap.lo
support-heap.c
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT
-DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -MT support-heap.lo -MD -MP -MF
deps/support-heap.Tpo -c support-heap.c -fPIC -DPIC -o .libs/support-heap.o
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT
-DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -MT support-heap.lo -MD -MP -MF
deps/support-heap.Tpo -c support-heap.c -o support-heap.o >/dev/null 2>&1
mv -f .deps/support-heap.Tpo .deps/support-heap.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-no-undefined -avoid-version -o libMonoSupportW.la -rpath
/home/user001/mono-1.9.1/lib supportw.lo support-heap.lo -pthread -lgthread-2.0
-lrt -lglib-2.0 -ldl -lpthread -lm
gcc -shared .libs/supportw.o .libs/support-heap.o -lgthread-2.0 -lrt
-lglib-2.0 -ldl -lpthread -lm -pthread -Wl,-soname -Wl,libMonoSupportW.so -o
libs/libMonoSupportW.so
ar cru .libs/libMonoSupportW.a supportw.o support-heap.o
ranlib .libs/libMonoSupportW.a
creating libMonoSupportW.la
(cd .libs && rm -f libMonoSupportW.la && ln -s ../libMonoSupportW.la
libMonoSupportW.la)
make[2]: Leaving directory `/home/user001/mono-1.9.1/support'
Making all in docs
make[2]: Entering directory `/home/user001/mono-1.9.1/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user001/mono-1.9.1/docs'
Making all in data
make[2]: Entering directory `/home/user001/mono-1.9.1/data'
Making all in net_1_1
make[3]: Entering directory `/home/user001/mono-1.9.1/data/net_1_1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/user001/mono-1.9.1/data/net_1_1'
Making all in net_2_0
make[3]: Entering directory `/home/user001/mono-1.9.1/data/net_2_0'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/user001/mono-1.9.1/data/net_2_0'
make[3]: Entering directory `/home/user001/mono-1.9.1/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/user001/mono-1.9.1/data'
make[2]: Leaving directory `/home/user001/mono-1.9.1/data'
Making all in runtime
make[2]: Entering directory `/home/user001/mono-1.9.1/runtime'
d=`cd ../support && pwd`; \
sed
's,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",'
./data/config > etc/mono/configt
if test -z ""; then :; else \
sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="" />,'
etc/mono/configt > etc/mono/configtt; \
mv -f etc/mono/configtt etc/mono/configt; fi
mv -f etc/mono/configt etc/mono/config
/bin/sh /home/user001/mono-1.9.1/install-sh -d _tmpinst/bin
cp mono-wrapper _tmpinst/bin/mono
echo '#! /bin/sh' > _tmpinst/bin/mcs ; \
r=`pwd`; m=`cd ../mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/default/mcs.exe"'" "$@"' >> _tmpinst/bin/mcs ; \
chmod +x _tmpinst/bin/mcs
echo '#! /bin/sh' > _tmpinst/bin/ilasm ; \
r=`pwd`; m=`cd ../mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/ilasm/ilasm.exe"'" "$@"' >>
_tmpinst/bin/ilasm ; \
chmod +x _tmpinst/bin/ilasm
echo '#! /bin/sh' > _tmpinst/bin/gmcs ; \
r=`pwd`; m=`cd ../mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/net_2_0/gmcs.exe"'" "$@"' >> _tmpinst/bin/gmcs ; \
chmod +x _tmpinst/bin/gmcs
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make PROFILES='default net_2_0 net_3_5 net_2_1' CC='gcc'
all-profiles
make[3]: Entering directory `/home/user001/mono-1.9.1/mcs'
make profile-do--default--all profile-do--net_2_0--all profile-do--net_3_5--all
profile-do--net_2_1--all
make[4]: Entering directory `/home/user001/mono-1.9.1/mcs'
make PROFILE=basic all
make[5]: Entering directory `/home/user001/mono-1.9.1/mcs'
make[6]: Entering directory `/home/user001/mono-1.9.1/mcs/build'
make all-local
make[7]: Entering directory `/home/user001/mono-1.9.1/mcs/build'
test -n '1.9.1.0'
sed -e 's,@''MONO_VERSION@,1.9.1.0,' common/Consts.cs.in > common/Consts.cs
make[7]: Leaving directory `/home/user001/mono-1.9.1/mcs/build'
make[6]: Leaving directory `/home/user001/mono-1.9.1/mcs/build'
make[6]: Entering directory `/home/user001/mono-1.9.1/mcs/jay'
make all-local
make[7]: Entering directory `/home/user001/mono-1.9.1/mcs/jay'
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
closure.o closure.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
error.o error.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
lalr.o lalr.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
lr0.o lr0.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
main.o main.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
mkpar.o mkpar.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
output.o output.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
reader.o reader.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
symtab.o symtab.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
verbose.o verbose.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/share/jay"\" -g -O2 -c -o
warshall.o warshall.c
gcc -DSKEL_DIRECTORY=\""/home/user001/mono-1.9.1/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 warshall.o
make[7]: Leaving directory `/home/user001/mono-1.9.1/mcs/jay'
make[6]: Leaving directory `/home/user001/mono-1.9.1/mcs/jay'
make[6]: Entering directory `/home/user001/mono-1.9.1/mcs/mcs'
Creating ../build/deps/basic_mcs.exe.makefrag ...
make[6]: Leaving directory `/home/user001/mono-1.9.1/mcs/mcs'
make[6]: Entering directory `/home/user001/mono-1.9.1/mcs/mcs'
make all-local
make[7]: Entering directory `/home/user001/mono-1.9.1/mcs/mcs'
./jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv
jay-tmp.out cs-parser.cs
./jay/jay: 2 rules never reduced
./jay/jay: 39 shift/reduce conflicts.
/bin/sh ../mkinstalldirs ../class/lib/basic/
mkdir -p -- ../class/lib/basic/
touch ../class/lib/basic//.stamp
mcs /codepage:65001 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug
-target:exe -out:mcs.exe cs-parser.cs @mcs.exe.sources
** Message: Unknown errno: Unknown error 8192
Stacktrace:
Native stacktrace:
/usr/bin/mono [0x10117428]
/usr/bin/mono [0x100dcd5c]
[0x100350]
[0xf73981f8]
[0xf739c258]
[0xf7397d34]
[0xf73978a4]
[0xf7397580]
[0xf739cb50]
[0xf739ca60]
[0xf739c8cc]
[0xf73caf4c]
[0xf73ce9a8]
[0xf73ce5e4]
[0xf73ca65c]
[0xf73ca08c]
[0xf73a72c8]
[0xf73a0af4]
[0xf739bc40]
[0xf739b5f8]
[0xf737352c]
[0xf736fbbc]
[0xf7363b58]
/usr/bin/mono [0x101006c8]
/usr/bin/mono(mono_runtime_invoke+0x1c) [0x1007894c]
/usr/bin/mono(mono_runtime_exec_main+0xd4) [0x1007e774]
/usr/bin/mono(mono_runtime_run_main+0x1d4) [0x1007ea54]
/usr/bin/mono(mono_jit_exec+0xa0) [0x100104a0]
/usr/bin/mono(mono_main+0xfd4) [0x100114b4]
/usr/bin/mono [0x1000fe30]
/lib/libc.so.6 [0xfcfde0c]
/lib/libc.so.6 [0xfcfe060]
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
** ERROR **: file mini-exceptions.c: line 1098 (mono_handle_native_sigsegv):
assertion failed: (sigaction (SIGABRT, &sa, NULL) != -1)
aborting...
make[7]: *** [../class/lib/basic/mcs.exe] Aborted
make[7]: Leaving directory `/home/user001/mono-1.9.1/mcs/mcs'
make[6]: *** [do-all] Error 2
make[6]: Leaving directory `/home/user001/mono-1.9.1/mcs/mcs'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/user001/mono-1.9.1/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user001/mono-1.9.1'
make: *** [all] Error 2
[user001 at cell8i mono-1.9.1]$
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list