From jkrell at elego.de Sun Nov 2 11:41:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:41:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104129.9EB7C10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:41:29 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3 Added files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: Make sure Uerror.i3 is correct -- generate it from C. From jkrell at elego.de Sun Nov 2 11:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104625.DBCBA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Uerror.i3.cpp Log message: reduce error prone repitition, like in the OpenBSD case From jkrell at elego.de Sun Nov 2 13:13:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 13:13:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102121331.304D810D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 13:13:31 Modified files: cm3/m3-libs/m3core/src/thread/: m3makefile Log message: fix newlines From rodney at elego.de Tue Nov 4 03:02:17 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 3:02:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104020217.EAE5A10D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 03:02:17 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: linespec.c m3-eval.c m3-exp.c m3-lang.c m3-util.c Log message: 1) Fix start command in CM3 to use Main_I3 as its breakpoint. This fixes wrong behaviour. 2) Some consistency fixes to unqualified identifier lookup in M3 linespecs. 3) Misc. minor fixes to comments, messages, and formatting. From rodney at elego.de Tue Nov 4 21:34:35 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 21:34:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104203435.DD78F1704001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 21:34:35 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-lang.c m3-util.c m3-util.h Log message: Make some int results that are truly boolean into bool. From rodney at elego.de Wed Nov 5 15:18:02 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 15:18:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105141802.B7F4510D4227@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 15:18:02 Added files: cm3/doc/help/m3gdb/: m3gdb.docbook m3gdb.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:45:45 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154545.A26641704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:45:45 Added files: cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:48:05 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154805.C9D9C1704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:48:05 Removed files: cm3/doc/help/m3gdb/: m3gdb.html Log message: needed stylesheet and better name From wagner at elego.de Thu Nov 6 07:37:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 7:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106063700.7D7A91704005@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 07:37:00 Modified files: cm3/doc/help/cm3/: cm3.html debugging.html gc.html cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: update m3gdb references From wagner at elego.de Thu Nov 6 08:06:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:06:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106070607.BBC861704013@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:06:07 Modified files: cm3/doc/: ship-cm3-www-doc Added files: cm3/doc/help/cm3/: cm3-quickref.html Log message: add cm3 quickref From wagner at elego.de Thu Nov 6 08:10:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:10:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106071031.02368F04001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:10:30 Modified files: cm3/www/: nav-doc.html news.html ship-cm3-www Log message: add m3gdb links From rodney at elego.de Fri Nov 7 04:08:10 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 7 Nov 2008 4:08:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081107030810.C4FC31704094@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/07 04:08:10 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-util.c Log message: Fix a bug in which, under certain conditioins, m3gdb could not find a global variable having a procedure type, e.g. RTAllocator.callback. From jkrell at elego.de Sun Nov 9 07:20:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:20:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062016.407EF10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:20:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3.cfg cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX LINUXLIBC6 PPC32_OPENBSD PPC_DARWIN PPC_LINUX SOLgnu SOLsun SPARC32_LINUX SPARC64_LINUX SPARC64_OPENBSD Unix.common Added files: cm3/m3-sys/cminstall/src/config-no-install/: MIPS64_OPENBSD cm3cfg.common Log message: begin combining nt386.common and unix.common (into cm3cg.common) mips64_openbsd support being migrating config-no-install/solgnu and solsun to Unix.common (had this sitting around, in intermediate state) go back to old formating because that is all the old C written m3build could handle add probing for host/target specific cm3cg (so I can stop copying it around as I switch targets) From jkrell at elego.de Sun Nov 9 07:24:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:24:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062442.9E77010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:24:42 Modified files: cm3/scripts/python/: pylib.py Log message: improved bootstrapping support - copy likely to be changed source files around - fix the output extension of .c files so incrementality works add cm3cfg.common From jkrell at elego.de Sun Nov 9 07:35:51 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:35:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109063551.9090610D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:35:51 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN SOLgnu Unix.common Log message: some small repair and cleanup From jkrell at elego.de Sun Nov 9 08:10:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:10:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109071053.50CAE10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:10:53 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Unix.common cm3cfg.common Added files: cm3/m3-sys/cminstall/src/config/: cm3cfg.common Log message: more fix and factor, and add stub for NT386 I thought I had just added From jkrell at elego.de Sun Nov 9 08:34:49 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:34:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073449.C1F0010D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:34:49 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:37:08 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:37:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073708.2A64810D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:37:08 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set AMD64_LINUX first readable address to 4k, removes many checks for null From jkrell at elego.de Sun Nov 9 08:42:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:42:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109074253.DA8EB10D583F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:42:53 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set the default first readable address to 4k; anything smaller than a page, on systems with an mmu, is suspicious, the FreeBSD value is suspicious since it forgets to convert a byte size to a bit size; however 0 is a safe value for this, it just causes extra null checks From jkrell at elego.de Sun Nov 9 08:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075458.989FC10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:54:58 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:57:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:57:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075744.F019C10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:57:44 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: Guard_page_size and Fixed_frame_size are never used, remove them From jkrell at elego.de Sun Nov 9 09:05:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:05:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080536.4D70410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:05:36 Modified files: cm3/scripts/python/: pylib.py Log message: this is Python, not Quake From jkrell at elego.de Sun Nov 9 09:06:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:06:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080634.3524610D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:06:34 Modified files: cm3/scripts/python/: pylib.py Log message: fix From jkrell at elego.de Sun Nov 9 10:17:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:17:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109091730.DFE6210D5840@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:17:30 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: remove Checks_integer_ops, it isn't used remove bitfields_can_overlap, it isn't used factor out commonalities PCC_bitfield_type_matters is typicall true little endian is typical true address always is word, except for cg_type Structure_size_boundary is typically 8 Setjmp is typicall _setjmp This reduces the amount of target-specific code, but maybe is the wrong choice, since each new port does have to consider the values and just letting e.g. little endian default is not safe. The others are more safe. From jkrell at elego.de Sun Nov 9 10:56:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:56:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109095605.9405710D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:56:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 11:06:19 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:06:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109100619.858FD10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:06:19 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/C/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Added files: cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 m3makefile Log message: initial MIPS64_OPENBSD support There are least two problems, progress is made by switching #if's in parse.c, but there is still a crash after that. hack on gcc a bit less use : for null command instead of echo for now, multiply out some small files instead of sharing in an unusual way later will move these to a "common" directory From jkrell at elego.de Sun Nov 9 11:53:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:53:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109105357.4E5AA10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:53:57 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/scripts/python/: pylib.py Log message: fix bootstrapping from older versions such as 5.5 -- older Win32 runtimes don't understand forward slashes in paths From jkrell at elego.de Sun Nov 9 12:05:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:05:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109110548.438F410D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:05:48 Modified files: cm3/m3-sys/m3middle/src/: M3File.m3 cm3/m3-sys/cminstall/src/: OS.i3 Main.m3 Log message: use a more direct way to determine 'OnUnix' From jkrell at elego.de Sun Nov 9 12:36:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:36:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109113654.64CA010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:36:54 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX cm3cfg.common Log message: fix new probing functionality, and comment as to it needing more work to trim the probes From jkrell at elego.de Sun Nov 9 14:33:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 14:33:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109133324.A62BB10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 14:33:24 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common MIPS64_OPENBSD Log message: fix small but fatal error -- setting m3back prevented the probe From jkrell at elego.de Sun Nov 9 17:43:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 17:43:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109164327.15C2E10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 17:43:27 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix reading integers that don't fit in a "host wide int" since host wide int is usually 64 bits, this doesn't really fix anything, but the code is bothering to read two host wide ints, so make it appear to do so correctly (unless I'm wrong..) fix tracing of integers From jkrell at elego.de Mon Nov 10 00:07:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:07:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109230758.BF62A10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:07:58 Modified files: cm3/m3-sys/cminstall/src/: OS.i3 Log message: fix From jkrell at elego.de Mon Nov 10 00:13:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109231343.B6B2710D589C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:13:43 Modified files: cm3/scripts/: sysinfo.sh Log message: let user set CM3_TARGET environment variable himself -- in order to let it be SOLsun instead of SOLgnu From jkrell at elego.de Mon Nov 10 00:22:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:22:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109232215.9A8D210D57C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:22:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun Unix.common cm3cfg.common Log message: cleanup and combine config files linking gcc output with MS linker doesn't work, remove support because they differ in the name of the __ImageBase symbol "gcc output" desired was libcygwin.a, along with integrated backend output GNU ld throws out the integrated backend symbol The failed goal was to use integrated backend for I386_CYGWIN, and be debuggable with windbg/cdb. GNU ld is now on my path on Solaris, use /usr/ccs/bin/ld directly gcc is not working for me for linking on Solaris, use /usr/ccs/bin/ld directly (something simple, unresolved symbol "main", I must not be telling it correctly to build a shared object) gcc on my path is sparc64 targeting and not multilib enabled, so use {target}-gcc explicitly, where target is sparc-sun-solaris2.10; {target}-gcc is always reasonable, though {target} may have a non-canonical name like spar-solaris, or be very site specific like the "2.10" part (sparc64...) move portable parts to cm3cfg.common, even if they aren't used there From jkrell at elego.de Mon Nov 10 08:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 8:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110075958.CA33C10D58C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 08:59:58 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: remove unused StackFrameAlignment, it is only for runtimes that allocate their own stacks, like posix/user/vtalarm threads, not pthreads/kernel/NT threads From jkrell at elego.de Mon Nov 10 09:03:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 9:03:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110080342.AFD1310D58C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 09:03:42 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: FramePadBottom and FramePadTop are also unused on platforms that only have pthreads/kernel/NT threads From hosking at cs.purdue.edu Mon Nov 10 11:53:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 10 Nov 2008 10:53:53 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081110075958.CA33C10D58C9@birch.elegosoft.com> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> Message-ID: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Ideally, we would be able to switch between POSIX and PTHREAD at compile-time regardless of platform, so it might not be a bad idea to keep those as a placeholder. On 10 Nov 2008, at 08:59, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/10 08:59:58 > > Modified files: > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > > Log message: > remove unused StackFrameAlignment, it is only for runtimes > that allocate their own stacks, like posix/user/vtalarm threads, > not pthreads/kernel/NT threads From jay.krell at cornell.edu Mon Nov 10 12:06:37 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 10 Nov 2008 11:06:37 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Message-ID: I think user mode threads are not worthwhile. I don't add support for them in any new target (except if I ever get to DJGPP). I'm not removing the support where it exists. It looks like I messed up FramePadBottom / FramePadTop. I'll fix /very/ shortly (just realized it). - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Mon, 10 Nov 2008 10:53:53 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Ideally, we would be able to switch between POSIX and PTHREAD at > compile-time regardless of platform, so it might not be a bad idea to > keep those as a placeholder.> > On 10 Nov 2008, at 08:59, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/10 08:59:58> >> > Modified files:> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> >> > Log message:> > remove unused StackFrameAlignment, it is only for runtimes> > that allocate their own stacks, like posix/user/vtalarm threads,> > not pthreads/kernel/NT threads> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Nov 10 14:44:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 14:44:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110134444.11B8710D4D09@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 14:44:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/NT386GNU/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 RTSignal.m3 m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Solaris.common Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Cstdio.i3 cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTThread.m3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTThread.m3 RTThreadC.c Log message: enough SPARC64_SOLARIS support to build a bootstrap package, build the bootstrap on the target, and startup cm3, which then hits an alignment fault in RTLinker__AddUnit. This shouldn't be hard to get past, it is doing ldx against an address that is not a multiple of 4. -bash-3.00$ dbx ./cm3 (dbx) run Running: cm3 (process id 3185) Reading libc_psr.so.1 t at 1 (l at 1) signal BUS (invalid address alignment) in RTLinker__AddUnit at 0x10036e028 0x000000010036e028: RTLinker__AddUnit+0x001c: ldx [%g1], %g1 Current function is main 12 RTLinker__InitRuntime (argc, argv, envp, 0); (dbx) where current thread: t at 1 [1] RTLinker__AddUnit(0x10036d984, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x10036e028 [2] RTLinker__InitRuntime(0x1, 0xffffffff7ffffb78, 0xffffffff7ffffb88, 0x0, 0x0, 0x0), at 0x10036db18 =>[3] main(argc = 1, argv = 0xffffffff7ffffb78, envp = 0xffffffff7ffffb88), line 12 in "_m3main.c" (dbx) print $g1 $g1 = 4298561924ULL This gives us another big endian 64 bit system, rather than only MIPS64_OPENBSD. Also remove a sh wrapper on NT in m3cc. Otherwise I was going to rename the file to include M3CC_TARGET, so concurrent builds don't step on each other. Significant working and reworking of config-no-install/*sol*, though ultimately this will probably be trimmed down substantially once I use multilibed gcc. (Note that SOLsun is easy, if you dig past the gcc stuff, and that SPARC64_SOLARIS is using the Sun compiler also, but Solaris now factored like NT so that you can say C_COMPILER = "SUN" or C_COMPILER = "GNU" (at least my config files are; I didn't touch the others). Presumably fix the building of a few minor platforms from earlier tonight, and then some -- go ahead and remove the dummy RTThread.i3 and RTThread.m3 on platforms that just had stubs. (I broke them by removing RTMachine.StackTopPad or such, presumably; these are mostly "immature" platforms, except I386_CYGWIN) Note that I cheated in building my m3cg and hand patched auto-host.h rather than wait for the configure command line change to trickle through. It should be equiv. Move the common Cstdio.i3 and Cstring.i3 to common. This can be more all platforms later, but for now is only for some. Also the Solaris "unix" directory needs to be revisited, probably start over from a minimal Cygwin or OpenBSD base, at least for new Solaris targets. Also new files are likely to have carriage returns, but preexisting files shouldn't. From jkrell at elego.de Mon Nov 10 15:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110143906.C2D9510D58C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:39:06 Modified files: cm3/m3-libs/m3core/src/text/: TextLiteral.i3 Log message: let 32 bit hosts bootstrap 64 bit targets, until the real fix is made From jkrell at elego.de Mon Nov 10 15:40:09 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:40:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144009.0F52110D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:40:09 Modified files: cm3/scripts/python/: pylib.py Log message: make bootstrap packaging less finicky -- the directory is often in use and can't be deleted, but all the files are and that suffices From jkrell at elego.de Mon Nov 10 15:41:55 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:41:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144155.5EFE810D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:41:55 Modified files: cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix two causes of alignment faults on SPARC64_SOLARIS, one checking if binders are closures (they never are, right? maybe this can be optimized?) and the second while collecting garbage From jkrell at elego.de Tue Nov 11 13:47:44 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 13:47:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111124745.0595F10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 13:47:44 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: fix build-breakage from earlier cleanup From jkrell at elego.de Tue Nov 11 14:41:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:41:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111134115.E58BC10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:41:15 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c Cstring.i3 Log message: remove more residue of user thread support for systems on which it was never complete/working (and probably never will be) where possible -- which is fairly often -- share Csetjmp.i3 again, on systems without user thread support, so the size of jmp_buf isn't needed, and where longjmp == "_longjmp" (not NT386) move NT386 to common Cstdio.i3, Cstring.i3 use paranoidgc on AMD64_LINUX for now (pylib.py) From jkrell at elego.de Tue Nov 11 14:57:28 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:57:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135728.4D34510D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:57:28 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 Log message: more common code, esp. on systems with no user threads (some of the previous commit was incomplete) From jkrell at elego.de Tue Nov 11 14:58:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:58:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135858.416BA10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:58:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: oops From jkrell at elego.de Tue Nov 11 15:05:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111140543.3D9AB10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:05:43 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: fix warning From jkrell at elego.de Tue Nov 11 15:27:29 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:27:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111142729.59C8E10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:27:29 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 Added files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Log message: back up a bunch -- Csetjmp is not dead and we need to adjust it perhaps From hosking at cs.purdue.edu Tue Nov 11 21:09:23 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 11 Nov 2008 20:09:23 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081111142729.59C8E10D582C@birch.elegosoft.com> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> Message-ID: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Yes, it is needed for exceptions. On 11 Nov 2008, at 15:27, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/11 15:27:29 > > Modified files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/Common/: m3makefile > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 > Added files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 > Removed files: > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 > > Log message: > back up a bunch -- Csetjmp is not dead > and we need to adjust it perhaps From jkrell at elego.de Wed Nov 12 05:20:50 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:20:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042050.B8A5610D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:20:50 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: go back a version here too From jkrell at elego.de Wed Nov 12 05:21:49 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:21:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042149.9254F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:21:49 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: and then fix it too (huh/wow?) From jkrell at elego.de Wed Nov 12 05:24:44 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:24:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042444.2F12C10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:24:44 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: actually I think it was ok -- the compiler allocates the jmpbuf for try blocks, so the runtime doesn't need to know the size...probably the others were ok but need to double double check From jkrell at elego.de Wed Nov 12 05:27:26 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:27:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042726.43B4F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:27:26 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Log message: fix jumpbuf sizes, but I again don't think it matters, and AMD64_LINUX was already the right size (comment only there) so alas that won't help with the intermittent but common problem running stubgen From jay.krell at cornell.edu Wed Nov 12 05:29:40 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 04:29:40 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Message-ID: I don't think the size of jmpbuf needed. I think I was closer to correct/ok than I later thought. A type is needed and ulongjmp is needed, but the compiler allocates the storage. I'll try this (mostly) again at some point but not now. - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Tue, 11 Nov 2008 20:09:23 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Yes, it is needed for exceptions.> > On 11 Nov 2008, at 15:27, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/11 15:27:29> >> > Modified files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/Common/: m3makefile> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3> > Added files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3> > Removed files:> > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3> >> > Log message:> > back up a bunch -- Csetjmp is not dead> > and we need to adjust it perhaps> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Wed Nov 12 05:41:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:41:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112044116.A4CD410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:41:16 Modified files: cm3/scripts/python/: pylib.py Log message: allow keep on command line From jkrell at elego.de Wed Nov 12 05:58:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:58:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112045816.89D8010D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:58:16 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Log message: fix newlines and fix ignored error printed out when we go to probe the compiler From jkrell at elego.de Wed Nov 12 08:32:54 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 8:32:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112073254.5B2DB10D592B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 08:32:54 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: MIPS64 procedures are not aligned to the alignment an integer. This is actually a safe inefficient default, and very common on 64 bit non-x86 systems -- systems at which reading a code pointer as an integer needs to be careful about alignment. This is used by the generated code for the imho questionable sniffing to determine if a function pointer is a "closure" or not, by checking if it starts with the integer -1. From jkrell at elego.de Wed Nov 12 10:52:43 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 10:52:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112095243.ECDDC10D595D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 10:52:43 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix size of MIPS64_OPENBSD jmp_buf, so M3ID main body doesn't corrupt stack; and alignment generally of 64 bit jump_bufs From jkrell at elego.de Wed Nov 12 12:35:33 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 12:35:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112113534.0B55E10D595F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 12:35:33 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Log message: It IS important to size the jmp_buf correctly, on pthreads systems, else large allocation (such as in M3ID's initializers) => garbage collector (or just via normal garbage accretion) => ProcessStacks => ProcessMe => RTMachine.SaveState => typicall setjmp, or getcontext Win32 doesn't use RTMachine.SaveState, it uses GetThreadContext. Ideally this size would not be repeated in both Csetjmp.i3 and Target.m3. Also change Target.m3 for this case to "look the same" -- use hex and integers/address instead of decimal/bytes (safe assumption that sizeof(integer)==sizeof(address)) From jkrell at elego.de Wed Nov 12 14:38:13 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:38:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112133813.ACD5C10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:38:13 Modified files: cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 Added files: cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 Removed files: cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 Log message: fix alignment of pthread types array of char is not right This has not been seen to be a problem, but it is definitely highly suspicious. Unless perhaps record alignment is somehow always boosted beyond its constituents? (unlikely) perhaps these should be wrapped in arrays to avoid some undesired type equivalences? This is tedious/error prone, could use triple/quadruple checking. LINUXLIBC6 ./upgrade.py from a recent snapshot succeeded PPC_LINUX was already broken/crashing, not tested today (to be looked into) not likely any other Linux target in use (yet) only Linux platforms affected while at it, apparently fix SPARC32_LINUX, to use 32bit sizes instead of 64bit. Note that one of the types has "long long" alignment and therefore was never? properly implementable with an older compiler. Note also that bootstrapping will now require, if it didn't already, a compiler that supports LONGINT. (However this could be patched to an array of two INTEGERs for bootstrapping purposes.) note also this turned up a compiler internal error initializing an array of longint (later..) and some strange problems targeting I386_LINUX with an AMD64_LINUX front end -- the negative shifts in Unix.i3 are reported as not constant, and there are some errors in m3x86. (later..) (should be upthreadTypes.i3 or upthreadtypes.i3? I chose to follow what the C headers do) From jkrell at elego.de Wed Nov 12 14:40:17 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:40:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112134018.027D910D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:40:17 Modified files: cm3/m3-libs/m3core/src/unix/linux-amd64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: m3makefile Log message: forgot to copy/commit m3makefile -- remove UpthreadMachine From jkrell at elego.de Wed Nov 12 15:36:38 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 15:36:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112143638.0918F10D589E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 15:36:38 Modified files: cm3/scripts/python/: pylib.py Log message: turning off gc here isn't where it is 'needed' anyway, it is the invocations of 'stubgen' From jay.krell at cornell.edu Wed Nov 12 15:48:31 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 14:48:31 +0000 Subject: [M3commit] FW: comment about needing longint to bootstrap.. In-Reply-To: <20081112133813.ACD5C10D5877@birch.elegosoft.com> References: <20081112133813.ACD5C10D5877@birch.elegosoft.com> Message-ID: > will now require, if it didn't already, a compiler that supports LONGINT. That part of the comment is false, sorry. - Jay> Date: Wed, 12 Nov 2008 > To: m3commit> From: j> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: jkrell at birch. 08/11/12 14:38:13> > Modified files:> cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 > Added files:> cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 > cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 > Removed files:> cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 > Note also that> bootstrapping> will now require, if it didn't already, a compiler that supports> LONGINT.> (However this could be patched to an array of two INTEGERs for> bootstrapping purposes.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Nov 12 16:05:50 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:05:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112150550.F18C010D5962@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:05:50 Modified files: cm3/doc/help/m3gdb/: m3gdb.docbook Log message: Insert one minor missing blank From rodney at elego.de Wed Nov 12 16:21:41 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:21:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112152142.02AEA10D5970@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:21:41 Modified files: cm3/m3-libs/libm3/src/pickle/ver2/: Pickle2.m3 Log message: Pickles in both PM3 and CM3 have some hard-coded fingerprints for common types, but the values are not consistent about byte order. Fix CM2 pickle-reading code to accept values of types NULL, ROOT, UNTRACED ROOT, ADDRESS, AND REFANY, written by PM3 pickle-writing code. Probably, the latter two can't even happen in a pickle, unless somebody wrote a custom special for them. This still won't handle a more complex type that depends on these types, e.g., an object that contains a field of one of them. This latter is probably not feasable, because it would require "decrypting" fingerprints, and the hash algorithm for fingerprints is lossy. From jkrell at elego.de Fri Nov 14 12:04:43 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 12:04:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114110443.5634510D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 12:04:43 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: fix for bootstrapping from older cm3 that doesn't define HOST, such as PPC 5.2.6; something else still wrong From jkrell at elego.de Fri Nov 14 13:11:50 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:11:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121150.BF3F110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:11:50 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Unix.common Log message: workaround strange/undebugged namespace? behavior (on PPC_LINUX 5.2.6) and fix other namespace oversight From jkrell at elego.de Fri Nov 14 13:13:02 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:13:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121302.8650010D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:13:02 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Solaris.common Log message: fix newlines From jkrell at elego.de Fri Nov 14 13:34:08 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:34:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114123408.B51A110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:34:08 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: 1.cpp Log message: print more clearly, and remove two lines that don't compile on several systems From jkrell at elego.de Fri Nov 14 17:17:32 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 17:17:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114161732.4C59610D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 17:17:32 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/PPC_LINUX/: Csetjmp.i3 Log message: restore PPC_LINUX to not crashing at startup fix jmpbuf size still doesn't write out any *.mc files and then m3cg hangs From jkrell at elego.de Fri Nov 14 21:21:36 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 21:21:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114202136.EFAD110D589A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 21:21:36 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl Log message: turn off gc on AMD64_LINUX host here until further debugged From rodney at elego.de Sat Nov 15 04:11:24 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 15 Nov 2008 4:11:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081115031125.0DAD010D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/15 04:11:24 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-eval.c m3-exp.c Log message: Fix a bug in which ADR function, applied to a formal parameter passed by reference or a WITH-temp bound by reference failed to do the dereferencing. From rodney at elego.de Sun Nov 16 03:13:12 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 16 Nov 2008 3:13:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116021312.3F6EC10D598A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/16 03:13:12 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: Makefile.in m3-lang.c m3-threads.c m3-util.c m3-util.h m3-valprint.c Log message: When libm3core is dynamically loaded and a subsequent 'run' command, (after the first) is done, the location of runtime info (e.g., the typecells) needed by m3gdb can (and usually does) change. Formerly, m3gdb did not re-lookup runtime information, leaving lots of things horribly broken after the second 'run' command. Fix this bug. Also, make m3gdb a bit more robust in reacting to inability to find runtime information. From jkrell at elego.de Sun Nov 16 17:28:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 17:28:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116162817.8F0FB10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 17:28:17 Modified files: cm3/scripts/: sysinfo.sh Log message: detect MIPS64_OPENBSD (should later on revisit 'macppc' vs. something more generic, like this) From jkrell at elego.de Sun Nov 16 18:57:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 18:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116175752.72A5710D56FF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 18:57:52 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX cm3cfg.common cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 Log message: use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that it has a tendency to say contiguous, since we allocate bookkeeping per page and otherwise run out of memory netobj.tmp: go back a version, since it was working around out of memory from "mmap vs. sbrk" pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap cm3cfg.common: don't overwrite preceding GNU_MAKE From hosking at cs.purdue.edu Mon Nov 17 03:16:44 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 16 Nov 2008 20:16:44 -0600 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081116175752.72A5710D56FF@birch.elegosoft.com> References: <20081116175752.72A5710D56FF@birch.elegosoft.com> Message-ID: <135BC0D2-1829-4F3D-A225-9D9B16E58BDB@cs.purdue.edu> Using sbrk instead of mmap is a reasonable fix for now. I am disappointed that mmap is having such random behavior on AMD64_LINUX. Weird! On 16 Nov 2008, at 18:57, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/16 18:57:52 > > Modified files: > cm3/m3-comm/netobj/src/: netobj.tmpl > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 > cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX > cm3cfg.common > cm3/scripts/python/: pylib.py > Added files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 > > Log message: > use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that > it has a tendency to say contiguous, since we allocate bookkeeping > per page and otherwise run out of memory > > netobj.tmp: go back a version, since it was working around out of > memory > from "mmap vs. sbrk" > > pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap > cm3cfg.common: don't overwrite preceding GNU_MAKE From jkrell at elego.de Mon Nov 17 08:01:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 8:01:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117070129.19A9310D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 08:01:28 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: accept anything cm3-*.archive add lzma suffixes allow single files compressed -- .gz without .tar, etc. From jkrell at elego.de Mon Nov 17 09:14:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 9:14:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117081414.5553010D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 09:14:14 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: more flexible naming, at the cost of hardcoding a list of TARGETS From jkrell at elego.de Mon Nov 17 10:11:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 10:11:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117091135.6722910D5A19@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 10:11:35 Modified files: cm3/scripts/python/: pylib.py Log message: m3cc has to come first in case of bootstrapping rom just native cm3 (ok import-libs can come before it) From jkrell at elego.de Sat Nov 22 08:38:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 22 Nov 2008 8:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081122073838.4CA5610D5A6E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/22 08:38:38 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: use the right slash, to fix using NT386; and dos2unix From jkrell at elego.de Sun Nov 23 11:52:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:52:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105210.0542310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:52:09 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: fix size (on 64 bit platforms) and alignment (on all platforms) of sem_t From jkrell at elego.de Sun Nov 23 11:53:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:53:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105305.938C310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:53:05 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: remove dead import From jkrell at elego.de Sun Nov 23 15:12:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 15:12:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123141234.4584D10D5A6C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 15:12:34 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uucontext.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/linux-sparc32/: Uucontext.i3 m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: Uucontext.i3 m3makefile Log message: These are identical. From rodney at elego.de Sun Nov 23 19:04:59 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 23 Nov 2008 19:04:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123180459.3019910D5A78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/23 19:04:59 Modified files: cm3/scripts/: README Log message: Document the relation between action arguments to the do-cm3-*.sh scripts and the cm3 commands and options they execute. From hosking at elego.de Mon Nov 24 20:20:35 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:20:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192035.E407A10D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:20:35 Modified files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Make file descriptor CARDINAL instead of INTEGER to match implementation and avoid surprising run-time error. From hosking at elego.de Mon Nov 24 20:27:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:27:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192743.64C3510D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:27:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessCygwin.m3 Log message: dos2unix. From hosking at elego.de Mon Nov 24 21:28:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:28:14 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Some cleanup -- is scan_float really correct now? From hosking at elego.de Mon Nov 24 21:46:04 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:46:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124204604.E72F610D5AB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:46:04 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: Tidy up to keep us close to the historic source. From hosking at elego.de Mon Nov 24 22:03:47 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:03:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210347.ADB8A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:03:47 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/PPC_LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThreadC.c Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:04:38 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:04:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210438.DF66E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:04:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl Log message: Wrap long line. From hosking at elego.de Mon Nov 24 22:05:27 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210527.C694E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:27 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadF.i3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:05:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210556.0B2BB1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:56 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:06:28 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:06:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210628.7158A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:06:28 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: Upthread.i3 Log message: Add declaration for RWLOCK. From hosking at elego.de Mon Nov 24 22:22:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212201.D64F91704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:22:01 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: Tidy things up a little. From hosking at elego.de Mon Nov 24 22:25:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:25:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212502.3FEC51704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:25:01 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: Tidy up. From hosking at elego.de Mon Nov 24 22:34:25 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124213425.C5A791704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:34:25 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTHeapEvent.i3 RTHeapRep.i3 RTHeapStats.m3 Log message: One step closer to a fully sparse data structure for the heap. Page descriptors are now stored directly in the pages (each run of pages has its own header). The only global mapping that we need is from address to allocated page run. We currently need just 2 bits of information: 1 to say if the page is part of the allocated heap or not, and the other to say if the page is continued (i.e., the page header can be found at the first prior page that is not continued). The sparse data structure is only now needed for scanning ambiguous roots in the thread stacks. From hosking at elego.de Mon Nov 24 22:40:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:40:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124214014.4A16D1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:40:14 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSmmap.m3 Log message: Remove IMPORT Unix to avoid warning. From jay.krell at cornell.edu Mon Nov 24 22:55:01 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 24 Nov 2008 21:55:01 +0000 Subject: [M3commit] is scan_float really correct now? In-Reply-To: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> References: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> Message-ID: Yes I think so. Aren't the comments there clear? - Jay > Date: Mon, 24 Nov 2008 21:28:14 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/11/24 21:28:14> > Modified files:> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c > > Log message:> Some cleanup -- is scan_float really correct now?> -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at elego.de Tue Nov 25 17:30:50 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 25 Nov 2008 17:30:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081125163051.8D861B04044@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/25 17:30:50 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: Should fix regression from recent Tinderbox build. This still needs work to make the descriptor data structure sparse for 64-bit platforms. From hosking at elego.de Wed Nov 26 01:22:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 26 Nov 2008 1:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126002257.EF7DB10D59A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/26 01:22:57 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: m3makefile Log message: _fpsetjmp is dead. From jkrell at elego.de Wed Nov 26 09:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126082922.F3BDB10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:29:22 Added files: cm3/m3-libs/m3core/src/unix/linux-common/: Uerror.i3 Uexec.i3 Umman.i3 Unetdb.i3 Unix.i3 Uprocess.i3 Upthread.i3 Upwd.i3 Uresource.i3 Usched.i3 Usem.i3 Usignal.i3 Usocket.i3 Utime.i3 Utypes.i3 Uugid.i3 Uuio.i3 Uutmp.i3 Uutsname.i3 m3makefile Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:30:27 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:30:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083028.0FD1F10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:30:27 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c UnixC.c UstatC.c Uerror.i3.cpp Uutsname.i3.cpp Udir.i3 Ustat.i3 Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:31:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083116.AC5A810D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:16 Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:31:57 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083157.8238910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:57 Removed files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:38:48 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:38:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083848.362BA10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:38:48 Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uerror.i3 Usignal.i3 Usocket.i3 Log message: work on header cloning reduction/repair Linux/sparc often uses Solaris values presumably to ease binary compat From jkrell at elego.de Wed Nov 26 09:50:37 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:50:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126085037.18F8910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:50:36 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #includes and comments (not yet active) From jkrell at elego.de Wed Nov 26 10:09:08 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:09:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126090908.27A6A10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:09:08 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: cleanup scan_float just a little, the adr and type variables weren't really useful From jkrell at elego.de Wed Nov 26 10:19:55 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:19:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126091955.11C1E10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:19:54 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD2/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: malloc.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: malloc.c Log message: These are not mentioned in the m3makefiles, so they must be dead. From jkrell at elego.de Wed Nov 26 10:27:32 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:27:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126092733.3851610D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:27:32 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: dos2unix From jkrell at elego.de Wed Nov 26 10:41:41 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:41:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126094141.567C510D5ABA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:41:41 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/LINUXLIBC6/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Cstdio.i3 Cstdio.m3 Cstring.i3 Log message: move LINUXLIBC6 to common Cstdio.i3, Cstring.i3 From jkrell at elego.de Wed Nov 26 11:50:51 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 11:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126105051.7F33E10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 11:50:51 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: let it compile at least, not necessarily correct From jkrell at elego.de Thu Nov 27 03:45:45 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 27 Nov 2008 3:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081127024545.DAE8910D598B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/27 03:45:45 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: no point in probing for the same thing twice in a row From jkrell at elego.de Sun Nov 2 11:41:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:41:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104129.9EB7C10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:41:29 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3 Added files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: Make sure Uerror.i3 is correct -- generate it from C. From jkrell at elego.de Sun Nov 2 11:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104625.DBCBA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Uerror.i3.cpp Log message: reduce error prone repitition, like in the OpenBSD case From jkrell at elego.de Sun Nov 2 13:13:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 13:13:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102121331.304D810D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 13:13:31 Modified files: cm3/m3-libs/m3core/src/thread/: m3makefile Log message: fix newlines From rodney at elego.de Tue Nov 4 03:02:17 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 3:02:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104020217.EAE5A10D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 03:02:17 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: linespec.c m3-eval.c m3-exp.c m3-lang.c m3-util.c Log message: 1) Fix start command in CM3 to use Main_I3 as its breakpoint. This fixes wrong behaviour. 2) Some consistency fixes to unqualified identifier lookup in M3 linespecs. 3) Misc. minor fixes to comments, messages, and formatting. From rodney at elego.de Tue Nov 4 21:34:35 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 21:34:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104203435.DD78F1704001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 21:34:35 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-lang.c m3-util.c m3-util.h Log message: Make some int results that are truly boolean into bool. From rodney at elego.de Wed Nov 5 15:18:02 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 15:18:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105141802.B7F4510D4227@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 15:18:02 Added files: cm3/doc/help/m3gdb/: m3gdb.docbook m3gdb.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:45:45 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154545.A26641704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:45:45 Added files: cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:48:05 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154805.C9D9C1704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:48:05 Removed files: cm3/doc/help/m3gdb/: m3gdb.html Log message: needed stylesheet and better name From wagner at elego.de Thu Nov 6 07:37:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 7:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106063700.7D7A91704005@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 07:37:00 Modified files: cm3/doc/help/cm3/: cm3.html debugging.html gc.html cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: update m3gdb references From wagner at elego.de Thu Nov 6 08:06:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:06:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106070607.BBC861704013@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:06:07 Modified files: cm3/doc/: ship-cm3-www-doc Added files: cm3/doc/help/cm3/: cm3-quickref.html Log message: add cm3 quickref From wagner at elego.de Thu Nov 6 08:10:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:10:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106071031.02368F04001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:10:30 Modified files: cm3/www/: nav-doc.html news.html ship-cm3-www Log message: add m3gdb links From rodney at elego.de Fri Nov 7 04:08:10 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 7 Nov 2008 4:08:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081107030810.C4FC31704094@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/07 04:08:10 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-util.c Log message: Fix a bug in which, under certain conditioins, m3gdb could not find a global variable having a procedure type, e.g. RTAllocator.callback. From jkrell at elego.de Sun Nov 9 07:20:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:20:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062016.407EF10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:20:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3.cfg cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX LINUXLIBC6 PPC32_OPENBSD PPC_DARWIN PPC_LINUX SOLgnu SOLsun SPARC32_LINUX SPARC64_LINUX SPARC64_OPENBSD Unix.common Added files: cm3/m3-sys/cminstall/src/config-no-install/: MIPS64_OPENBSD cm3cfg.common Log message: begin combining nt386.common and unix.common (into cm3cg.common) mips64_openbsd support being migrating config-no-install/solgnu and solsun to Unix.common (had this sitting around, in intermediate state) go back to old formating because that is all the old C written m3build could handle add probing for host/target specific cm3cg (so I can stop copying it around as I switch targets) From jkrell at elego.de Sun Nov 9 07:24:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:24:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062442.9E77010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:24:42 Modified files: cm3/scripts/python/: pylib.py Log message: improved bootstrapping support - copy likely to be changed source files around - fix the output extension of .c files so incrementality works add cm3cfg.common From jkrell at elego.de Sun Nov 9 07:35:51 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:35:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109063551.9090610D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:35:51 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN SOLgnu Unix.common Log message: some small repair and cleanup From jkrell at elego.de Sun Nov 9 08:10:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:10:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109071053.50CAE10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:10:53 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Unix.common cm3cfg.common Added files: cm3/m3-sys/cminstall/src/config/: cm3cfg.common Log message: more fix and factor, and add stub for NT386 I thought I had just added From jkrell at elego.de Sun Nov 9 08:34:49 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:34:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073449.C1F0010D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:34:49 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:37:08 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:37:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073708.2A64810D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:37:08 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set AMD64_LINUX first readable address to 4k, removes many checks for null From jkrell at elego.de Sun Nov 9 08:42:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:42:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109074253.DA8EB10D583F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:42:53 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set the default first readable address to 4k; anything smaller than a page, on systems with an mmu, is suspicious, the FreeBSD value is suspicious since it forgets to convert a byte size to a bit size; however 0 is a safe value for this, it just causes extra null checks From jkrell at elego.de Sun Nov 9 08:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075458.989FC10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:54:58 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:57:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:57:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075744.F019C10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:57:44 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: Guard_page_size and Fixed_frame_size are never used, remove them From jkrell at elego.de Sun Nov 9 09:05:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:05:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080536.4D70410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:05:36 Modified files: cm3/scripts/python/: pylib.py Log message: this is Python, not Quake From jkrell at elego.de Sun Nov 9 09:06:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:06:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080634.3524610D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:06:34 Modified files: cm3/scripts/python/: pylib.py Log message: fix From jkrell at elego.de Sun Nov 9 10:17:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:17:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109091730.DFE6210D5840@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:17:30 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: remove Checks_integer_ops, it isn't used remove bitfields_can_overlap, it isn't used factor out commonalities PCC_bitfield_type_matters is typicall true little endian is typical true address always is word, except for cg_type Structure_size_boundary is typically 8 Setjmp is typicall _setjmp This reduces the amount of target-specific code, but maybe is the wrong choice, since each new port does have to consider the values and just letting e.g. little endian default is not safe. The others are more safe. From jkrell at elego.de Sun Nov 9 10:56:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:56:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109095605.9405710D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:56:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 11:06:19 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:06:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109100619.858FD10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:06:19 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/C/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Added files: cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 m3makefile Log message: initial MIPS64_OPENBSD support There are least two problems, progress is made by switching #if's in parse.c, but there is still a crash after that. hack on gcc a bit less use : for null command instead of echo for now, multiply out some small files instead of sharing in an unusual way later will move these to a "common" directory From jkrell at elego.de Sun Nov 9 11:53:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:53:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109105357.4E5AA10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:53:57 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/scripts/python/: pylib.py Log message: fix bootstrapping from older versions such as 5.5 -- older Win32 runtimes don't understand forward slashes in paths From jkrell at elego.de Sun Nov 9 12:05:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:05:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109110548.438F410D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:05:48 Modified files: cm3/m3-sys/m3middle/src/: M3File.m3 cm3/m3-sys/cminstall/src/: OS.i3 Main.m3 Log message: use a more direct way to determine 'OnUnix' From jkrell at elego.de Sun Nov 9 12:36:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:36:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109113654.64CA010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:36:54 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX cm3cfg.common Log message: fix new probing functionality, and comment as to it needing more work to trim the probes From jkrell at elego.de Sun Nov 9 14:33:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 14:33:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109133324.A62BB10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 14:33:24 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common MIPS64_OPENBSD Log message: fix small but fatal error -- setting m3back prevented the probe From jkrell at elego.de Sun Nov 9 17:43:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 17:43:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109164327.15C2E10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 17:43:27 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix reading integers that don't fit in a "host wide int" since host wide int is usually 64 bits, this doesn't really fix anything, but the code is bothering to read two host wide ints, so make it appear to do so correctly (unless I'm wrong..) fix tracing of integers From jkrell at elego.de Mon Nov 10 00:07:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:07:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109230758.BF62A10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:07:58 Modified files: cm3/m3-sys/cminstall/src/: OS.i3 Log message: fix From jkrell at elego.de Mon Nov 10 00:13:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109231343.B6B2710D589C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:13:43 Modified files: cm3/scripts/: sysinfo.sh Log message: let user set CM3_TARGET environment variable himself -- in order to let it be SOLsun instead of SOLgnu From jkrell at elego.de Mon Nov 10 00:22:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:22:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109232215.9A8D210D57C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:22:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun Unix.common cm3cfg.common Log message: cleanup and combine config files linking gcc output with MS linker doesn't work, remove support because they differ in the name of the __ImageBase symbol "gcc output" desired was libcygwin.a, along with integrated backend output GNU ld throws out the integrated backend symbol The failed goal was to use integrated backend for I386_CYGWIN, and be debuggable with windbg/cdb. GNU ld is now on my path on Solaris, use /usr/ccs/bin/ld directly gcc is not working for me for linking on Solaris, use /usr/ccs/bin/ld directly (something simple, unresolved symbol "main", I must not be telling it correctly to build a shared object) gcc on my path is sparc64 targeting and not multilib enabled, so use {target}-gcc explicitly, where target is sparc-sun-solaris2.10; {target}-gcc is always reasonable, though {target} may have a non-canonical name like spar-solaris, or be very site specific like the "2.10" part (sparc64...) move portable parts to cm3cfg.common, even if they aren't used there From jkrell at elego.de Mon Nov 10 08:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 8:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110075958.CA33C10D58C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 08:59:58 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: remove unused StackFrameAlignment, it is only for runtimes that allocate their own stacks, like posix/user/vtalarm threads, not pthreads/kernel/NT threads From jkrell at elego.de Mon Nov 10 09:03:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 9:03:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110080342.AFD1310D58C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 09:03:42 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: FramePadBottom and FramePadTop are also unused on platforms that only have pthreads/kernel/NT threads From hosking at cs.purdue.edu Mon Nov 10 11:53:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 10 Nov 2008 10:53:53 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081110075958.CA33C10D58C9@birch.elegosoft.com> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> Message-ID: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Ideally, we would be able to switch between POSIX and PTHREAD at compile-time regardless of platform, so it might not be a bad idea to keep those as a placeholder. On 10 Nov 2008, at 08:59, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/10 08:59:58 > > Modified files: > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > > Log message: > remove unused StackFrameAlignment, it is only for runtimes > that allocate their own stacks, like posix/user/vtalarm threads, > not pthreads/kernel/NT threads From jay.krell at cornell.edu Mon Nov 10 12:06:37 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 10 Nov 2008 11:06:37 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Message-ID: I think user mode threads are not worthwhile. I don't add support for them in any new target (except if I ever get to DJGPP). I'm not removing the support where it exists. It looks like I messed up FramePadBottom / FramePadTop. I'll fix /very/ shortly (just realized it). - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Mon, 10 Nov 2008 10:53:53 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Ideally, we would be able to switch between POSIX and PTHREAD at > compile-time regardless of platform, so it might not be a bad idea to > keep those as a placeholder.> > On 10 Nov 2008, at 08:59, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/10 08:59:58> >> > Modified files:> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> >> > Log message:> > remove unused StackFrameAlignment, it is only for runtimes> > that allocate their own stacks, like posix/user/vtalarm threads,> > not pthreads/kernel/NT threads> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Nov 10 14:44:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 14:44:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110134444.11B8710D4D09@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 14:44:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/NT386GNU/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 RTSignal.m3 m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Solaris.common Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Cstdio.i3 cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTThread.m3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTThread.m3 RTThreadC.c Log message: enough SPARC64_SOLARIS support to build a bootstrap package, build the bootstrap on the target, and startup cm3, which then hits an alignment fault in RTLinker__AddUnit. This shouldn't be hard to get past, it is doing ldx against an address that is not a multiple of 4. -bash-3.00$ dbx ./cm3 (dbx) run Running: cm3 (process id 3185) Reading libc_psr.so.1 t at 1 (l at 1) signal BUS (invalid address alignment) in RTLinker__AddUnit at 0x10036e028 0x000000010036e028: RTLinker__AddUnit+0x001c: ldx [%g1], %g1 Current function is main 12 RTLinker__InitRuntime (argc, argv, envp, 0); (dbx) where current thread: t at 1 [1] RTLinker__AddUnit(0x10036d984, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x10036e028 [2] RTLinker__InitRuntime(0x1, 0xffffffff7ffffb78, 0xffffffff7ffffb88, 0x0, 0x0, 0x0), at 0x10036db18 =>[3] main(argc = 1, argv = 0xffffffff7ffffb78, envp = 0xffffffff7ffffb88), line 12 in "_m3main.c" (dbx) print $g1 $g1 = 4298561924ULL This gives us another big endian 64 bit system, rather than only MIPS64_OPENBSD. Also remove a sh wrapper on NT in m3cc. Otherwise I was going to rename the file to include M3CC_TARGET, so concurrent builds don't step on each other. Significant working and reworking of config-no-install/*sol*, though ultimately this will probably be trimmed down substantially once I use multilibed gcc. (Note that SOLsun is easy, if you dig past the gcc stuff, and that SPARC64_SOLARIS is using the Sun compiler also, but Solaris now factored like NT so that you can say C_COMPILER = "SUN" or C_COMPILER = "GNU" (at least my config files are; I didn't touch the others). Presumably fix the building of a few minor platforms from earlier tonight, and then some -- go ahead and remove the dummy RTThread.i3 and RTThread.m3 on platforms that just had stubs. (I broke them by removing RTMachine.StackTopPad or such, presumably; these are mostly "immature" platforms, except I386_CYGWIN) Note that I cheated in building my m3cg and hand patched auto-host.h rather than wait for the configure command line change to trickle through. It should be equiv. Move the common Cstdio.i3 and Cstring.i3 to common. This can be more all platforms later, but for now is only for some. Also the Solaris "unix" directory needs to be revisited, probably start over from a minimal Cygwin or OpenBSD base, at least for new Solaris targets. Also new files are likely to have carriage returns, but preexisting files shouldn't. From jkrell at elego.de Mon Nov 10 15:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110143906.C2D9510D58C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:39:06 Modified files: cm3/m3-libs/m3core/src/text/: TextLiteral.i3 Log message: let 32 bit hosts bootstrap 64 bit targets, until the real fix is made From jkrell at elego.de Mon Nov 10 15:40:09 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:40:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144009.0F52110D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:40:09 Modified files: cm3/scripts/python/: pylib.py Log message: make bootstrap packaging less finicky -- the directory is often in use and can't be deleted, but all the files are and that suffices From jkrell at elego.de Mon Nov 10 15:41:55 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:41:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144155.5EFE810D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:41:55 Modified files: cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix two causes of alignment faults on SPARC64_SOLARIS, one checking if binders are closures (they never are, right? maybe this can be optimized?) and the second while collecting garbage From jkrell at elego.de Tue Nov 11 13:47:44 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 13:47:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111124745.0595F10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 13:47:44 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: fix build-breakage from earlier cleanup From jkrell at elego.de Tue Nov 11 14:41:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:41:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111134115.E58BC10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:41:15 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c Cstring.i3 Log message: remove more residue of user thread support for systems on which it was never complete/working (and probably never will be) where possible -- which is fairly often -- share Csetjmp.i3 again, on systems without user thread support, so the size of jmp_buf isn't needed, and where longjmp == "_longjmp" (not NT386) move NT386 to common Cstdio.i3, Cstring.i3 use paranoidgc on AMD64_LINUX for now (pylib.py) From jkrell at elego.de Tue Nov 11 14:57:28 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:57:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135728.4D34510D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:57:28 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 Log message: more common code, esp. on systems with no user threads (some of the previous commit was incomplete) From jkrell at elego.de Tue Nov 11 14:58:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:58:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135858.416BA10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:58:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: oops From jkrell at elego.de Tue Nov 11 15:05:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111140543.3D9AB10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:05:43 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: fix warning From jkrell at elego.de Tue Nov 11 15:27:29 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:27:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111142729.59C8E10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:27:29 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 Added files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Log message: back up a bunch -- Csetjmp is not dead and we need to adjust it perhaps From hosking at cs.purdue.edu Tue Nov 11 21:09:23 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 11 Nov 2008 20:09:23 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081111142729.59C8E10D582C@birch.elegosoft.com> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> Message-ID: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Yes, it is needed for exceptions. On 11 Nov 2008, at 15:27, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/11 15:27:29 > > Modified files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/Common/: m3makefile > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 > Added files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 > Removed files: > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 > > Log message: > back up a bunch -- Csetjmp is not dead > and we need to adjust it perhaps From jkrell at elego.de Wed Nov 12 05:20:50 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:20:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042050.B8A5610D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:20:50 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: go back a version here too From jkrell at elego.de Wed Nov 12 05:21:49 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:21:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042149.9254F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:21:49 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: and then fix it too (huh/wow?) From jkrell at elego.de Wed Nov 12 05:24:44 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:24:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042444.2F12C10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:24:44 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: actually I think it was ok -- the compiler allocates the jmpbuf for try blocks, so the runtime doesn't need to know the size...probably the others were ok but need to double double check From jkrell at elego.de Wed Nov 12 05:27:26 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:27:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042726.43B4F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:27:26 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Log message: fix jumpbuf sizes, but I again don't think it matters, and AMD64_LINUX was already the right size (comment only there) so alas that won't help with the intermittent but common problem running stubgen From jay.krell at cornell.edu Wed Nov 12 05:29:40 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 04:29:40 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Message-ID: I don't think the size of jmpbuf needed. I think I was closer to correct/ok than I later thought. A type is needed and ulongjmp is needed, but the compiler allocates the storage. I'll try this (mostly) again at some point but not now. - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Tue, 11 Nov 2008 20:09:23 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Yes, it is needed for exceptions.> > On 11 Nov 2008, at 15:27, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/11 15:27:29> >> > Modified files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/Common/: m3makefile> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3> > Added files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3> > Removed files:> > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3> >> > Log message:> > back up a bunch -- Csetjmp is not dead> > and we need to adjust it perhaps> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Wed Nov 12 05:41:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:41:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112044116.A4CD410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:41:16 Modified files: cm3/scripts/python/: pylib.py Log message: allow keep on command line From jkrell at elego.de Wed Nov 12 05:58:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:58:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112045816.89D8010D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:58:16 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Log message: fix newlines and fix ignored error printed out when we go to probe the compiler From jkrell at elego.de Wed Nov 12 08:32:54 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 8:32:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112073254.5B2DB10D592B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 08:32:54 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: MIPS64 procedures are not aligned to the alignment an integer. This is actually a safe inefficient default, and very common on 64 bit non-x86 systems -- systems at which reading a code pointer as an integer needs to be careful about alignment. This is used by the generated code for the imho questionable sniffing to determine if a function pointer is a "closure" or not, by checking if it starts with the integer -1. From jkrell at elego.de Wed Nov 12 10:52:43 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 10:52:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112095243.ECDDC10D595D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 10:52:43 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix size of MIPS64_OPENBSD jmp_buf, so M3ID main body doesn't corrupt stack; and alignment generally of 64 bit jump_bufs From jkrell at elego.de Wed Nov 12 12:35:33 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 12:35:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112113534.0B55E10D595F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 12:35:33 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Log message: It IS important to size the jmp_buf correctly, on pthreads systems, else large allocation (such as in M3ID's initializers) => garbage collector (or just via normal garbage accretion) => ProcessStacks => ProcessMe => RTMachine.SaveState => typicall setjmp, or getcontext Win32 doesn't use RTMachine.SaveState, it uses GetThreadContext. Ideally this size would not be repeated in both Csetjmp.i3 and Target.m3. Also change Target.m3 for this case to "look the same" -- use hex and integers/address instead of decimal/bytes (safe assumption that sizeof(integer)==sizeof(address)) From jkrell at elego.de Wed Nov 12 14:38:13 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:38:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112133813.ACD5C10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:38:13 Modified files: cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 Added files: cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 Removed files: cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 Log message: fix alignment of pthread types array of char is not right This has not been seen to be a problem, but it is definitely highly suspicious. Unless perhaps record alignment is somehow always boosted beyond its constituents? (unlikely) perhaps these should be wrapped in arrays to avoid some undesired type equivalences? This is tedious/error prone, could use triple/quadruple checking. LINUXLIBC6 ./upgrade.py from a recent snapshot succeeded PPC_LINUX was already broken/crashing, not tested today (to be looked into) not likely any other Linux target in use (yet) only Linux platforms affected while at it, apparently fix SPARC32_LINUX, to use 32bit sizes instead of 64bit. Note that one of the types has "long long" alignment and therefore was never? properly implementable with an older compiler. Note also that bootstrapping will now require, if it didn't already, a compiler that supports LONGINT. (However this could be patched to an array of two INTEGERs for bootstrapping purposes.) note also this turned up a compiler internal error initializing an array of longint (later..) and some strange problems targeting I386_LINUX with an AMD64_LINUX front end -- the negative shifts in Unix.i3 are reported as not constant, and there are some errors in m3x86. (later..) (should be upthreadTypes.i3 or upthreadtypes.i3? I chose to follow what the C headers do) From jkrell at elego.de Wed Nov 12 14:40:17 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:40:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112134018.027D910D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:40:17 Modified files: cm3/m3-libs/m3core/src/unix/linux-amd64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: m3makefile Log message: forgot to copy/commit m3makefile -- remove UpthreadMachine From jkrell at elego.de Wed Nov 12 15:36:38 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 15:36:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112143638.0918F10D589E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 15:36:38 Modified files: cm3/scripts/python/: pylib.py Log message: turning off gc here isn't where it is 'needed' anyway, it is the invocations of 'stubgen' From jay.krell at cornell.edu Wed Nov 12 15:48:31 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 14:48:31 +0000 Subject: [M3commit] FW: comment about needing longint to bootstrap.. In-Reply-To: <20081112133813.ACD5C10D5877@birch.elegosoft.com> References: <20081112133813.ACD5C10D5877@birch.elegosoft.com> Message-ID: > will now require, if it didn't already, a compiler that supports LONGINT. That part of the comment is false, sorry. - Jay> Date: Wed, 12 Nov 2008 > To: m3commit> From: j> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: jkrell at birch. 08/11/12 14:38:13> > Modified files:> cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 > Added files:> cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 > cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 > Removed files:> cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 > Note also that> bootstrapping> will now require, if it didn't already, a compiler that supports> LONGINT.> (However this could be patched to an array of two INTEGERs for> bootstrapping purposes.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Nov 12 16:05:50 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:05:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112150550.F18C010D5962@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:05:50 Modified files: cm3/doc/help/m3gdb/: m3gdb.docbook Log message: Insert one minor missing blank From rodney at elego.de Wed Nov 12 16:21:41 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:21:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112152142.02AEA10D5970@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:21:41 Modified files: cm3/m3-libs/libm3/src/pickle/ver2/: Pickle2.m3 Log message: Pickles in both PM3 and CM3 have some hard-coded fingerprints for common types, but the values are not consistent about byte order. Fix CM2 pickle-reading code to accept values of types NULL, ROOT, UNTRACED ROOT, ADDRESS, AND REFANY, written by PM3 pickle-writing code. Probably, the latter two can't even happen in a pickle, unless somebody wrote a custom special for them. This still won't handle a more complex type that depends on these types, e.g., an object that contains a field of one of them. This latter is probably not feasable, because it would require "decrypting" fingerprints, and the hash algorithm for fingerprints is lossy. From jkrell at elego.de Fri Nov 14 12:04:43 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 12:04:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114110443.5634510D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 12:04:43 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: fix for bootstrapping from older cm3 that doesn't define HOST, such as PPC 5.2.6; something else still wrong From jkrell at elego.de Fri Nov 14 13:11:50 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:11:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121150.BF3F110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:11:50 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Unix.common Log message: workaround strange/undebugged namespace? behavior (on PPC_LINUX 5.2.6) and fix other namespace oversight From jkrell at elego.de Fri Nov 14 13:13:02 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:13:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121302.8650010D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:13:02 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Solaris.common Log message: fix newlines From jkrell at elego.de Fri Nov 14 13:34:08 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:34:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114123408.B51A110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:34:08 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: 1.cpp Log message: print more clearly, and remove two lines that don't compile on several systems From jkrell at elego.de Fri Nov 14 17:17:32 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 17:17:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114161732.4C59610D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 17:17:32 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/PPC_LINUX/: Csetjmp.i3 Log message: restore PPC_LINUX to not crashing at startup fix jmpbuf size still doesn't write out any *.mc files and then m3cg hangs From jkrell at elego.de Fri Nov 14 21:21:36 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 21:21:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114202136.EFAD110D589A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 21:21:36 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl Log message: turn off gc on AMD64_LINUX host here until further debugged From rodney at elego.de Sat Nov 15 04:11:24 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 15 Nov 2008 4:11:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081115031125.0DAD010D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/15 04:11:24 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-eval.c m3-exp.c Log message: Fix a bug in which ADR function, applied to a formal parameter passed by reference or a WITH-temp bound by reference failed to do the dereferencing. From rodney at elego.de Sun Nov 16 03:13:12 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 16 Nov 2008 3:13:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116021312.3F6EC10D598A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/16 03:13:12 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: Makefile.in m3-lang.c m3-threads.c m3-util.c m3-util.h m3-valprint.c Log message: When libm3core is dynamically loaded and a subsequent 'run' command, (after the first) is done, the location of runtime info (e.g., the typecells) needed by m3gdb can (and usually does) change. Formerly, m3gdb did not re-lookup runtime information, leaving lots of things horribly broken after the second 'run' command. Fix this bug. Also, make m3gdb a bit more robust in reacting to inability to find runtime information. From jkrell at elego.de Sun Nov 16 17:28:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 17:28:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116162817.8F0FB10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 17:28:17 Modified files: cm3/scripts/: sysinfo.sh Log message: detect MIPS64_OPENBSD (should later on revisit 'macppc' vs. something more generic, like this) From jkrell at elego.de Sun Nov 16 18:57:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 18:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116175752.72A5710D56FF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 18:57:52 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX cm3cfg.common cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 Log message: use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that it has a tendency to say contiguous, since we allocate bookkeeping per page and otherwise run out of memory netobj.tmp: go back a version, since it was working around out of memory from "mmap vs. sbrk" pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap cm3cfg.common: don't overwrite preceding GNU_MAKE From hosking at cs.purdue.edu Mon Nov 17 03:16:44 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 16 Nov 2008 20:16:44 -0600 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081116175752.72A5710D56FF@birch.elegosoft.com> References: <20081116175752.72A5710D56FF@birch.elegosoft.com> Message-ID: <135BC0D2-1829-4F3D-A225-9D9B16E58BDB@cs.purdue.edu> Using sbrk instead of mmap is a reasonable fix for now. I am disappointed that mmap is having such random behavior on AMD64_LINUX. Weird! On 16 Nov 2008, at 18:57, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/16 18:57:52 > > Modified files: > cm3/m3-comm/netobj/src/: netobj.tmpl > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 > cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX > cm3cfg.common > cm3/scripts/python/: pylib.py > Added files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 > > Log message: > use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that > it has a tendency to say contiguous, since we allocate bookkeeping > per page and otherwise run out of memory > > netobj.tmp: go back a version, since it was working around out of > memory > from "mmap vs. sbrk" > > pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap > cm3cfg.common: don't overwrite preceding GNU_MAKE From jkrell at elego.de Mon Nov 17 08:01:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 8:01:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117070129.19A9310D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 08:01:28 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: accept anything cm3-*.archive add lzma suffixes allow single files compressed -- .gz without .tar, etc. From jkrell at elego.de Mon Nov 17 09:14:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 9:14:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117081414.5553010D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 09:14:14 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: more flexible naming, at the cost of hardcoding a list of TARGETS From jkrell at elego.de Mon Nov 17 10:11:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 10:11:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117091135.6722910D5A19@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 10:11:35 Modified files: cm3/scripts/python/: pylib.py Log message: m3cc has to come first in case of bootstrapping rom just native cm3 (ok import-libs can come before it) From jkrell at elego.de Sat Nov 22 08:38:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 22 Nov 2008 8:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081122073838.4CA5610D5A6E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/22 08:38:38 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: use the right slash, to fix using NT386; and dos2unix From jkrell at elego.de Sun Nov 23 11:52:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:52:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105210.0542310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:52:09 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: fix size (on 64 bit platforms) and alignment (on all platforms) of sem_t From jkrell at elego.de Sun Nov 23 11:53:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:53:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105305.938C310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:53:05 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: remove dead import From jkrell at elego.de Sun Nov 23 15:12:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 15:12:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123141234.4584D10D5A6C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 15:12:34 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uucontext.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/linux-sparc32/: Uucontext.i3 m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: Uucontext.i3 m3makefile Log message: These are identical. From rodney at elego.de Sun Nov 23 19:04:59 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 23 Nov 2008 19:04:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123180459.3019910D5A78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/23 19:04:59 Modified files: cm3/scripts/: README Log message: Document the relation between action arguments to the do-cm3-*.sh scripts and the cm3 commands and options they execute. From hosking at elego.de Mon Nov 24 20:20:35 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:20:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192035.E407A10D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:20:35 Modified files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Make file descriptor CARDINAL instead of INTEGER to match implementation and avoid surprising run-time error. From hosking at elego.de Mon Nov 24 20:27:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:27:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192743.64C3510D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:27:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessCygwin.m3 Log message: dos2unix. From hosking at elego.de Mon Nov 24 21:28:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:28:14 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Some cleanup -- is scan_float really correct now? From hosking at elego.de Mon Nov 24 21:46:04 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:46:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124204604.E72F610D5AB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:46:04 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: Tidy up to keep us close to the historic source. From hosking at elego.de Mon Nov 24 22:03:47 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:03:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210347.ADB8A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:03:47 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/PPC_LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThreadC.c Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:04:38 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:04:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210438.DF66E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:04:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl Log message: Wrap long line. From hosking at elego.de Mon Nov 24 22:05:27 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210527.C694E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:27 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadF.i3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:05:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210556.0B2BB1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:56 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:06:28 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:06:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210628.7158A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:06:28 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: Upthread.i3 Log message: Add declaration for RWLOCK. From hosking at elego.de Mon Nov 24 22:22:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212201.D64F91704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:22:01 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: Tidy things up a little. From hosking at elego.de Mon Nov 24 22:25:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:25:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212502.3FEC51704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:25:01 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: Tidy up. From hosking at elego.de Mon Nov 24 22:34:25 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124213425.C5A791704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:34:25 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTHeapEvent.i3 RTHeapRep.i3 RTHeapStats.m3 Log message: One step closer to a fully sparse data structure for the heap. Page descriptors are now stored directly in the pages (each run of pages has its own header). The only global mapping that we need is from address to allocated page run. We currently need just 2 bits of information: 1 to say if the page is part of the allocated heap or not, and the other to say if the page is continued (i.e., the page header can be found at the first prior page that is not continued). The sparse data structure is only now needed for scanning ambiguous roots in the thread stacks. From hosking at elego.de Mon Nov 24 22:40:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:40:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124214014.4A16D1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:40:14 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSmmap.m3 Log message: Remove IMPORT Unix to avoid warning. From jay.krell at cornell.edu Mon Nov 24 22:55:01 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 24 Nov 2008 21:55:01 +0000 Subject: [M3commit] is scan_float really correct now? In-Reply-To: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> References: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> Message-ID: Yes I think so. Aren't the comments there clear? - Jay > Date: Mon, 24 Nov 2008 21:28:14 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/11/24 21:28:14> > Modified files:> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c > > Log message:> Some cleanup -- is scan_float really correct now?> -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at elego.de Tue Nov 25 17:30:50 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 25 Nov 2008 17:30:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081125163051.8D861B04044@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/25 17:30:50 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: Should fix regression from recent Tinderbox build. This still needs work to make the descriptor data structure sparse for 64-bit platforms. From hosking at elego.de Wed Nov 26 01:22:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 26 Nov 2008 1:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126002257.EF7DB10D59A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/26 01:22:57 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: m3makefile Log message: _fpsetjmp is dead. From jkrell at elego.de Wed Nov 26 09:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126082922.F3BDB10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:29:22 Added files: cm3/m3-libs/m3core/src/unix/linux-common/: Uerror.i3 Uexec.i3 Umman.i3 Unetdb.i3 Unix.i3 Uprocess.i3 Upthread.i3 Upwd.i3 Uresource.i3 Usched.i3 Usem.i3 Usignal.i3 Usocket.i3 Utime.i3 Utypes.i3 Uugid.i3 Uuio.i3 Uutmp.i3 Uutsname.i3 m3makefile Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:30:27 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:30:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083028.0FD1F10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:30:27 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c UnixC.c UstatC.c Uerror.i3.cpp Uutsname.i3.cpp Udir.i3 Ustat.i3 Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:31:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083116.AC5A810D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:16 Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:31:57 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083157.8238910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:57 Removed files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:38:48 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:38:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083848.362BA10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:38:48 Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uerror.i3 Usignal.i3 Usocket.i3 Log message: work on header cloning reduction/repair Linux/sparc often uses Solaris values presumably to ease binary compat From jkrell at elego.de Wed Nov 26 09:50:37 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:50:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126085037.18F8910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:50:36 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #includes and comments (not yet active) From jkrell at elego.de Wed Nov 26 10:09:08 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:09:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126090908.27A6A10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:09:08 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: cleanup scan_float just a little, the adr and type variables weren't really useful From jkrell at elego.de Wed Nov 26 10:19:55 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:19:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126091955.11C1E10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:19:54 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD2/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: malloc.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: malloc.c Log message: These are not mentioned in the m3makefiles, so they must be dead. From jkrell at elego.de Wed Nov 26 10:27:32 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:27:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126092733.3851610D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:27:32 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: dos2unix From jkrell at elego.de Wed Nov 26 10:41:41 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:41:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126094141.567C510D5ABA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:41:41 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/LINUXLIBC6/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Cstdio.i3 Cstdio.m3 Cstring.i3 Log message: move LINUXLIBC6 to common Cstdio.i3, Cstring.i3 From jkrell at elego.de Wed Nov 26 11:50:51 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 11:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126105051.7F33E10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 11:50:51 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: let it compile at least, not necessarily correct From jkrell at elego.de Thu Nov 27 03:45:45 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 27 Nov 2008 3:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081127024545.DAE8910D598B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/27 03:45:45 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: no point in probing for the same thing twice in a row From jkrell at elego.de Sun Nov 2 11:41:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:41:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104129.9EB7C10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:41:29 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3 Added files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: Make sure Uerror.i3 is correct -- generate it from C. From jkrell at elego.de Sun Nov 2 11:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 11:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102104625.DBCBA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 11:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Uerror.i3.cpp Log message: reduce error prone repitition, like in the OpenBSD case From jkrell at elego.de Sun Nov 2 13:13:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 2 Nov 2008 13:13:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081102121331.304D810D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/02 13:13:31 Modified files: cm3/m3-libs/m3core/src/thread/: m3makefile Log message: fix newlines From rodney at elego.de Tue Nov 4 03:02:17 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 3:02:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104020217.EAE5A10D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 03:02:17 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: linespec.c m3-eval.c m3-exp.c m3-lang.c m3-util.c Log message: 1) Fix start command in CM3 to use Main_I3 as its breakpoint. This fixes wrong behaviour. 2) Some consistency fixes to unqualified identifier lookup in M3 linespecs. 3) Misc. minor fixes to comments, messages, and formatting. From rodney at elego.de Tue Nov 4 21:34:35 2008 From: rodney at elego.de (Rodney M. Bates) Date: Tue, 4 Nov 2008 21:34:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081104203435.DD78F1704001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/04 21:34:35 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-lang.c m3-util.c m3-util.h Log message: Make some int results that are truly boolean into bool. From rodney at elego.de Wed Nov 5 15:18:02 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 15:18:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105141802.B7F4510D4227@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 15:18:02 Added files: cm3/doc/help/m3gdb/: m3gdb.docbook m3gdb.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:45:45 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154545.A26641704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:45:45 Added files: cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: Initial commit of new m3gdb documentation. From rodney at elego.de Wed Nov 5 16:48:05 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 5 Nov 2008 16:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081105154805.C9D9C1704008@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/05 16:48:05 Removed files: cm3/doc/help/m3gdb/: m3gdb.html Log message: needed stylesheet and better name From wagner at elego.de Thu Nov 6 07:37:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 7:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106063700.7D7A91704005@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 07:37:00 Modified files: cm3/doc/help/cm3/: cm3.html debugging.html gc.html cm3/doc/help/m3gdb/: m3gdb-onepage.html Log message: update m3gdb references From wagner at elego.de Thu Nov 6 08:06:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:06:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106070607.BBC861704013@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:06:07 Modified files: cm3/doc/: ship-cm3-www-doc Added files: cm3/doc/help/cm3/: cm3-quickref.html Log message: add cm3 quickref From wagner at elego.de Thu Nov 6 08:10:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 6 Nov 2008 8:10:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081106071031.02368F04001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/11/06 08:10:30 Modified files: cm3/www/: nav-doc.html news.html ship-cm3-www Log message: add m3gdb links From rodney at elego.de Fri Nov 7 04:08:10 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 7 Nov 2008 4:08:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081107030810.C4FC31704094@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/07 04:08:10 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-util.c Log message: Fix a bug in which, under certain conditioins, m3gdb could not find a global variable having a procedure type, e.g. RTAllocator.callback. From jkrell at elego.de Sun Nov 9 07:20:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:20:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062016.407EF10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:20:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3.cfg cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX LINUXLIBC6 PPC32_OPENBSD PPC_DARWIN PPC_LINUX SOLgnu SOLsun SPARC32_LINUX SPARC64_LINUX SPARC64_OPENBSD Unix.common Added files: cm3/m3-sys/cminstall/src/config-no-install/: MIPS64_OPENBSD cm3cfg.common Log message: begin combining nt386.common and unix.common (into cm3cg.common) mips64_openbsd support being migrating config-no-install/solgnu and solsun to Unix.common (had this sitting around, in intermediate state) go back to old formating because that is all the old C written m3build could handle add probing for host/target specific cm3cg (so I can stop copying it around as I switch targets) From jkrell at elego.de Sun Nov 9 07:24:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:24:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109062442.9E77010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:24:42 Modified files: cm3/scripts/python/: pylib.py Log message: improved bootstrapping support - copy likely to be changed source files around - fix the output extension of .c files so incrementality works add cm3cfg.common From jkrell at elego.de Sun Nov 9 07:35:51 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 7:35:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109063551.9090610D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 07:35:51 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN SOLgnu Unix.common Log message: some small repair and cleanup From jkrell at elego.de Sun Nov 9 08:10:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:10:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109071053.50CAE10D5894@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:10:53 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Unix.common cm3cfg.common Added files: cm3/m3-sys/cminstall/src/config/: cm3cfg.common Log message: more fix and factor, and add stub for NT386 I thought I had just added From jkrell at elego.de Sun Nov 9 08:34:49 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:34:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073449.C1F0010D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:34:49 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:37:08 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:37:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109073708.2A64810D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:37:08 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set AMD64_LINUX first readable address to 4k, removes many checks for null From jkrell at elego.de Sun Nov 9 08:42:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:42:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109074253.DA8EB10D583F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:42:53 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: set the default first readable address to 4k; anything smaller than a page, on systems with an mmu, is suspicious, the FreeBSD value is suspicious since it forgets to convert a byte size to a bit size; however 0 is a safe value for this, it just causes extra null checks From jkrell at elego.de Sun Nov 9 08:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075458.989FC10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:54:58 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 08:57:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 8:57:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109075744.F019C10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 08:57:44 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: Guard_page_size and Fixed_frame_size are never used, remove them From jkrell at elego.de Sun Nov 9 09:05:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:05:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080536.4D70410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:05:36 Modified files: cm3/scripts/python/: pylib.py Log message: this is Python, not Quake From jkrell at elego.de Sun Nov 9 09:06:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 9:06:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109080634.3524610D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 09:06:34 Modified files: cm3/scripts/python/: pylib.py Log message: fix From jkrell at elego.de Sun Nov 9 10:17:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:17:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109091730.DFE6210D5840@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:17:30 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Log message: remove Checks_integer_ops, it isn't used remove bitfields_can_overlap, it isn't used factor out commonalities PCC_bitfield_type_matters is typicall true little endian is typical true address always is word, except for cg_type Structure_size_boundary is typically 8 Setjmp is typicall _setjmp This reduces the amount of target-specific code, but maybe is the wrong choice, since each new port does have to consider the values and just letting e.g. little endian default is not safe. The others are more safe. From jkrell at elego.de Sun Nov 9 10:56:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 10:56:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109095605.9405710D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 10:56:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 Log message: fix newlines From jkrell at elego.de Sun Nov 9 11:06:19 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:06:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109100619.858FD10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:06:19 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/C/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 Added files: cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 m3makefile Log message: initial MIPS64_OPENBSD support There are least two problems, progress is made by switching #if's in parse.c, but there is still a crash after that. hack on gcc a bit less use : for null command instead of echo for now, multiply out some small files instead of sharing in an unusual way later will move these to a "common" directory From jkrell at elego.de Sun Nov 9 11:53:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 11:53:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109105357.4E5AA10D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 11:53:57 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/scripts/python/: pylib.py Log message: fix bootstrapping from older versions such as 5.5 -- older Win32 runtimes don't understand forward slashes in paths From jkrell at elego.de Sun Nov 9 12:05:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:05:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109110548.438F410D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:05:48 Modified files: cm3/m3-sys/m3middle/src/: M3File.m3 cm3/m3-sys/cminstall/src/: OS.i3 Main.m3 Log message: use a more direct way to determine 'OnUnix' From jkrell at elego.de Sun Nov 9 12:36:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 12:36:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109113654.64CA010D587A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 12:36:54 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_LINUX cm3cfg.common Log message: fix new probing functionality, and comment as to it needing more work to trim the probes From jkrell at elego.de Sun Nov 9 14:33:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 14:33:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109133324.A62BB10D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 14:33:24 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common MIPS64_OPENBSD Log message: fix small but fatal error -- setting m3back prevented the probe From jkrell at elego.de Sun Nov 9 17:43:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 9 Nov 2008 17:43:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109164327.15C2E10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/09 17:43:27 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix reading integers that don't fit in a "host wide int" since host wide int is usually 64 bits, this doesn't really fix anything, but the code is bothering to read two host wide ints, so make it appear to do so correctly (unless I'm wrong..) fix tracing of integers From jkrell at elego.de Mon Nov 10 00:07:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:07:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109230758.BF62A10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:07:58 Modified files: cm3/m3-sys/cminstall/src/: OS.i3 Log message: fix From jkrell at elego.de Mon Nov 10 00:13:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109231343.B6B2710D589C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:13:43 Modified files: cm3/scripts/: sysinfo.sh Log message: let user set CM3_TARGET environment variable himself -- in order to let it be SOLsun instead of SOLgnu From jkrell at elego.de Mon Nov 10 00:22:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 0:22:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081109232215.9A8D210D57C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 00:22:15 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun Unix.common cm3cfg.common Log message: cleanup and combine config files linking gcc output with MS linker doesn't work, remove support because they differ in the name of the __ImageBase symbol "gcc output" desired was libcygwin.a, along with integrated backend output GNU ld throws out the integrated backend symbol The failed goal was to use integrated backend for I386_CYGWIN, and be debuggable with windbg/cdb. GNU ld is now on my path on Solaris, use /usr/ccs/bin/ld directly gcc is not working for me for linking on Solaris, use /usr/ccs/bin/ld directly (something simple, unresolved symbol "main", I must not be telling it correctly to build a shared object) gcc on my path is sparc64 targeting and not multilib enabled, so use {target}-gcc explicitly, where target is sparc-sun-solaris2.10; {target}-gcc is always reasonable, though {target} may have a non-canonical name like spar-solaris, or be very site specific like the "2.10" part (sparc64...) move portable parts to cm3cfg.common, even if they aren't used there From jkrell at elego.de Mon Nov 10 08:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 8:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110075958.CA33C10D58C9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 08:59:58 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: remove unused StackFrameAlignment, it is only for runtimes that allocate their own stacks, like posix/user/vtalarm threads, not pthreads/kernel/NT threads From jkrell at elego.de Mon Nov 10 09:03:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 9:03:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110080342.AFD1310D58C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 09:03:42 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: FramePadBottom and FramePadTop are also unused on platforms that only have pthreads/kernel/NT threads From hosking at cs.purdue.edu Mon Nov 10 11:53:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 10 Nov 2008 10:53:53 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081110075958.CA33C10D58C9@birch.elegosoft.com> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> Message-ID: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Ideally, we would be able to switch between POSIX and PTHREAD at compile-time regardless of platform, so it might not be a bad idea to keep those as a placeholder. On 10 Nov 2008, at 08:59, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/10 08:59:58 > > Modified files: > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > > Log message: > remove unused StackFrameAlignment, it is only for runtimes > that allocate their own stacks, like posix/user/vtalarm threads, > not pthreads/kernel/NT threads From jay.krell at cornell.edu Mon Nov 10 12:06:37 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 10 Nov 2008 11:06:37 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> References: <20081110075958.CA33C10D58C9@birch.elegosoft.com> <64E060F1-801F-40ED-992F-61B21BAD8CE0@cs.purdue.edu> Message-ID: I think user mode threads are not worthwhile. I don't add support for them in any new target (except if I ever get to DJGPP). I'm not removing the support where it exists. It looks like I messed up FramePadBottom / FramePadTop. I'll fix /very/ shortly (just realized it). - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Mon, 10 Nov 2008 10:53:53 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Ideally, we would be able to switch between POSIX and PTHREAD at > compile-time regardless of platform, so it might not be a bad idea to > keep those as a placeholder.> > On 10 Nov 2008, at 08:59, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/10 08:59:58> >> > Modified files:> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> >> > Log message:> > remove unused StackFrameAlignment, it is only for runtimes> > that allocate their own stacks, like posix/user/vtalarm threads,> > not pthreads/kernel/NT threads> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Nov 10 14:44:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 14:44:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110134444.11B8710D4D09@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 14:44:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: OSConfigPosix.m3 cm3/m3-libs/libm3/src/random/: m3makefile cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/Csupport/: m3makefile cm3/m3-libs/m3core/src/float/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/NT386GNU/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu SOLsun cm3/m3-sys/m3cc/src/: m3makefile cm3/m3-sys/m3middle/src/: Target.i3 Target.m3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 RTSignal.m3 m3makefile cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Solaris.common Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Cstdio.i3 cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTThread.m3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTThread.m3 RTThreadC.c Log message: enough SPARC64_SOLARIS support to build a bootstrap package, build the bootstrap on the target, and startup cm3, which then hits an alignment fault in RTLinker__AddUnit. This shouldn't be hard to get past, it is doing ldx against an address that is not a multiple of 4. -bash-3.00$ dbx ./cm3 (dbx) run Running: cm3 (process id 3185) Reading libc_psr.so.1 t at 1 (l at 1) signal BUS (invalid address alignment) in RTLinker__AddUnit at 0x10036e028 0x000000010036e028: RTLinker__AddUnit+0x001c: ldx [%g1], %g1 Current function is main 12 RTLinker__InitRuntime (argc, argv, envp, 0); (dbx) where current thread: t at 1 [1] RTLinker__AddUnit(0x10036d984, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x10036e028 [2] RTLinker__InitRuntime(0x1, 0xffffffff7ffffb78, 0xffffffff7ffffb88, 0x0, 0x0, 0x0), at 0x10036db18 =>[3] main(argc = 1, argv = 0xffffffff7ffffb78, envp = 0xffffffff7ffffb88), line 12 in "_m3main.c" (dbx) print $g1 $g1 = 4298561924ULL This gives us another big endian 64 bit system, rather than only MIPS64_OPENBSD. Also remove a sh wrapper on NT in m3cc. Otherwise I was going to rename the file to include M3CC_TARGET, so concurrent builds don't step on each other. Significant working and reworking of config-no-install/*sol*, though ultimately this will probably be trimmed down substantially once I use multilibed gcc. (Note that SOLsun is easy, if you dig past the gcc stuff, and that SPARC64_SOLARIS is using the Sun compiler also, but Solaris now factored like NT so that you can say C_COMPILER = "SUN" or C_COMPILER = "GNU" (at least my config files are; I didn't touch the others). Presumably fix the building of a few minor platforms from earlier tonight, and then some -- go ahead and remove the dummy RTThread.i3 and RTThread.m3 on platforms that just had stubs. (I broke them by removing RTMachine.StackTopPad or such, presumably; these are mostly "immature" platforms, except I386_CYGWIN) Note that I cheated in building my m3cg and hand patched auto-host.h rather than wait for the configure command line change to trickle through. It should be equiv. Move the common Cstdio.i3 and Cstring.i3 to common. This can be more all platforms later, but for now is only for some. Also the Solaris "unix" directory needs to be revisited, probably start over from a minimal Cygwin or OpenBSD base, at least for new Solaris targets. Also new files are likely to have carriage returns, but preexisting files shouldn't. From jkrell at elego.de Mon Nov 10 15:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110143906.C2D9510D58C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:39:06 Modified files: cm3/m3-libs/m3core/src/text/: TextLiteral.i3 Log message: let 32 bit hosts bootstrap 64 bit targets, until the real fix is made From jkrell at elego.de Mon Nov 10 15:40:09 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:40:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144009.0F52110D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:40:09 Modified files: cm3/scripts/python/: pylib.py Log message: make bootstrap packaging less finicky -- the directory is often in use and can't be deleted, but all the files are and that suffices From jkrell at elego.de Mon Nov 10 15:41:55 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 10 Nov 2008 15:41:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081110144155.5EFE810D58CC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/10 15:41:55 Modified files: cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix two causes of alignment faults on SPARC64_SOLARIS, one checking if binders are closures (they never are, right? maybe this can be optimized?) and the second while collecting garbage From jkrell at elego.de Tue Nov 11 13:47:44 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 13:47:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111124745.0595F10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 13:47:44 Modified files: cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 Log message: fix build-breakage from earlier cleanup From jkrell at elego.de Tue Nov 11 14:41:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:41:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111134115.E58BC10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:41:15 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 Cstring.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c Cstring.i3 Log message: remove more residue of user thread support for systems on which it was never complete/working (and probably never will be) where possible -- which is fairly often -- share Csetjmp.i3 again, on systems without user thread support, so the size of jmp_buf isn't needed, and where longjmp == "_longjmp" (not NT386) move NT386 to common Cstdio.i3, Cstring.i3 use paranoidgc on AMD64_LINUX for now (pylib.py) From jkrell at elego.de Tue Nov 11 14:57:28 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:57:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135728.4D34510D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:57:28 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Csignal.i3 Cstdio.i3 Cstring.i3 cm3/m3-libs/m3core/src/C/PPC32_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 Csignal.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Csignal.i3 Log message: more common code, esp. on systems with no user threads (some of the previous commit was incomplete) From jkrell at elego.de Tue Nov 11 14:58:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 14:58:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111135858.416BA10D57EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 14:58:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: oops From jkrell at elego.de Tue Nov 11 15:05:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111140543.3D9AB10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:05:43 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: fix warning From jkrell at elego.de Tue Nov 11 15:27:29 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 11 Nov 2008 15:27:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081111142729.59C8E10D582C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/11 15:27:29 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 Added files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Removed files: cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 Log message: back up a bunch -- Csetjmp is not dead and we need to adjust it perhaps From hosking at cs.purdue.edu Tue Nov 11 21:09:23 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 11 Nov 2008 20:09:23 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081111142729.59C8E10D582C@birch.elegosoft.com> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> Message-ID: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Yes, it is needed for exceptions. On 11 Nov 2008, at 15:27, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/11 15:27:29 > > Modified files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/Common/: m3makefile > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3 > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 > Added files: > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 > Removed files: > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3 > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3 > > Log message: > back up a bunch -- Csetjmp is not dead > and we need to adjust it perhaps From jkrell at elego.de Wed Nov 12 05:20:50 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:20:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042050.B8A5610D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:20:50 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: go back a version here too From jkrell at elego.de Wed Nov 12 05:21:49 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:21:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042149.9254F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:21:49 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: and then fix it too (huh/wow?) From jkrell at elego.de Wed Nov 12 05:24:44 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:24:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042444.2F12C10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:24:44 Modified files: cm3/m3-libs/m3core/src/C/NT386/: Csetjmp.i3 Log message: actually I think it was ok -- the compiler allocates the jmpbuf for try blocks, so the runtime doesn't need to know the size...probably the others were ok but need to double double check From jkrell at elego.de Wed Nov 12 05:27:26 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:27:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112042726.43B4F10D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:27:26 Modified files: cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3 cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3 Log message: fix jumpbuf sizes, but I again don't think it matters, and AMD64_LINUX was already the right size (comment only there) so alas that won't help with the intermittent but common problem running stubgen From jay.krell at cornell.edu Wed Nov 12 05:29:40 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 04:29:40 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> References: <20081111142729.59C8E10D582C@birch.elegosoft.com> <71F774C2-48A6-40D5-867F-EE68E78F0D70@cs.purdue.edu> Message-ID: I don't think the size of jmpbuf needed. I think I was closer to correct/ok than I later thought. A type is needed and ulongjmp is needed, but the compiler allocates the storage. I'll try this (mostly) again at some point but not now. - Jay> From: hosking at cs.purdue.edu> To: jkrell at elego.de> Date: Tue, 11 Nov 2008 20:09:23 +0000> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > Yes, it is needed for exceptions.> > On 11 Nov 2008, at 15:27, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/11/11 15:27:29> >> > Modified files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/Common/: m3makefile> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: m3makefile> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: m3makefile> > cm3/m3-libs/m3core/src/runtime/AMD64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC32_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_LINUX/: RTMachine.i3> > cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3> > Added files:> > cm3/m3-libs/m3core/src/C/AMD64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC32_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_LINUX/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_OPENBSD/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/SPARC64_SOLARIS/: Csetjmp.i3> > Removed files:> > cm3/m3-libs/m3core/src/C/AMD64_DARWIN/: Csetjmp.i3> > cm3/m3-libs/m3core/src/C/Common/: Csetjmp.i3> >> > Log message:> > back up a bunch -- Csetjmp is not dead> > and we need to adjust it perhaps> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Wed Nov 12 05:41:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:41:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112044116.A4CD410D587D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:41:16 Modified files: cm3/scripts/python/: pylib.py Log message: allow keep on command line From jkrell at elego.de Wed Nov 12 05:58:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 5:58:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112045816.89D8010D589B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 05:58:16 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SPARC64_SOLARIS Log message: fix newlines and fix ignored error printed out when we go to probe the compiler From jkrell at elego.de Wed Nov 12 08:32:54 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 8:32:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112073254.5B2DB10D592B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 08:32:54 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: MIPS64 procedures are not aligned to the alignment an integer. This is actually a safe inefficient default, and very common on 64 bit non-x86 systems -- systems at which reading a code pointer as an integer needs to be careful about alignment. This is used by the generated code for the imho questionable sniffing to determine if a function pointer is a "closure" or not, by checking if it starts with the integer -1. From jkrell at elego.de Wed Nov 12 10:52:43 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 10:52:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112095243.ECDDC10D595D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 10:52:43 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 Log message: fix size of MIPS64_OPENBSD jmp_buf, so M3ID main body doesn't corrupt stack; and alignment generally of 64 bit jump_bufs From jkrell at elego.de Wed Nov 12 12:35:33 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 12:35:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112113534.0B55E10D595F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 12:35:33 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3 Log message: It IS important to size the jmp_buf correctly, on pthreads systems, else large allocation (such as in M3ID's initializers) => garbage collector (or just via normal garbage accretion) => ProcessStacks => ProcessMe => RTMachine.SaveState => typicall setjmp, or getcontext Win32 doesn't use RTMachine.SaveState, it uses GetThreadContext. Ideally this size would not be repeated in both Csetjmp.i3 and Target.m3. Also change Target.m3 for this case to "look the same" -- use hex and integers/address instead of decimal/bytes (safe assumption that sizeof(integer)==sizeof(address)) From jkrell at elego.de Wed Nov 12 14:38:13 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:38:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112133813.ACD5C10D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:38:13 Modified files: cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 Added files: cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 Removed files: cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 Log message: fix alignment of pthread types array of char is not right This has not been seen to be a problem, but it is definitely highly suspicious. Unless perhaps record alignment is somehow always boosted beyond its constituents? (unlikely) perhaps these should be wrapped in arrays to avoid some undesired type equivalences? This is tedious/error prone, could use triple/quadruple checking. LINUXLIBC6 ./upgrade.py from a recent snapshot succeeded PPC_LINUX was already broken/crashing, not tested today (to be looked into) not likely any other Linux target in use (yet) only Linux platforms affected while at it, apparently fix SPARC32_LINUX, to use 32bit sizes instead of 64bit. Note that one of the types has "long long" alignment and therefore was never? properly implementable with an older compiler. Note also that bootstrapping will now require, if it didn't already, a compiler that supports LONGINT. (However this could be patched to an array of two INTEGERs for bootstrapping purposes.) note also this turned up a compiler internal error initializing an array of longint (later..) and some strange problems targeting I386_LINUX with an AMD64_LINUX front end -- the negative shifts in Unix.i3 are reported as not constant, and there are some errors in m3x86. (later..) (should be upthreadTypes.i3 or upthreadtypes.i3? I chose to follow what the C headers do) From jkrell at elego.de Wed Nov 12 14:40:17 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 14:40:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112134018.027D910D5877@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 14:40:17 Modified files: cm3/m3-libs/m3core/src/unix/linux-amd64/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc32/: m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: m3makefile Log message: forgot to copy/commit m3makefile -- remove UpthreadMachine From jkrell at elego.de Wed Nov 12 15:36:38 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 12 Nov 2008 15:36:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112143638.0918F10D589E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/12 15:36:38 Modified files: cm3/scripts/python/: pylib.py Log message: turning off gc here isn't where it is 'needed' anyway, it is the invocations of 'stubgen' From jay.krell at cornell.edu Wed Nov 12 15:48:31 2008 From: jay.krell at cornell.edu (Jay) Date: Wed, 12 Nov 2008 14:48:31 +0000 Subject: [M3commit] FW: comment about needing longint to bootstrap.. In-Reply-To: <20081112133813.ACD5C10D5877@birch.elegosoft.com> References: <20081112133813.ACD5C10D5877@birch.elegosoft.com> Message-ID: > will now require, if it didn't already, a compiler that supports LONGINT. That part of the comment is false, sorry. - Jay> Date: Wed, 12 Nov 2008 > To: m3commit> From: j> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: jkrell at birch. 08/11/12 14:38:13> > Modified files:> cm3/m3-libs/m3core/src/unix/linux-32/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-64/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 > Added files:> cm3/m3-libs/m3core/src/unix/linux-32/: Upthreadtypes.i3 > cm3/m3-libs/m3core/src/unix/linux-64/: Upthreadtypes.i3 > Removed files:> cm3/m3-libs/m3core/src/unix/linux-amd64/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-i386/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc32/: UpthreadMachine.i3 > cm3/m3-libs/m3core/src/unix/linux-sparc64/: UpthreadMachine.i3 > Note also that> bootstrapping> will now require, if it didn't already, a compiler that supports> LONGINT.> (However this could be patched to an array of two INTEGERs for> bootstrapping purposes.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Nov 12 16:05:50 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:05:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112150550.F18C010D5962@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:05:50 Modified files: cm3/doc/help/m3gdb/: m3gdb.docbook Log message: Insert one minor missing blank From rodney at elego.de Wed Nov 12 16:21:41 2008 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 12 Nov 2008 16:21:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081112152142.02AEA10D5970@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/12 16:21:41 Modified files: cm3/m3-libs/libm3/src/pickle/ver2/: Pickle2.m3 Log message: Pickles in both PM3 and CM3 have some hard-coded fingerprints for common types, but the values are not consistent about byte order. Fix CM2 pickle-reading code to accept values of types NULL, ROOT, UNTRACED ROOT, ADDRESS, AND REFANY, written by PM3 pickle-writing code. Probably, the latter two can't even happen in a pickle, unless somebody wrote a custom special for them. This still won't handle a more complex type that depends on these types, e.g., an object that contains a field of one of them. This latter is probably not feasable, because it would require "decrypting" fingerprints, and the hash algorithm for fingerprints is lossy. From jkrell at elego.de Fri Nov 14 12:04:43 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 12:04:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114110443.5634510D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 12:04:43 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: fix for bootstrapping from older cm3 that doesn't define HOST, such as PPC 5.2.6; something else still wrong From jkrell at elego.de Fri Nov 14 13:11:50 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:11:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121150.BF3F110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:11:50 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Unix.common Log message: workaround strange/undebugged namespace? behavior (on PPC_LINUX 5.2.6) and fix other namespace oversight From jkrell at elego.de Fri Nov 14 13:13:02 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:13:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114121302.8650010D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:13:02 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: Solaris.common Log message: fix newlines From jkrell at elego.de Fri Nov 14 13:34:08 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 13:34:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114123408.B51A110D59A5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 13:34:08 Modified files: cm3/m3-libs/m3core/src/unix/openbsd-common/: 1.cpp Log message: print more clearly, and remove two lines that don't compile on several systems From jkrell at elego.de Fri Nov 14 17:17:32 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 17:17:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114161732.4C59610D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 17:17:32 Modified files: cm3/m3-sys/m3middle/src/: Target.m3 cm3/m3-libs/m3core/src/C/PPC_LINUX/: Csetjmp.i3 Log message: restore PPC_LINUX to not crashing at startup fix jmpbuf size still doesn't write out any *.mc files and then m3cg hangs From jkrell at elego.de Fri Nov 14 21:21:36 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 14 Nov 2008 21:21:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081114202136.EFAD110D589A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/14 21:21:36 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl Log message: turn off gc on AMD64_LINUX host here until further debugged From rodney at elego.de Sat Nov 15 04:11:24 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 15 Nov 2008 4:11:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081115031125.0DAD010D59AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/15 04:11:24 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: m3-eval.c m3-exp.c Log message: Fix a bug in which ADR function, applied to a formal parameter passed by reference or a WITH-temp bound by reference failed to do the dereferencing. From rodney at elego.de Sun Nov 16 03:13:12 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 16 Nov 2008 3:13:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116021312.3F6EC10D598A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/16 03:13:12 Modified files: cm3/m3-sys/m3gdb/gdb/gdb/: Makefile.in m3-lang.c m3-threads.c m3-util.c m3-util.h m3-valprint.c Log message: When libm3core is dynamically loaded and a subsequent 'run' command, (after the first) is done, the location of runtime info (e.g., the typecells) needed by m3gdb can (and usually does) change. Formerly, m3gdb did not re-lookup runtime information, leaving lots of things horribly broken after the second 'run' command. Fix this bug. Also, make m3gdb a bit more robust in reacting to inability to find runtime information. From jkrell at elego.de Sun Nov 16 17:28:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 17:28:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116162817.8F0FB10D58EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 17:28:17 Modified files: cm3/scripts/: sysinfo.sh Log message: detect MIPS64_OPENBSD (should later on revisit 'macppc' vs. something more generic, like this) From jkrell at elego.de Sun Nov 16 18:57:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 16 Nov 2008 18:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081116175752.72A5710D56FF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/16 18:57:52 Modified files: cm3/m3-comm/netobj/src/: netobj.tmpl cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX cm3cfg.common cm3/scripts/python/: pylib.py Added files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 Log message: use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that it has a tendency to say contiguous, since we allocate bookkeeping per page and otherwise run out of memory netobj.tmp: go back a version, since it was working around out of memory from "mmap vs. sbrk" pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap cm3cfg.common: don't overwrite preceding GNU_MAKE From hosking at cs.purdue.edu Mon Nov 17 03:16:44 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 16 Nov 2008 20:16:44 -0600 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20081116175752.72A5710D56FF@birch.elegosoft.com> References: <20081116175752.72A5710D56FF@birch.elegosoft.com> Message-ID: <135BC0D2-1829-4F3D-A225-9D9B16E58BDB@cs.purdue.edu> Using sbrk instead of mmap is a reasonable fix for now. I am disappointed that mmap is having such random behavior on AMD64_LINUX. Weird! On 16 Nov 2008, at 18:57, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/11/16 18:57:52 > > Modified files: > cm3/m3-comm/netobj/src/: netobj.tmpl > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile > cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3 > cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX > cm3cfg.common > cm3/scripts/python/: pylib.py > Added files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3 > > Log message: > use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that > it has a tendency to say contiguous, since we allocate bookkeeping > per page and otherwise run out of memory > > netobj.tmp: go back a version, since it was working around out of > memory > from "mmap vs. sbrk" > > pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap > cm3cfg.common: don't overwrite preceding GNU_MAKE From jkrell at elego.de Mon Nov 17 08:01:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 8:01:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117070129.19A9310D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 08:01:28 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: accept anything cm3-*.archive add lzma suffixes allow single files compressed -- .gz without .tar, etc. From jkrell at elego.de Mon Nov 17 09:14:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 9:14:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117081414.5553010D5A18@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 09:14:14 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: more flexible naming, at the cost of hardcoding a list of TARGETS From jkrell at elego.de Mon Nov 17 10:11:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 17 Nov 2008 10:11:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081117091135.6722910D5A19@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/17 10:11:35 Modified files: cm3/scripts/python/: pylib.py Log message: m3cc has to come first in case of bootstrapping rom just native cm3 (ok import-libs can come before it) From jkrell at elego.de Sat Nov 22 08:38:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 22 Nov 2008 8:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081122073838.4CA5610D5A6E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/22 08:38:38 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: use the right slash, to fix using NT386; and dos2unix From jkrell at elego.de Sun Nov 23 11:52:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:52:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105210.0542310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:52:09 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: fix size (on 64 bit platforms) and alignment (on all platforms) of sem_t From jkrell at elego.de Sun Nov 23 11:53:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 11:53:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123105305.938C310D5B11@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 11:53:05 Modified files: cm3/m3-libs/m3core/src/unix/linux-libc6/: Usem.i3 Log message: remove dead import From jkrell at elego.de Sun Nov 23 15:12:34 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 23 Nov 2008 15:12:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123141234.4584D10D5A6C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/23 15:12:34 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uucontext.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/linux-sparc32/: Uucontext.i3 m3makefile cm3/m3-libs/m3core/src/unix/linux-sparc64/: Uucontext.i3 m3makefile Log message: These are identical. From rodney at elego.de Sun Nov 23 19:04:59 2008 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 23 Nov 2008 19:04:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081123180459.3019910D5A78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/11/23 19:04:59 Modified files: cm3/scripts/: README Log message: Document the relation between action arguments to the do-cm3-*.sh scripts and the cm3 commands and options they execute. From hosking at elego.de Mon Nov 24 20:20:35 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:20:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192035.E407A10D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:20:35 Modified files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Make file descriptor CARDINAL instead of INTEGER to match implementation and avoid surprising run-time error. From hosking at elego.de Mon Nov 24 20:27:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 20:27:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124192743.64C3510D5AF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 20:27:43 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessCygwin.m3 Log message: dos2unix. From hosking at elego.de Mon Nov 24 21:28:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:28:14 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Some cleanup -- is scan_float really correct now? From hosking at elego.de Mon Nov 24 21:46:04 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 21:46:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124204604.E72F610D5AB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 21:46:04 Modified files: cm3/m3-sys/m3middle/src/: Target.i3 Log message: Tidy up to keep us close to the historic source. From hosking at elego.de Mon Nov 24 22:03:47 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:03:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210347.ADB8A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:03:47 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/PPC_LINUX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThreadC.c Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:04:38 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:04:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210438.DF66E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:04:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: Compiler.tmpl Log message: Wrap long line. From hosking at elego.de Mon Nov 24 22:05:27 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210527.C694E1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:27 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadF.i3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:05:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:05:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210556.0B2BB1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:05:56 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: Global handler stack is no longer supported. Global handler stack is no longer needed (compiler no longer supports it). From hosking at elego.de Mon Nov 24 22:06:28 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:06:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124210628.7158A1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:06:28 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: Upthread.i3 Log message: Add declaration for RWLOCK. From hosking at elego.de Mon Nov 24 22:22:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212201.D64F91704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:22:01 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: Tidy things up a little. From hosking at elego.de Mon Nov 24 22:25:01 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:25:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124212502.3FEC51704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:25:01 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: Tidy up. From hosking at elego.de Mon Nov 24 22:34:25 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124213425.C5A791704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:34:25 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTHeapEvent.i3 RTHeapRep.i3 RTHeapStats.m3 Log message: One step closer to a fully sparse data structure for the heap. Page descriptors are now stored directly in the pages (each run of pages has its own header). The only global mapping that we need is from address to allocated page run. We currently need just 2 bits of information: 1 to say if the page is part of the allocated heap or not, and the other to say if the page is continued (i.e., the page header can be found at the first prior page that is not continued). The sparse data structure is only now needed for scanning ambiguous roots in the thread stacks. From hosking at elego.de Mon Nov 24 22:40:14 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 24 Nov 2008 22:40:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081124214014.4A16D1704054@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/24 22:40:14 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSmmap.m3 Log message: Remove IMPORT Unix to avoid warning. From jay.krell at cornell.edu Mon Nov 24 22:55:01 2008 From: jay.krell at cornell.edu (Jay) Date: Mon, 24 Nov 2008 21:55:01 +0000 Subject: [M3commit] is scan_float really correct now? In-Reply-To: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> References: <20081124202814.6F41E10D5AB7@birch.elegosoft.com> Message-ID: Yes I think so. Aren't the comments there clear? - Jay > Date: Mon, 24 Nov 2008 21:28:14 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/11/24 21:28:14> > Modified files:> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c > > Log message:> Some cleanup -- is scan_float really correct now?> -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at elego.de Tue Nov 25 17:30:50 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 25 Nov 2008 17:30:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081125163051.8D861B04044@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/25 17:30:50 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: Should fix regression from recent Tinderbox build. This still needs work to make the descriptor data structure sparse for 64-bit platforms. From hosking at elego.de Wed Nov 26 01:22:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 26 Nov 2008 1:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126002257.EF7DB10D59A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/11/26 01:22:57 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: m3makefile Log message: _fpsetjmp is dead. From jkrell at elego.de Wed Nov 26 09:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126082922.F3BDB10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:29:22 Added files: cm3/m3-libs/m3core/src/unix/linux-common/: Uerror.i3 Uexec.i3 Umman.i3 Unetdb.i3 Unix.i3 Uprocess.i3 Upthread.i3 Upwd.i3 Uresource.i3 Usched.i3 Usem.i3 Usignal.i3 Usocket.i3 Utime.i3 Utypes.i3 Uugid.i3 Uuio.i3 Uutmp.i3 Uutsname.i3 m3makefile Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:30:27 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:30:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083028.0FD1F10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:30:27 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c UnixC.c UstatC.c Uerror.i3.cpp Uutsname.i3.cpp Udir.i3 Ustat.i3 Log message: work in progress toward Linux/Unix convergence i.e. less header cloning, where possible, on new/recent platforms e.g. *_openbsd, sparc64*, sparc32_linux, amd64_*, maybe ppc_linux openbsd-common used as a small base, 25k vs. the 144k of linuxlibc6 That is, only clone the content within a header that is needed, rather than entire headers Where headers are #ifdefed into unreadability to define rarely used structs, as is anything that has been extended for "large file", considering pushing code into C, e.g. struct stat/dirent/flock. note that Linux sometimes has architecture-dependence to ease binary compat, like Linux/sparc uses Solaris errno and socket values nothing active here yet From jkrell at elego.de Wed Nov 26 09:31:16 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083116.AC5A810D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:16 Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:31:57 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:31:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083157.8238910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:31:57 Removed files: cm3/m3-libs/m3core/src/unix/openbsd-common/: Uerror.i3.cpp Log message: there should be only one of these From jkrell at elego.de Wed Nov 26 09:38:48 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:38:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126083848.362BA10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:38:48 Added files: cm3/m3-libs/m3core/src/unix/linux-sparc/: Uerror.i3 Usignal.i3 Usocket.i3 Log message: work on header cloning reduction/repair Linux/sparc often uses Solaris values presumably to ease binary compat From jkrell at elego.de Wed Nov 26 09:50:37 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 9:50:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126085037.18F8910D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 09:50:36 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #includes and comments (not yet active) From jkrell at elego.de Wed Nov 26 10:09:08 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:09:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126090908.27A6A10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:09:08 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: cleanup scan_float just a little, the adr and type variables weren't really useful From jkrell at elego.de Wed Nov 26 10:19:55 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:19:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126091955.11C1E10D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:19:54 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD2/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: malloc.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: malloc.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: malloc.c Log message: These are not mentioned in the m3makefiles, so they must be dead. From jkrell at elego.de Wed Nov 26 10:27:32 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:27:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126092733.3851610D5CB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:27:32 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile Log message: dos2unix From jkrell at elego.de Wed Nov 26 10:41:41 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 10:41:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126094141.567C510D5ABA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 10:41:41 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/LINUXLIBC6/: m3makefile Removed files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Cstdio.i3 Cstdio.m3 Cstring.i3 Log message: move LINUXLIBC6 to common Cstdio.i3, Cstring.i3 From jkrell at elego.de Wed Nov 26 11:50:51 2008 From: jkrell at elego.de (Jay Krell) Date: Wed, 26 Nov 2008 11:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081126105051.7F33E10D5CB8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/26 11:50:51 Modified files: cm3/m3-tools/showheap/src/: ShowHeap.m3 Log message: let it compile at least, not necessarily correct From jkrell at elego.de Thu Nov 27 03:45:45 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 27 Nov 2008 3:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20081127024545.DAE8910D598B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/11/27 03:45:45 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: no point in probing for the same thing twice in a row