All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <linux-kernel@24x7linux.org>
To: linux-kernel@vger.kernel.org
Subject: Re: What does this error mean? "local symbols in discarded section .text.exit"
Date: Fri, 2 Aug 2002 15:52:18 +0200	[thread overview]
Message-ID: <20020802135218.GA15211@localhost> (raw)
In-Reply-To: <008701c23a28$958ca300$6a01a8c0@wa1hco>

On Friday, 02 August 2002, at 09:29:09 -0400,
jeff millar wrote:

> I need some help debugging this kernel build problem.
> 
> drivers/built-in.o(.data+0x80f4): undefined reference to `local symbols in
> discarded section .te
> xt.exit'
> make: *** [vmlinux] Error 1
> 
A know problem with some combinations of binutils and kernel sources. As
Debian bintuils package says:

x You may experience problems linking older (and some newer) kernels with  x 
x this version of binutils.  This is not because of a bug in the linker,   x 
x but rather a bug in the kernel source.  This is being worked out and     x 
x fixed by the upstream kernel group in newer kernels, but not all of the  x 
x problems may have been fixed at this time.  Older kernel versions will   x 
x almost always exhibit the problem, however, and no attempts are being    x 
x made to fix those that we know of.                                       x 
x                                                                          x 
x There are a few work-arounds, but the most reliable is to edit the       x 
x linker script for your architecture (e.g. arch/i386/vmlinux.lds) and     x 
x remove the '*(.text.exit)' entry from the 'DISCARD' line.  It will       x 
x bloat the kernel somewhat, but it should link properly.                  x 

Regards,

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)

  reply	other threads:[~2002-08-02 13:49 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02  0:37 large page patch Andrew Morton
2002-08-02  0:37 ` Andrew Morton
2002-08-02  0:43 ` David S. Miller
2002-08-02  0:43   ` David S. Miller
2002-08-02  1:26   ` Andrew Morton
2002-08-02  1:26     ` Andrew Morton
2002-08-02  1:19     ` David S. Miller
2002-08-02  1:19       ` David S. Miller
2002-08-02  3:23       ` Linus Torvalds
2002-08-02  1:55   ` Rik van Riel
2002-08-02  1:55     ` Rik van Riel
2002-08-02  1:50     ` David S. Miller
2002-08-02  1:50       ` David S. Miller
2002-08-02  2:29     ` Gerrit Huizenga
2002-08-02  2:29       ` Gerrit Huizenga
2002-08-02  2:23       ` David S. Miller
2002-08-02  2:23         ` David S. Miller
2002-08-02  2:53         ` Gerrit Huizenga
2002-08-02  2:53           ` Gerrit Huizenga
2002-08-02  5:24       ` David Mosberger
2002-08-02  5:24         ` David Mosberger
2002-08-02  5:20         ` David S. Miller
2002-08-02  5:20           ` David S. Miller
2002-08-02  6:26           ` David Mosberger
2002-08-02  6:26             ` David Mosberger
2002-08-02  6:33             ` Martin J. Bligh
2002-08-02  6:33               ` Martin J. Bligh
2002-08-02  6:44               ` David Mosberger
2002-08-02  6:44                 ` David Mosberger
2002-08-02 10:00                 ` Marcin Dalecki
2002-08-02 10:00                   ` Marcin Dalecki
2002-08-02  7:08               ` Andrew Morton
2002-08-02  7:08                 ` Andrew Morton
2002-08-02  7:15                 ` William Lee Irwin III
2002-08-02  7:15                   ` William Lee Irwin III
2002-08-02  8:20             ` David S. Miller
2002-08-02  8:20               ` David S. Miller
2002-08-02  9:05               ` Ryan Cumming
2002-08-02  9:05                 ` Ryan Cumming
2002-08-02  9:06                 ` David S. Miller
2002-08-02  9:06                   ` David S. Miller
2002-08-02 12:52                 ` Rik van Riel
2002-08-02 12:52                   ` Rik van Riel
2002-08-02 13:29               ` What does this error mean? "local symbols in discarded section .text.exit" jeff millar
2002-08-02 13:52                 ` Jose Luis Domingo Lopez [this message]
2002-08-02 22:50                   ` jeff millar
2002-08-02 23:04                     ` Thunder from the hill
2002-08-02 15:27               ` large page patch David Mosberger
2002-08-02 15:27                 ` David Mosberger
2002-08-02  1:09 ` Martin J. Bligh
2002-08-02  1:09   ` Martin J. Bligh
2002-08-02  4:07   ` Linus Torvalds
2002-08-02  4:13     ` David S. Miller
2002-08-02  4:30       ` William Lee Irwin III
2002-08-02  4:32       ` Linus Torvalds
2002-08-02  5:11         ` William Lee Irwin III
2002-08-02  7:30         ` Andrew Morton
2002-08-02  4:38     ` Martin J. Bligh
2002-08-02  1:36 ` Andrew Morton
2002-08-02  1:36   ` Andrew Morton
2002-08-02  4:31   ` Daniel Phillips
2002-08-02  4:31     ` Daniel Phillips
2002-08-02  4:47     ` Andrew Morton
2002-08-02  4:47       ` Andrew Morton
2002-08-02  3:47 ` William Lee Irwin III
2002-08-02  3:47   ` William Lee Irwin III
2002-08-02 23:40 ` Chris Wedgwood
2002-08-02 23:40   ` Chris Wedgwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020802135218.GA15211@localhost \
    --to=linux-kernel@24x7linux.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.