[Mono-list] mcs can't build a file larger than 65536 bytes

Erik Bågfors erik@bagfors.nu
08 Aug 2002 11:01:28 +0200


Hmm.. I have the same problem on one box but not on another.  Both are
mandrake 8.2 boxes but one is running reiserfs and one is running xfs. 
The one with reiserfs is the one with the problem.


So.. as a test I tried to create a ext2-filesystem as well:

(comp just calls mcs)

: [bagfors@detrius]$ ; pwd
/home/bagfors/usr/src/031SharpZipLib/SharpZipLib/src/SharpZipLib

: [bagfors@detrius]$ ; sh comp
./Zip/Compression/Deflater.cs(494) warning CS0162: Unreachable code
detected
/usr/bin/mcs: line 2:  4425 File size limit exceeded/usr/bin/mono
/usr/bin/mcs.exe "$@"
[Exit 153 (SIGXFSZ)]


[root@detrius]# lvcreate -L 300 -n testvg diskvg

[root@detrius]# mke2fs /dev/diskvg/testvg 

[root@detrius]# mount /dev/diskvg/testvg /mnt/disk/

[root@detrius]# cd /mnt/disk/
[root@detrius]# mkdir test
[root@detrius]# chown bagfors test

: [bagfors@detrius]$ ; cp -a SharpZipLib/ /mnt/disk/test/
: [bagfors@detrius]$ ; cd /mnt/disk/test/SharpZipLib/src/SharpZipLib/
: [bagfors@detrius]$ ; sh comp
./Zip/Compression/Deflater.cs(494) warning CS0162: Unreachable code
detected
Compilation succeeded - 1 warning(s)

: [bagfors@detrius]$ ; ls -l SharpZipLib.dll 
-rw-r--r--    1 bagfors  bagfors    112640 Aug  8 10:59 SharpZipLib.dll

So, it works with ext2 but not with reiserfs!!!

Looks like mono triggers a bug in reiserfs somewhere!!!

/Erik


On Thu, 2002-08-08 at 10:03, david@novembar.com wrote:
> It's extrange because my linux box is running with reiserfs since i installed 
> it.
> 
> david
> 
> Mensaje citado por Martin Willemoes Hansen <mwh@sysrq.dk>:
> 
> > Hi!
> > 
> > Umh I just changed my filesystem to reiserfs .. and now I cant compile
> > gtk-sharp .. before when I was running with ext3 it worked nicely ..
> > 
-- 
Erik Bågfors               | erik@bagfors.nu
Supporter of free software | GSM +46 733 279 273
fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32