login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
18
Re: [patch] modpost problem when symbols move from one module to another
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Sam Ravnborg
Subject:
Re: [patch] modpost problem when symbols move from one module to another
Date: Thursday, October 18, 2007 - 4:46 am
On Thu, Oct 11, 2007 at 04:40:10PM -0700, Trent Piepho wrote:
quoted text
> The v4l-dvb tree recently renamed a module and this caused some problems > with modpost creating incorrect module dependencies. This patch fixes that > problem. It should be explained thoroughly in the patch description. > modpost: Fix problem with out of date Module.symvers > > When part of build an external module tree, modpost first reads in the > kernel's and then the external tree's Module.symvers files. From these files > it establishes a symbol => module mapping. When it later reads in each module > built and processes the symbols it finds, it discovers the symbol=>module > mapping from Module.symvers and leaves it as it is. > > The problem comes with a module has been re-named or a symbol has moved from > one module to another, since the Module.symvers file was generated. modpost > does not update the symbol=>module mapping when it finds the new location of > the symbol when scanning the newly built modules. This results in the module > containing incorrect dependency information and the new Module.symvers file > written by modpost will also contain the incorrect mappings, perpetuating the > problem to the next build, and so on. > > When building the out of kernel development tree for kernel subsystem, like > v4l-dvb or ALSA, deleting the external Module.symvers file before building > (which the kernel build system doesn't do and shouldn't be necessary anyway), > won't fix the problem. modpost still reads the kernel's Module.symvers, and > since we a building a kernel subsystem, it will define the same symbols as the > external modules. > > Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Thanks - applied, Sam -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[patch] modpost problem when symbols move from one module ...
, Trent Piepho
, (Thu Oct 11, 4:40 pm)
Re: [patch] modpost problem when symbols move from one mod ...
, Sam Ravnborg
, (Thu Oct 18, 4:46 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Michael S. Tsirkin
git-kill: rewrite history removing a commit
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
Colocation donated by:
Syndicate