Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 08:32:04 +1000
From:      Peter Grehan <peterg@ptree32.com.au>
Cc:        freebsd-ppc@FreeBSD.ORG
Subject:   Re: init error 6 (update)
Message-ID:  <3D3B3664.29A1CC64@ptree32.com.au>
References:  <1027283443.3d3b19f3c0ee3@www.wantpackets.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D3B3664.29A1CC64>