Subject: link failure: file truncated

From: Jon Tollefson <[email-masked]>
Date: Thu, 24 Jul 2008 18:07:39 -0500

Just tried to build the latest version from Linus' tree and I am getting 
a link error.

building with the pseries_defconfig

...
  LD      drivers/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
ld: final link failed: File truncated
make: *** [.tmp_vmlinux1] Error 1

~/src/linus/linux-2.6>cat /etc/SuSE-release 
SUSE LINUX Enterprise Server 9 (ppc)
VERSION = 9
PATCHLEVEL = 3
~/src/linus/linux-2.6>ld --version
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
~/src/linus/linux-2.6>gcc --version
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~/src/linus/linux-2.6>cat /etc/SuSE-release 
SUSE LINUX Enterprise Server 9 (ppc)
VERSION = 9
PATCHLEVEL = 3

Jon