From owner-freebsd-stable@FreeBSD.ORG Mon Dec 22 17:13:42 2014 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B56221CD for ; Mon, 22 Dec 2014 17:13:42 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A9DC64EC0 for ; Mon, 22 Dec 2014 17:13:41 +0000 (UTC) X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=d5B3OGfE c=1 sm=1 a=G/olaBUpLsCobE3dvK+8ZA==:17 a=MhK9K3uvSj4A:10 a=LaogzpLLAAAA:8 a=-6ZlgXFpWTHeZX2VhlMA:9 a=QEXdDO2ut3YA:10 a=cO-TbcN-Fcu2l-OqeEMA:9 a=_W_S_7VecoQA:10 a=G/olaBUpLsCobE3dvK+8ZA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=mi+FreeBSD-2014@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=mi+FreeBSD-2014@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=anat; auth=fail (PLAIN); auth=fail (LOGIN); auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.156.90 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.156.90] ([209.6.156.90:24799] helo=symbion.zaytman.com) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPA id EC/BA-42102-E3158945; Mon, 22 Dec 2014 12:13:35 -0500 Message-ID: <5498511E.9090208@aldan.algebra.com> Date: Mon, 22 Dec 2014 12:13:02 -0500 From: MT User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: stable@FreeBSD.org Subject: Old 32-bit binary stopped working after upgrade to 10.1/amd64 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 17:13:42 -0000 Hello! One of the users here is still actively using Applixware office suit. The applications worked alright under FreBSD-8.x/i386: % file /opt/applix/applix /opt/applix/applix: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped Unfortunately, applix would not start under FreeBSD-10.1/amd64: Bad system call. The tail of kdump looks thus: ...... 14383 applix CALL sigprocmask(SIG_BLOCK,0x28071e20,0xffffc788) 14383 applix RET sigprocmask 0 14383 applix CALL sigprocmask(SIG_SETMASK,0x28071e34,0) 14383 applix RET sigprocmask 0 14383 applix CALL sigprocmask(SIG_BLOCK,0x28071e20,0xffffc788) 14383 applix RET sigprocmask 0 14383 applix CALL sigprocmask(SIG_SETMASK,0x28071e34,0) 14383 applix RET sigprocmask 0 14383 applix CALL compat.sigprocmask 14383 applix RET compat.sigprocmask -1 errno 78 Function not implemented 14383 applix PSIG SIGSYS SIG_DFL code=SI_KERNEL I copied the 32-bit libraries from the old install -- they are found, according to ldd. % ldd /opt/applix/applix /opt/bin/applix: libX11.so.6 => /opt/lib32/libX11.so.6 (0x2807b000) libm.so.2 => /usr/lib32/libm.so.4 (0x281af000) libc.so.3 => /usr/lib32/libc.so.3 (0x281c5000) libxcb.so.2 => /opt/lib32/libxcb.so.2 (0x28247000) libXau.so.6 => /opt/lib/../lib32/libXau.so.6 (0x2825e000) libXdmcp.so.6 => /opt/lib/../lib32/libXdmcp.so.6 (0x28261000) libpthread-stubs.so.0 => /opt/lib/../lib32/libpthread-stubs.so.0 (0x28267000) librpcsvc.so.5 => /usr/lib32/librpcsvc.so.5 (0x28269000) libc.so.7 => /usr/lib32/libc.so.7 (0x28271000) Yes, the usage of libm.so.4 instead of 2 looks funny, but that's how it always was -- the old (8.x) install does not have libm.so.2 at all. Besides, it dies at the very start -- would not even process the `-version' or `-help' options.... The new kernel includes GENERIC -- without disabling any of the COMPAT-options. What else am I missing? Thank you! Yours, -mi