From owner-freebsd-stable@FreeBSD.ORG Tue Mar 18 22:50:47 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0D1106566B for ; Tue, 18 Mar 2008 22:50:47 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 82BCE8FC15 for ; Tue, 18 Mar 2008 22:50:47 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: (qmail 3514 invoked from network); 18 Mar 2008 22:50:47 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Mar 2008 22:50:46 -0000 From: Mikhail Teterin To: stable@freebsd.org Date: Tue, 18 Mar 2008 18:50:45 -0400 User-Agent: KMail/1.7.1 Organization: Virtual Estates, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803181850.45637.mi+mill@aldan.algebra.com> Cc: Subject: FreeBSD-4 executables on 7.x/amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 22:50:47 -0000 Hello! I have a 7.0 system (amd64) and am trying to run a FreeBSD-4 executable. It dies on startup with "bad system call". The core shows, that it is simply trying to mmap something. I have the following COMPAT-options enabled in my kernel: options COMPAT_43 # Needed by COMPAT_LINUX32 options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_LINUX32 # Compatible with i386 linux binaries Should not that be enough? Thanks! -mi (gdb) where #0 0x284c65a4 in __syscall () from /opt/lib32/compat/libc_r.so.4 #1 0x285155af in mmap () from /opt/lib32/compat/libc_r.so.4 #2 0x285143a1 in _thread_leave_cancellation_point () from /opt/lib32/compat/libc_r.so.4 #3 0x28514ef6 in malloc () from /opt/lib32/compat/libc_r.so.4 #4 0x284db240 in _pq_alloc () from /opt/lib32/compat/libc_r.so.4 #5 0x284df1a6 in _thread_init () from /opt/lib32/compat/libc_r.so.4 #6 0x284deca7 in _get_curthread () from /opt/lib32/compat/libc_r.so.4 #7 0x284dc2f2 in pthread_mutex_lock () from /opt/lib32/compat/libc_r.so.4 #8 0x28468675 in __register_frame_info () from /opt/lib32/compat/libstdc++.so.3 #9 0x2849e8b2 in ?? () from /opt/lib32/compat/libc_r.so.4 #10 0x2852366c in _thread_autoinit_dummy_decl () from /opt/lib32/compat/libc_r.so.4 #11 0x28524720 in ?? () from /opt/lib32/compat/libc_r.so.4 #12 0x283732b4 in ?? () #13 0x2849e88c in ?? () from /opt/lib32/compat/libc_r.so.4 #14 0x283732b4 in ?? () #15 0x00000008 in ?? () #16 0xffffdbe4 in ?? () #17 0xffffda38 in ?? () #18 0x283732b4 in ?? () #19 0x2834e97b in ?? () from /usr/libexec/ld-elf.so.1 #20 0xffffda58 in ?? () #21 0x2849b61d in _init () from /opt/lib32/compat/libc_r.so.4 #22 0x283513af in _rtld_error () from /usr/libexec/ld-elf.so.1