On Fri, Feb 8, 2013 at 9:42 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > > Please note, that looking at generated libcalls.go, there are many > other possible signed/unsigned issues of the same type. Since this all > happens on x86_64 (where go int is apparently 64bit), it looks that it > is very important to distinguish int from _C_int in glue source.
Wow, thanks for tracking this down. I see that I did a pretty bad job of using _C_int correctly. I committed this patch to fix the problem. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Ian
foo.patch
Description: Binary data