From owner-freebsd-ppc Sun Jul 21 15:14:38 2002 Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C9737B400 for ; Sun, 21 Jul 2002 15:14:36 -0700 (PDT) Received: from gt3.OntheNet.com.au (nt.com.au [203.13.70.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8480D43E31 for ; Sun, 21 Jul 2002 15:14:34 -0700 (PDT) (envelope-from peterg@ptree32.com.au) Received: from ptree32.com.au (CPE-203-45-246-228.qld.bigpond.net.au [203.45.246.228]) by gt3.OntheNet.com.au (8.11.4/8.11.4) with ESMTP id g6LMH0b52637 for ; Mon, 22 Jul 2002 08:17:01 +1000 (EST) Message-ID: <3D3B3664.29A1CC64@ptree32.com.au> Date: Mon, 22 Jul 2002 08:32:04 +1000 From: Peter Grehan Organization: Ptree32 Pty Ltd X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-ppc@FreeBSD.ORG Subject: Re: init error 6 (update) References: <1027283443.3d3b19f3c0ee3@www.wantpackets.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Andy, > %file init > init: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), > statically linked, not stripped > > %file /mnt/sbin/init > /mnt/sbin/init: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 > (FreeBSD), statically linked, not stripped > > Yours is the second one, the one that works, the one that says "FreeBSD" as > opposed to "SYSV." I followed your instructions for the binutils/gcc, with > gcc 3.1 source, except for the names. Even with the port from the Oct 18 > email (gcc 2.95), I get the same results. > > I am using a very recent compile of 5.0-CURRENT (< 7 days). I should have mentioned: for user-space code, I do a full cross-build in the source tree with TARGET_ARCH=powerpc. There's still a lot of workarounds in place for this, but it's sufficient to get the binaries that I want to build. I've been using the binutils/gcc off the net for kernel development, where the ABI tag doesn't matter. I'm not sure why the linker isn't jamming in the correct tag when it has been config'd for freebsd. > Any assistance would be greatly appreciated, and I am sorry > for the previous false-error. You can modify your executables with 'brandelf -t FreeBSD', which should fix things up. later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message