[M3devel] HEADS UP: CM3 builds broken

Jay jayk123 at hotmail.com
Tue Feb 12 09:45:24 CET 2008


The only other non-NT386/GNU change by me, from a quick scan of ChangeLog, is:
 
2008-02-10 23:24  jkrell
  * m3-libs/m3core/src/: runtime/m3makefile, thread/m3makefile,    thread/Common/SchedulerPosix.i3, thread/Common/m3makefile,    thread/POSIX/SchedulerPosix.i3, thread/POSIX/m3makefile,    thread/PTHREAD/SchedulerPosix.i3, thread/PTHREAD/m3makefile,    thread/WIN32/ThreadWin32.m3:
 
  cheat just a tad and provide SchedulePosix interface on Win32 albeit  not a good implementation currently  this way NT386GNU can build with Win32 threads and cm3 gets as far  as printing an error and exiting, probably something to do with  pesky slashes; a lot better than hanging due to nanosleep failing  and worrying about a lot of non trivial cygwin code..
which looks very ok. I moved SchedulerPosix to common and provided a do-nothing implementation for NT386.
This is so NT386GNU can use native Win32 threads, but Posix in other places like i/o.
 
(Sometimes I wonder...maybe all that's needed is handling forward and backward slashes the same c:/foo/bar, which I already put in, plus allowing X Windows... (Trestle builds now btw...std packages get at least as far as anim3d. Running stuff is known to have problems..the slash issues were just because I had backslashes (and colons) in paths in environment variables... the current problem is that cm3 always seems to think files are out of date and that all builds fail, but it does actually run cm3cg over everything and seems to work...surely an easy issue to deal with...oh I think m3bundle crashes, the only other thing I've run besides cm3...like..for example, keeping time in seconds since 1970 in a 32bit signed integer seems more like a bug than a feature....maybe I'll start another thread here....even the Win32 Modula-3 interfaces I think use that poor representation, just that they go to the effort of converting from a better format....))
 
Anyway I'll at least test on birch later and maybe install FreeBSD in a virtual machine.....
 
- Jay


From: jayk123 at hotmail.comTo: wagner at elegosoft.com; m3devel at elegosoft.comDate: Tue, 12 Feb 2008 08:27:40 +0000Subject: Re: [M3devel] HEADS UP: CM3 builds broken


drat...I'd like to punt just a few hours here and will get to it then.Sorry.I hardly changed anything "live" other than what Tony put back.Yes I need to test more/at-all on Linux/x86 and/or FreeBSD/x86.. Great to have the tinderbox though, catch stuff "early" (yeah yeah, not as early as you'd like).  - Jay

> Date: Tue, 12 Feb 2008 09:16:42 +0100> From: wagner at elegosoft.com> To: m3devel at elegosoft.com> Subject: [M3devel] HEADS UP: CM3 builds broken> > Tonight some of the tinderbox builds failed for CM3. First I thought> it was just these changes to FilePosix which had already been fixed:> > ----------------------------> revision 1.8> date: 2008-02-12 04:32:40 +0000; author: hosking; state: Exp; > lines: +1 -1; commitid: pvCLLyqdDKQm24Rs;> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> ----------------------------> revision 1.7> date: 2008-02-11 05:38:23 +0000; author: jkrell; state: Exp; lines: > +1 -1; commitid: j3ewJLumr87rqWQs;> more cygwin header cleanup, various dead types were used> in further dead types in Ushm.i3; go ahead and delete> dead stuff instead of commenting out> remove seemingly unnecessary VAL() that fails to compile> > but when I try to build now on my FreeBSD system, I get this from cm3:> > % ./m3-sys/cm3/FreeBSD4/cm3 -version> > ***> *** runtime error:> *** Segmentation violation - possible attempt to dereference NIL> *** pc = 0x821cf26 = EmptyBuffer + 0xc6 in ../src/rw/FileWr.m3> ***> > ^C> > Please check all the latest commits carefully and back out anything> that seems suspicious or has not been tested.> > Thanks,> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> 

Shed those extra pounds with MSN and The Biggest Loser! Learn more. 
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080212/9d38892a/attachment-0002.html>


More information about the M3devel mailing list