Bug#456037: Fenix: not 64 bit clean, should it be out of Lenny?

2008-12-13 Thread Matthew Johnson
On Sat Dec 13 05:07, Miriam Ruiz wrote:
  Fenix isn't in Etch.  Dropping it from Lenny would remove a
  game, and a related framework (this seems to be the complete
  list):
 
 Unless we find a way to make it work in 64 bits, either we reduce the
 arch to i386 only -which is something I don't like doing at all-, or
 we remove it from Lenny. I'm not exactly sure that the code is of a
 very high quality. It's a pity for pixfrogger, but maybe porting it to
 python or C++ would be easier than to fix Fenix XD

Well, restricting it to all the 32bit archs, presumably. I don't think
that's necessarily a problem given it's not been released on other archs
yet, so it's not a regression. I definitely think that at this point the
options are 'drop completely' and 'drop from 64bit archs' and the latter
is clearly preferable (of course if people think it's just generally
bad, then dropping completely is reasonable)

I assume this has been forwarded upstream?

Matt

-- 
Matthew Johnson


signature.asc
Description: Digital signature


Bug#456037: Fenix: not 64 bit clean, should it be out of Lenny?

2008-12-13 Thread Richard Hartmann
On Sat, Dec 13, 2008 at 14:04, Matthew Johnson mj...@debian.org wrote:

 Well, restricting it to all the 32bit archs, presumably. I don't think
 that's necessarily a problem given it's not been released on other archs
 yet, so it's not a regression. I definitely think that at this point the
 options are 'drop completely' and 'drop from 64bit archs' and the latter
 is clearly preferable (of course if people think it's just generally
 bad, then dropping completely is reasonable)

Agreed. If the software itself is good, what is gained by making it
unavailable to 32-bit users? This even lessens the chance of someone
liking the game and patching it.


Richard



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#456037: Fenix: not 64 bit clean, should it be out of Lenny?

2008-12-12 Thread Steve Cotton
On Sat, Dec 06, 2008 at 12:52:41PM +0100, Peter De Wachter wrote:
 retitle 456037 fenix: not 64 bit clean
 severity 456037 grave
 thanks
 
 The Fenix source code is riddled with the assumption that pointers are
 32 bit, which is obviously not true on 64 bit systems. A big problem is
 that the bytecode assumes 32 bit pointers. So either the bytecode
 format needs to be changed, or the interpreter needs a translation layer
 between VM pointers and native pointers

Fenix isn't in Etch.  Dropping it from Lenny would remove a
game, and a related framework (this seems to be the complete
list):

fenix fenix-dev
pixfrogger
fenix-plugins fenix-plugin-mpeg fenix-plugins-system

The other user of Fenix in unstable is Pixbros, which is already
out of Lenny for #486567.

Both games actually play OK on 64-bit AMD.

Is removing it the right option?

Regards,
Steve



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#456037: Fenix: not 64 bit clean, should it be out of Lenny?

2008-12-12 Thread Peter De Wachter
On Sat, 13 Dec 2008 02:06:37 +
Steve Cotton steve0...@s.cotton.clara.co.uk wrote:

 Both games actually play OK on 64-bit AMD.

This is due to a weird behaviour of glibc or perhaps the kernel. If you
malloc a small amount of memory, you get a pointer that fits in a
32-bit int. If you allocate a large amount of memory, you don't.
For example:

#include stdlib.h
#include stdio.h
int main ()
{
  printf(small allocation: %p\n, malloc(1));
  printf(large allocation: %p\n, malloc(100));
}

consistently gives output like this on my system:

$ ./malloc
small allocation: 0x1a14010
large allocation: 0x7f0be5ded010

I don't think this is something one should be relying on :)


-- 
Peter De Wachter



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#456037: Fenix: not 64 bit clean, should it be out of Lenny?

2008-12-12 Thread Miriam Ruiz
2008/12/13 Steve Cotton steve0...@s.cotton.clara.co.uk:
 On Sat, Dec 06, 2008 at 12:52:41PM +0100, Peter De Wachter wrote:
 retitle 456037 fenix: not 64 bit clean
 severity 456037 grave
 thanks

 The Fenix source code is riddled with the assumption that pointers are
 32 bit, which is obviously not true on 64 bit systems. A big problem is
 that the bytecode assumes 32 bit pointers. So either the bytecode
 format needs to be changed, or the interpreter needs a translation layer
 between VM pointers and native pointers

 Fenix isn't in Etch.  Dropping it from Lenny would remove a
 game, and a related framework (this seems to be the complete
 list):

Unless we find a way to make it work in 64 bits, either we reduce the
arch to i386 only -which is something I don't like doing at all-, or
we remove it from Lenny. I'm not exactly sure that the code is of a
very high quality. It's a pity for pixfrogger, but maybe porting it to
python or C++ would be easier than to fix Fenix XD

Probably removing it from Lenny unless we find a non-very-difficult
way to solve it would be the best.

Greetings,
Miry



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org