[lkml]   [2006]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 04/24] x86_64: Pass -32 to the assembler when compiling the 32bit vsyscall pages
    -stable review patch.  If anyone has any objections, please let us know.


    This quietens warnings and actually fixes a bug. The unwind tables would
    come out wrong without -32, causing pthread cancellation during them
    to crash in the gcc runtime.

    The problem seems to only happen with newer binutils
    (it doesn't happen with but happens wit

    Thanks to Brian Baker @ HP for test case and initial analysis.


    Signed-off-by: Andi Kleen <>
    Signed-off-by: Greg Kroah-Hartman <>

    arch/x86_64/ia32/Makefile | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- linux-
    +++ linux-
    @@ -27,5 +27,5 @@ $(obj)/ $(obj)/vsysc
    $(obj)/ $(src)/ $(obj)/vsyscall-%.o FORCE
    $(call if_changed,syscall)

    -AFLAGS_vsyscall-sysenter.o = -m32
    -AFLAGS_vsyscall-syscall.o = -m32
    +AFLAGS_vsyscall-sysenter.o = -m32 -Wa,-32
    +AFLAGS_vsyscall-syscall.o = -m32 -Wa,-32
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-04-28 02:22    [W:0.036 / U:3.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site