[lkml]   [2005]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: i386 -> x86_64 cross compile failure (binutils bug?)
    On Sat, 2005-12-10 at 01:56 -0700, Andi Kleen wrote:
    > Lee Revell <> writes:
    > > - disable CONFIG_IA32_EMULATION
    > I just tried it here. Adding -m64 to CFLAGS/AFLAGS on a native
    > 64bit biarch toolchain and it compiled without problems. It ends
    > up with -m64 -m32 for the 32bit vsyscall files, but that seems
    > to DTRT at least in gcc 4.

    Nope, passing -m64 -m32 does not seem to DTRT on native 32bit biarch

    make -f scripts/ obj=arch/x86_64/ia32
    gcc -Wp,-MD,arch/x86_64/ia32/.vsyscall-sysenter.o.d -nostdinc
    -isystem /usr/lib/gcc/i486-linux-gnu/4.0.2/include -D__KERNEL__
    -Iinclude -D__ASSEMBLY__ -m64 -m32 -c -o
    arch/x86_64/ia32/vsyscall-sysenter.S: Assembler messages:
    arch/x86_64/ia32/vsyscall-sysenter.S:14: Error: suffix or operands
    invalid for `push'


    That command succeeds if I run it by hand only passing -m32.


    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: 2005-12-10 06:15    [W:0.021 / U:34.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site