Date: Mon, 18 Jan 1999 11:04:00 +0100 (CET) From: talon@lpthe.jussieu.fr (Michel TALON) To: freebsd-stable@FreeBSD.ORG Subject: linux emulation Message-ID: <199901181004.LAA11129@niobe.lpthe.jussieu.fr>
next in thread | raw e-mail | index | archive | help
I have problems with linux emulation of programs compiled under libc6 under FreeBSD 2.2.8-stable. This happens with simple programs not using /proc or clone(). I have installed the port linux_lib-2.6. My old programs using libc5 like Maple continue to work without problem. Now any new program compiled on a Linux Redhat 5.2 machine and working on such machine immediately core dump on the FreeBSD box with sigsev. I have ktraced them and read with linux_kdump. I see correct invocations of the libc6 and the loader: 8580 tree NAMI "/compat/linux/lib/libc.so.6" 8580 tree NAMI "/compat/linux" 8580 tree NAMI "/compat/linux/lib/libc.so.6" 8580 tree RET linux_open 3 8580 tree CALL read(0x3,0xefbfc558,0x1000) 8580 tree NAMI "/compat/linux/lib/ld-linux.so.2" 8580 tree NAMI "/compat/linux" 8580 tree NAMI "/compat/linux/lib/ld-linux.so.2" 8580 tree RET linux_open 3 8580 tree CALL read(0x3,0xefbfc558,0x1000) then a call to getpid as under linux with strace: 8580 tree CALL getpid 8580 tree RET getpid 8580/0x2184 8580 tree PSIG SIGSEGV SIG_DFL 8580 tree NAMI "tree.core" and the program dies without ever beginning execution. Is this a known bug or am i doing something wrong? Thanks -- Michel TALON To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901181004.LAA11129>