This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libffi/21229] New: LibFFI can't handle Longs


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. 
I've built a small test (attached) to show this particular problem (in the 
hope that the problem would disappear, but that didn't happen). I've checked 
and re-checked how I pass the arguments to ffi_call, I couldn't find anything 
wrong (debugging libffi internals is not easy :( ).

-- 
           Summary: LibFFI can't handle Longs
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libffi
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pupeno at pupeno dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21229


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]