-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 01 August 2003 12:46, Sergey Korzhevsky wrote:
> I'm trying to compile 2.4.21 (with IBM patches) on SLES7-beta (64bit). At
> the end, i got this error:
> ld: cannot represent machine `s390:64-bit'
> make: *** [vmlinux] Error 1
> Does this mean, that my binutils (2.11.90.0.27-36 ) very old?
Yes.
> If that true, what is the last kernel for this level of binutils?
The kernel should actually work, at least if you apply the patch
below. Unfortunately, newer binutils don't work with
OUTPUT_ARCH(s390), so there is no easy way to get it right for
everyone.
Note that you should avoid running ancient beta releases in general.
Updating the kernel helps, but you don't get updates for broken
or insecure user space tools.
Arnd <><
- --- ./arch/s390x/vmlinux.lds 5 Aug 2002 08:39:27 -0000 1.6
+++ ./arch/s390x/vmlinux.lds 11 Jun 2003 08:57:27 -0000 1.7
@@ -2,7 +2,7 @@
* Written by Martin Schwidefsky ([EMAIL PROTECTED])
*/
OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
- -OUTPUT_ARCH(s390:64-bit)
+OUTPUT_ARCH(s390)
ENTRY(_start)
SECTIONS
{
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/KlBT5t5GS2LDRf4RAsFmAJsHBO0jpM/ZToyrSFiNXaQ+2NZT0gCgiIzf
hBG9GkzV+r2hD9/I6auETVI=
=HtPi
-----END PGP SIGNATURE-----