[libav-devel] x32 status

2012-06-18 Thread Diego Elio Pettenò
Since Gentoo now has some kind of support for x32 I was able to get a system running with it. Seems like it's going to be a trainwreck: - sizeof(void*) == sizeof(long) == sizeof(sizeof(0)) == 4 which means we really have no way to find out whether this is 32-bit or 64-bit; - afaict yasm

Re: [libav-devel] x32 status

2012-06-18 Thread Måns Rullgård
Diego Elio Pettenò flamee...@flameeyes.eu writes: Since Gentoo now has some kind of support for x32 I was able to get a system running with it. Seems like it's going to be a trainwreck: - sizeof(void*) == sizeof(long) == sizeof(sizeof(0)) == 4 which means we really have no way to find

Re: [libav-devel] x32 status

2012-06-18 Thread Diego Elio Pettenò
Il 19/06/2012 01:53, Måns Rullgård ha scritto: Add to this that the inline asm probably doesn't even remotely work properly, if it even compiles, with the x32 ABI. Doesn't compile: the x86 asm is the wrong syntax; x86-64 the wrong size. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu

Re: [libav-devel] x32 status

2012-06-18 Thread Jason Garrett-Glaser
On Mon, Jun 18, 2012 at 4:49 PM, Diego Elio Pettenò flamee...@flameeyes.eu wrote: Since Gentoo now has some kind of support for x32 I was able to get a system running with it. Seems like it's going to be a trainwreck:  - sizeof(void*) == sizeof(long) == sizeof(sizeof(0)) == 4   which means

Re: [libav-devel] x32 status

2012-06-18 Thread Diego Elio Pettenò
Il 19/06/2012 01:57, Jason Garrett-Glaser ha scritto: I was trying a little bit back with x264 to do it, but I didn't have an x32 system to test on. Poke me off-list with your SSH key, I'll set you up. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/