From owner-freebsd-current@FreeBSD.ORG Thu Sep 16 17:17:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4605916A4CF for ; Thu, 16 Sep 2004 17:17:46 +0000 (GMT) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 096BE43D45 for ; Thu, 16 Sep 2004 17:17:46 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1 [69.55.238.237]) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id i8GHHj7j015857 for ; Thu, 16 Sep 2004 10:17:45 -0700 (PDT) (envelope-from lists@jnielsen.net) Received: (from www@localhost) by ns1.jnielsen.net (8.12.9p2/8.12.9/Submit) id i8GHHjuW015856 for current@freebsd.org; Thu, 16 Sep 2004 11:17:45 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: ns1.jnielsen.net: www set sender to lists@jnielsen.net using -f Received: from csrouter.dcs.byu.edu (csrouter.dcs.byu.edu [128.187.0.58]) by webmail.jnielsen.net (IMP) with HTTP for ; Thu, 16 Sep 2004 11:17:45 -0600 Message-ID: <1095355065.4149cab9b58ff@webmail.jnielsen.net> Date: Thu, 16 Sep 2004 11:17:45 -0600 From: John Nielsen To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 / FreeBSD-4.9 X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on ns1.jnielsen.net X-Virus-Status: Clean Subject: Signal 4 installing kernel/world built for different cputype X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 17:17:46 -0000 I use a build machine to build world and kernels for other, slower machines. The build machine is an Athlon Thunderbird running 5.3-BETA4, and I'd like to upgrade the other machines to 5.3 as well. I have compiled everything that runs on the build system with CPUTYPE?=athlon-tbird. When I do a buildworld/buildkernel for a pentium machine with CPUTYPE=i586 on make's command line, it looks like I get incompatible binaries in obj/usr/src/i386/legacy/usr/bin. I think that because when I try to do an installkernel or installworld on the pentium machine, "install" dies with a signal 4. If I replace the binaries in that directory with ones compiled on the pentium machine, the installkernel and instalworld run just fine, and none of the other binaries (most notably the kernel) seem to contain illegal instructions. I did try just replacing the "install" binary, but then some of the other binaries in that directory also exited with a signal 4 later on in the installworld. It seems like I had this problem with 5.2.1 as well, but I haven't tried for a while because the build machine was temporarily relocated. What is the best way to track this down? Should I file a PR? If so, what should I include? Is anyone else doing similar cross-cpu compiles? I don't know if this is particular to athlon-tbird -> i586 or not. Any help or suggestions will be appreciated. JN