23 Jun, 2015

1 commit

  • The following was seen in linux-next build coverage, which is somewhat
    unique since it uses powerpc host to cross compile x86:

    Documentation/vDSO/vdso_standalone_test_x86.c:49:2: error: impossible
    register constraint in 'asm'
    make[4]: *** [Documentation/vDSO/vdso_standalone_test_x86.o] Error 1

    It probably makes sense to just skip building these tests when
    we are cross compiling.

    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Andy Lutomirski
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Jonathan Corbet

    Paul Gortmaker
     

25 Oct, 2014

1 commit

  • The use of 64-bit math on i386 causes build failures:
    vdso_standalone_test_x86.c:(.text+0x101): undefined reference to `__umoddi3'
    vdso_standalone_test_x86.c:(.text+0x12d): undefined reference to `__udivdi3'

    Commit adb19fb66ee (Documentation: add makefiles for more targets) is
    now building this by default, so it's failing the kernel build entirely.

    Switching the declaration from uint64_t to time_t does the right thing
    and handles the x32 case automatically.

    Signed-off-by: Jeff Mahoney
    Acked-by: Peter Foley
    Signed-off-by: Jonathan Corbet

    Jeff Mahoney
     

21 Oct, 2014

1 commit


26 Sep, 2014

4 commits


13 Jun, 2014

2 commits


15 Jul, 2011

1 commit

  • It turns out that parsing the vDSO is nontrivial if you don't already
    have an ELF dynamic loader around. So document it in Documentation/ABI
    and add a reference CC0-licenced parser.

    This code is dedicated to Go issue 1933:
    http://code.google.com/p/go/issues/detail?id=1933

    Signed-off-by: Andy Lutomirski
    Link: http://lkml.kernel.org/r/a315a9514cd71bcf29436cc31e35aada21a5ff21.1310563276.git.luto@mit.edu
    Signed-off-by: H. Peter Anvin

    Andy Lutomirski