public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Poznick <kraken@drunkmonkey.org>
To: linux-kernel@vger.kernel.org
Cc: Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11)
Date: Wed, 17 Dec 2003 13:31:24 -0600	[thread overview]
Message-ID: <20031217193124.GA4837@wang-fu.org> (raw)
In-Reply-To: <20031217121010.GA11062@twiddle.net>

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

Thus spake Richard Henderson:
> Which module?  This relocation should never EVER show up in kernel code.

Well, it was happening on anything I attempted to make a module.

> (It will show up in dwarf2 debug info, so make sure you're not looking at
> objects compiled with -g, but debug sections ought to be ignored by the
> module loading code.)

I think that may have been the root cause of this; I had
CONFIG_DEBUG_INFO enabled from debugging attempts related to a past
problem.  With that enabled, -g is used for the compile, so the
relocations were added, and module loading failed.  After disabling it,
R_ALPHA_REFLONG did not appear in any of the object files.  So I suppose
my next question is if this is a known/intended side effect -- enabling
CONFIG_DEBUG_INFO means that modules cannot be used?


-- 
Nathan Poznick <kraken@drunkmonkey.org>

My school colors were clear. We used to say, "I'm not naked, I'm in the
band." -Stephen Wright


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-17 19:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-13  0:38 [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11) Nathan Poznick
2003-12-13  2:27 ` Måns Rullgård
2003-12-13  4:09   ` Nathan Poznick
2003-12-17 12:10 ` Richard Henderson
2003-12-17 19:31   ` Nathan Poznick [this message]
2003-12-18  1:02     ` Richard Henderson
2003-12-22  1:08       ` Rusty Russell
2003-12-30  3:57       ` Rusty Russell
2003-12-30  6:14         ` Nathan Poznick

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=20031217193124.GA4837@wang-fu.org \
    --to=kraken@drunkmonkey.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox