lkml.org 
[lkml]   [2011]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPatch: Re: Compile error: arch/x86/kernel/entry_32.S:1422: Error: .size expression does not evaluate to a constant
Date
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 17 March 2011, Curt Howland was heard to say:
> 2.6.38-rc6 compiled just fine, 2.6.38-rc7, -rc8 and the released
> 2.6.38 all got this error, with gcc 4.4 and after Debian Unstable
> updated to gcc 4.5:
>
> arch/x86/kernel/entry_32.S: Assembler messages:
> arch/x86/kernel/entry_32.S:1422: Error: .size expression does not
> evaluate to a constant make[3]: *** [arch/x86/kernel/entry_32.o]
> Error 1

This fixes the problem. The file does not have a maintainer listed, so
I don't know where else to send it than to the LKML. Please correct
me or redirect as needed.

- --- entry_32.S.original 2011-03-18 08:21:51.000000000 -0400
+++ entry_32.S 2011-03-20 10:37:00.000000000 -0400
@@ -343,7 +343,7 @@
# int/exception return?
jne work_pending
jmp restore_all
- -END(ret_from_exception)
+END(resume_userspace)

#ifdef CONFIG_PREEMPT
ENTRY(resume_kernel)
@@ -1413,7 +1413,7 @@
CFI_ADJUST_CFA_OFFSET 4
jmp error_code
CFI_ENDPROC
- -END(apf_page_fault)
+END(async_page_fault)
#endif

/*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBTYYXSS9Y35yItIgBAQJMRwf+MUIRl9ALi04X23ano0jd0pQCwOPHXToU
OfLQLyuJLvUkX1a5guAZhB4Id855r4e4fZnMHZpq47oxWgDy/wkXzZKo0dCYkmS0
a2Myzli4p5qNUUlROLJGvllNAzUL6+2+1w/1IpNfwSnTtfj6V0lzHWlxjYrFh3Kg
yJ5S3tuS993ORX6Obd7l/CzO6AIRKiZLqXbNUDwXLJvv+w8rfUsUY0EjZlpeWJr0
4FjliC1k1ZJc8Z4LVKzQjOUQMpAp1KU6e6JKht2xOggWRcs6CIMBH+nDg4/CG0uJ
R3bVj6Z1ydnT7vrOCrDyHhZRCSjKSeOw/+xxzeYZrBYCDP6z52VXJg==
=S8vn
-----END PGP SIGNATURE-----

\
 
 \ /
  Last update: 2011-03-20 16:07    [from the cache]
©2003-2011 Jasper Spaans