-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Je Lundo Aprilo 25 2005 20:47, Anthony Green skribis: > On Sun, 2005-04-24 at 18:38 -0300, Pupeno wrote: > > Hello, > > I've had troubles in the FFI module I'm building when dealing with > > (unsigned) > > longs, what happens is that the second unsigned long argument never > > reached > > the function I'm calling with ffi_call. > > Which version of GCC/libffi and what platform are you on? This is Gentoo Linux, I'm running: $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs Configured with: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure - --enable-version-specific-runtime-libs --prefix=/usr - --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130 - --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include - --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130 - --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man - --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info - --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3 - --host=i686-pc-linux-gnu --disable-altivec --enable-nls - --without-included-gettext --with-system-zlib --disable-checking - --disable-werror --disable-libunwind-exceptions --disable-multilib - --enable-java-awt=gtk --enable-languages=c,c++,objc,java,f77 --enable-shared - --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) And the libffi shipped with that same version of gcc. > Please file a bug report at http://gcc.gnu.org/bugzilla with this > information and I'll look at it as soon as I have a chance. Done: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21229 Thank you very much. - -- Pupeno: pupeno@xxxxxxxxxx - http://pupeno.com Reading Science Fiction ? http://sfreaders.com.ar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCbZFYfW48a9PWGkURAtvCAJsFCC4QMBOWlKxfSkiGLUi0ieDJuACeNk21 utPL/yxmVwuw+zDXOzEL1qg= =r4Ax -----END PGP SIGNATURE-----