[lkml]   [2011]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[26/63] x86: Fix binutils-2.21 symbol related build failures
2.6.38-stable review patch.  If anyone has any objections, please let us know.


From: Sedat Dilek <>

commit 2ae9d293b14d17f35eff624272cfecac7979a2ee upstream.
[only 1/2 of the upstream commit was needed for stable - gkh]

New binutils version started checking that the symbol
parameter to the .size directive matches the entry name's
symbol parameter, unearthing two mismatches:

AS arch/x86/kernel/acpi/wakeup_rm.o
arch/x86/kernel/acpi/wakeup_rm.S: Assembler messages:
arch/x86/kernel/acpi/wakeup_rm.S:12: Error: .size expression with symbol `wakeup_code_start' does not evaluate to a constant

arch/x86/kernel/entry_32.S: Assembler messages:
arch/x86/kernel/entry_32.S:1421: Error: .size expression with
symbol `apf_page_fault' does not evaluate to a constant

The problem was discovered while using Debian's binutils
( and experimenting with binutils from

Thanks Alexander and H.J. for the vital help.

Signed-off-by: Sedat Dilek <>
Cc: Alexander van Heukelum <>
Cc: H.J. Lu <>
Cc: Len Brown <>
Cc: Pavel Machek <>
Cc: Rafael J. Wysocki <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>
Signed-off-by: Greg Kroah-Hartman <>

arch/x86/kernel/entry_32.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -1413,7 +1413,7 @@ ENTRY(async_page_fault)
jmp error_code


 \ /
  Last update: 2011-03-26 01:25    [W:0.404 / U:0.148 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site