Link error with linux-2.5 bk

From: Martin Hicks <>
Date: 2004-01-21 01:48:09

I'm running into the following:

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1

This is with a `bk pull` from Linus' linux-2.5 tree from yesterday (I
also tried this morning again).  The option that seems to set this off
is CONFIG_DUMMY.  I also considered that it might be size related, but
the same option seemed to trigger it even when I disabled almost every
other driver (even ones that I really needed to boot, like mptfusion).

reproduced with:

ii  gcc                3.3.2-2            The GNU C compiler
ii  binutils       The GNU assembler, linker and binary utilities

on debian sid, as well as a compiler built by hand:

[mort@tomahawk mort]$ ld -v
GNU ld version 20030820
[mort@tomahawk mort]$ gcc -v
Reading specs from /usr/local/gcc-3.2.3/bin//../lib/gcc-lib/ia64-unknown-linux-gnu/3.2.3/specs
Configured with: ./configure --prefix=/usr/local/gcc-3.2.3
Thread model: posix
gcc version 3.2.3

A .config is attached.


Martin Hicks                Wild Open Source Inc.     613-266-2296

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at

Received on Tue Jan 20 09:51:06 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST