[Mono-dev] Can't build the master branch from git

initram martin.midtgaard at gmail.com
Fri Feb 7 18:02:28 UTC 2014


I am unable to build the souce code I have pulled form git. I have tried both
using both the repository version of mono and monolite to compile and I fail
in the same way.

The last lines of my failed build can be seen below (using monolite):

Making all in runtime
make[2]: Entering directory `/home/initram/monoSource/monoInitram/runtime'
if test -w /home/initram/monoSource/monoInitram/mcs; then :; else chmod -R
+w /home/initram/monoSource/monoInitram/mcs; fi
cd /home/initram/monoSource/monoInitram/mcs && make --no-print-directory -s
NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 net_4_5 xbuild_12   '
CC='gcc' all-profiles
Bootstrap compiler: Mono C# compiler version 3.2.7.0
MCS     [net_2_0] mscorlib.dll
Stacktrace:


Native stacktrace:

Segmentation fault (core dumped)
make[8]: *** [../../class/lib/net_2_0/tmp/mscorlib.dll] Error 139
make[7]: *** [do-all] Error 2
make[6]: *** [all-recursive] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [profile-do--net_2_0--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/initram/monoSource/monoInitram/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/initram/monoSource/monoInitram'
make: *** [all] Error 2



I am running Lubuntu in a virtual machine.
my process of building is the following:
$ cd ~/monoSource/monoInitram
$ ./autogen.sh --prefix=/opt/monoInitram
$ make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe

Where do I go from here?
I would really like to know that my changes compile and pass all test using
head of master.



--
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-build-the-master-branch-from-git-tp4661864.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list