Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge dev-dotnet/mono-0.25-r1 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bisho
n00b
n00b


Joined: 02 May 2003
Posts: 69
Location: Madrid (Spain)

PostPosted: Thu Aug 14, 2003 2:12 am    Post subject: emerge dev-dotnet/mono-0.25-r1 fails Reply with quote

I get this:

Code:

mono ../mcs/mcs.exe --target exe -L ../class/lib /r:PEAPI.dll @list -o ilasm.exeCompilation succeeded
make[1]: Leaving directory `/var/tmp/portage/mono-0.25-r1/work/mcs-0.25/ilasm'
make[1]: Entering directory `/var/tmp/portage/mono-0.25-r1/work/mcs-0.25/tools'
mono ../mcs/mcs.exe /nologo /debug+ /debug:full  monostyle.cs
mono ../mcs/mcs.exe /nologo /debug+ /debug:full  /out:GenerateDelegate.exe GenerateDelegate.cs
WROTE SYMFILE: 1 sources, 8 methods, 13 types, 90 line numbers, 9 locals, 2 namespaces, 702 bytes of string data
OffsetTable [2748 - 52:2576 - 1:2724:24 - 8:2628:96 - 13]
Compilation succeeded
make[1]: *** [GenerateDelegate.exe] Segmentation fault
make[1]: *** Deleting file `GenerateDelegate.exe'
make[1]: *** Waiting for unfinished jobs....
WROTE SYMFILE: 1 sources, 40 methods, 22 types, 175 line numbers, 17 locals, 2 namespaces, 2360 bytes of string data
OffsetTable [8951 - 52:8395 - 1:8927:24 - 40:8447:480 - 22]
Compilation succeeded
make[1]: Leaving directory `/var/tmp/portage/mono-0.25-r1/work/mcs-0.25/tools'
make: *** [all] Error 1
 
!!! ERROR: dev-dotnet/mono-0.25-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! MCS compilation failure


Any thought about why is seg faulting GenerateDelegate.exe?
_________________
-=[ bisho [=-
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Thu Oct 02, 2003 12:32 pm    Post subject: Reply with quote

I just started seeing the same problem, but when emerging mono-0.26-r1. The build fails every time, but in different places. The error is always a "segmentation fault" just after a "compilation succeeded", as in your trace. The utilities showing the error are different each time. I've made three attempts so far (and counting), with failures in monostyle.exe and others.

I'm thinking this might be a problem with gcc optimizations. Will give it a try later on. Segmentation faults are always suspicious, especially if the seem to occur at random. Strange thing is, however, that I currently have 0.26 working like a charm (compiled with the same CFLAGS IIRC)...
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Thu Oct 02, 2003 12:37 pm    Post subject: Reply with quote

Weird. Seems to have worked on the 4th or maybe 5th attempt. I did an "emerge --resume", but that is about it.

I will, however, for the future remove the "-fomit-frame-pointer" optimization from my CFLAGS, as I suspect it might have something to do with this.
Back to top
View user's profile Send private message
rbosman
n00b
n00b


Joined: 08 Oct 2003
Posts: 1
Location: The Netherlands

PostPosted: Wed Oct 08, 2003 11:46 am    Post subject: cflags mono-0.26 Reply with quote

I had the same problem with emerging (and compiling) mono-0.26 . Changing the CFLAGS from "athlon-xp -O3 -pipe" to "athlon-xp -O -pipe" solved the problem.
Also compiled mono with the CFLAGS "athlon-xp -O2" and "athlon -O2" but without success.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum