Bug#648933: Orphaning emile
I’m working on this, via git/collab-maint/emile. My hacking time for today is up, though, so it will take a bit longer. Just FYI. I’ve also got someone who will test the result. bye, //mirabilos -- “Having a smoking section in a restaurant is like having a peeing section in a swimming pool.” -- Edward Burr -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pine.bsm.4.64l.1201012147450.20...@herc.mirbsd.org
Bug#648933: Orphaning emile
Laurent Vivier dixit: >Tested with a floppy disk on a mac mystic and a LCIII: works fine. OK, cool. I will update the Debian package then. bye, //mirabilos -- "Using Lynx is like wearing a really good pair of shades: cuts out the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL." -- Henry Nelson, March 1999 -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pine.bsm.4.64l.1112181517280@herc.mirbsd.org
Bug#648933: Orphaning emile
Tested with a floppy disk on a mac mystic and a LCIII: works fine. If someone can provide me an installation CD iso of the current release, I can try to make a bootable one. Regards, Laurent Le vendredi 16 décembre 2011 à 05:29 +0100, Laurent Vivier a écrit : > Le mercredi 14 décembre 2011 à 10:44 +1100, Finn Thain a écrit : > > On Tue, 13 Dec 2011, Thorsten Glaser wrote: > > > > > Hi, > > > > > > I can try to update the package and build it with gcc-4.4 (which is our > > > current standard although people would love to switch to gcc-4.6), if > > > that works. > > > > I was able to built it (without docs, I didn't have the tools) from the > > gitorious source. http://gitorious.org/projects/emile/ > > > > It fails to build with "error: dereferencing type-punned pointer will > > break strict-aliasing rules". An untested patch follows. > > Corrected and pushed, but not tested. > > Laurent > > -- > - laur...@vivier.eu -- > "Tout ce qui est impossible reste à accomplir"Jules Verne > "Things are only impossible until they're not" Jean-Luc Picard > > -- - laur...@vivier.eu -- "Tout ce qui est impossible reste à accomplir"Jules Verne "Things are only impossible until they're not" Jean-Luc Picard -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1324220758.2124.2.camel@Quad
Bug#648933: Orphaning emile
Le mercredi 14 décembre 2011 à 10:44 +1100, Finn Thain a écrit : > On Tue, 13 Dec 2011, Thorsten Glaser wrote: > > > Hi, > > > > I can try to update the package and build it with gcc-4.4 (which is our > > current standard although people would love to switch to gcc-4.6), if > > that works. > > I was able to built it (without docs, I didn't have the tools) from the > gitorious source. http://gitorious.org/projects/emile/ > > It fails to build with "error: dereferencing type-punned pointer will > break strict-aliasing rules". An untested patch follows. Corrected and pushed, but not tested. Laurent -- - laur...@vivier.eu -- "Tout ce qui est impossible reste à accomplir"Jules Verne "Things are only impossible until they're not" Jean-Luc Picard -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1324009772.1990.0.camel@Quad
Bug#648933: Orphaning emile
On Thu, 15 Dec 2011, Laurent Vivier wrote: > Where can I find a [...] cross-compiler ? Thorsten has provided some debs here http://wiki.debian.org/M68k/Gcc Finn -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.LNX.2.00.1112151140150.2553@nippy.intranet
Bug#648933: Orphaning emile
On Wed, 14 Dec 2011, Andreas Schwab wrote: > > This now dereferences too much. > Oops. Thanks for spotting that. I'll leave it to Laurent to fix. Finn -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.LNX.2.00.1112151136510.2553@nippy.intranet
Bug#648933: Orphaning emile
Hi, Le mercredi 14 décembre 2011 à 10:44 +1100, Finn Thain a écrit : > On Tue, 13 Dec 2011, Thorsten Glaser wrote: > > > Hi, > > > > I can try to update the package and build it with gcc-4.4 (which is our > > current standard although people would love to switch to gcc-4.6), if > > that works. Where can I find a gcc-4.4 .deb for my debian etch-m68k ? Or a cross-compiler ? Laurent -- - laur...@vivier.eu -- "Tout ce qui est impossible reste à accomplir"Jules Verne "Things are only impossible until they're not" Jean-Luc Picard -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1323906707.2086.3.camel@Quad
Bug#648933: Orphaning emile
Finn Thain dixit: >It fails to build with "error: dereferencing type-punned pointer will >break strict-aliasing rules". An untested patch follows. Mh. If it’s just these, I think no big deal. I also got an offer to test, and in the meantime we were switched to gcc-4.6 but I’ll just try (in my valuable spare time ;-). bye, //mirabilos -- “Having a smoking section in a restaurant is like having a peeing section in a swimming pool.” -- Edward Burr -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pine.bsm.4.64l.1112140038120.29...@herc.mirbsd.org
Bug#648933: Orphaning emile
Finn Thain writes: > @@ -21,7 +22,9 @@ OSErr SerGetBuf(short refNum, long *count) > > res = PBStatusSync((ParmBlkPtr)¶m); > > - *count = *(long*)param.csParam; > + p = (((unsigned)param.csParam[0] & 0x) << 16) + > + (((unsigned)param.csParam[1] & 0x) << 0); > + *count = *(long *)p; This now dereferences too much. > @@ -83,7 +83,8 @@ static inline OSErr GetCurrentMode(short refNum, > VDSwitchInfoRec *hwMode) > > param.csCode = cscGetCurMode; > param.ioCRefNum = refNum; > - *((VDSwitchInfoRec **)¶m.csParam[0]) = hwMode; > + param.csParam[0] = (*(unsigned long *)hwMode >> 16) & 0x; > + param.csParam[1] = (*(unsigned long *)hwMode >> 0) & 0x; Likewise. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/m2fwgoovb1@igel.home
Bug#648933: Orphaning emile
On Tue, 13 Dec 2011, Thorsten Glaser wrote: > Hi, > > I can try to update the package and build it with gcc-4.4 (which is our > current standard although people would love to switch to gcc-4.6), if > that works. I was able to built it (without docs, I didn't have the tools) from the gitorious source. http://gitorious.org/projects/emile/ It fails to build with "error: dereferencing type-punned pointer will break strict-aliasing rules". An untested patch follows. Finn > > However, I cannot test the resulting binaries. Laurent or Finn, I?d need > your help with that then. Preferably before uploading, of course ;-) > > I do not volunteer to maintain it after fixing these issues. > > bye, > //mirabilos > diff --git a/libmacos/SerGetBuf.c b/libmacos/SerGetBuf.c index f775833..174d085 100644 --- a/libmacos/SerGetBuf.c +++ b/libmacos/SerGetBuf.c @@ -13,6 +13,7 @@ OSErr SerGetBuf(short refNum, long *count) { int res; CntrlParam param; + long p; param.ioCompletion = 0; param.ioVRefNum = 0; @@ -21,7 +22,9 @@ OSErr SerGetBuf(short refNum, long *count) res = PBStatusSync((ParmBlkPtr)¶m); - *count = *(long*)param.csParam; + p = (((unsigned)param.csParam[0] & 0x) << 16) + + (((unsigned)param.csParam[1] & 0x) << 0); + *count = *(long *)p; return res; } diff --git a/libmacos/macos/video.h b/libmacos/macos/video.h index 54015f5..e9f8be8 100644 --- a/libmacos/macos/video.h +++ b/libmacos/macos/video.h @@ -83,7 +83,8 @@ static inline OSErr GetCurrentMode(short refNum, VDSwitchInfoRec *hwMode) param.csCode = cscGetCurMode; param.ioCRefNum = refNum; - *((VDSwitchInfoRec **)¶m.csParam[0]) = hwMode; + param.csParam[0] = (*(unsigned long *)hwMode >> 16) & 0x; + param.csParam[1] = (*(unsigned long *)hwMode >> 0) & 0x; return PBStatusSync((ParmBlkPtr)¶m); } -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.LNX.2.00.1112141007480.2622@nippy.intranet
Bug#648933: Orphaning emile
Hi, I can try to update the package and build it with gcc-4.4 (which is our current standard although people would love to switch to gcc-4.6), if that works. However, I cannot test the resulting binaries. Laurent or Finn, I’d need your help with that then. Preferably before uploading, of course ;-) I do not volunteer to maintain it after fixing these issues. bye, //mirabilos -- Support mksh as /bin/sh and RoQA dash NOW! ‣ src:bash (239 (257) bugs: 0 RC, 166 (180) I&N, 73 (77) M&W, 0 F&P) ‣ src:dash (72 (82) bugs: 3 RC, 27 (30) I&N, 42 (49) M&W, 0 F&P) ‣ src:mksh (1 bug: 0 RC, 0 I&N, 1 M&W, 0 F&P) http://qa.debian.org/data/bts/graphs/d/dash.png is pretty red, innit? -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pine.bsm.4.64l.1112132057180.29...@herc.mirbsd.org
Bug#648933: Orphaning emile
EMILE sources are now hosted on gitorious: https://www.gitorious.org/emile Since commit bc40d969f it can be compiled with gcc-4: https://www.gitorious.org/emile/mainline/commit/5d2fe2dbb2daa7b5d4b2f3b1ddf9ccbbc40d969f commit 5d2fe2dbb2daa7b5d4b2f3b1ddf9ccbbc40d969f Author: Laurent Vivier Date: Mon Oct 27 20:51:15 2008 +0100 Allow to compile with gcc-4 by adding a contraint on memory for MacOS traps Since commit f176744 it can be build for debian with gcc-4.1: https://www.gitorious.org/emile/mainline/commit/82b93bd326ea310c1007d61b27689658f1767448 commit 82b93bd326ea310c1007d61b27689658f1767448 Author: Laurent Vivier Date: Tue Feb 1 00:40:21 2011 +0100 debian: allows to compile emile with gcc-4.1 (but you should also include https://www.gitorious.org/emile/mainline/commit/c1b482e48a80c670ad9a6931b3d99ef0a9d7d28b) Moreover since commit 14b0a3d56 it is able to boot from CDROM without using Apple copyrighted drivers: https://www.gitorious.org/emile/mainline/commit/31fb7a324e294b50b51141d8becad5914b0a3d56 Le jeudi 08 décembre 2011 à 23:42 +0100, Niels Thykier a écrit : > reassign 648933 wnpp > retitle 648933 O: emile -- the Early Mac Image LoadEr > severity 648933 normal > thanks > > > I am here by orphaning emile on behalf of the maintainers. The > description of emile is: > > """ > the Early Mac Image LoadEr > > EMILE provides a way to natively boot Macintosh computers which normally > require Penguin to boot. > > It is however still in an unfinished state; users unfamiliar with Linux > should note that Penguin currently is a more safe option. > > A list of machines that are supported by EMILE is maintained at > http://wiki.debian.org/EmileSupportedHardware > """ > > If you are interested in adopting this package, please be prepared to > fix #533800 (and #629789). A quick look at the homepage suggests that > upstream might be dead as well. > > > If no one picks this package up within 14 days or so, I will push for > its removal on the grounds it that it is RC-buggy and has extremely low > popcon. > > ~Niels > > > -- > To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/4ee13d6b.5040...@thykier.net > > -- - laur...@vivier.eu -- "Tout ce qui est impossible reste à accomplir"Jules Verne "Things are only impossible until they're not" Jean-Luc Picard -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1323468515.2049.8.camel@Quad