On Fri, Mar 13, 2009 at 5:41 AM, Constantine Cusulos <noha...@freemail.gr> wrote: > Just for the record, i compiled the following program on my Ubuntu/i386: ... > $ gcc -static -o hello hello.c > > I copied the binary in /emul/linux/usr/bin, used dd as before, run it > and still i get "Bad system call (core dump)".
No surprise there: statically linking means you've pulled in code from whatever version of glibc is on your system instead of using the older, less incompatible glibc that's probably installed under /emul/linux on your OpenBSD system. Does that same program die when not statically linked? ... > Maybe compat_linux needs some additional work. Of course; do you have the email addresses for some people who have the time, skill, and interest to *do* that work? I'll note that some of the rthreads stuff that I've been working on will help if someone decides to tackle the compat issue, but someone else will need to glue it together; the few Linux binaries I need work just fine with the existing support and I have much more interesting and (IMO) important things to work on than keeping up with Linux. Philip Guenther