[lkml]   [2009]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: ftrace breaks sparc64 build
    >>> Al Viro <> 06.01.09 12:35 >>>
    >On Tue, Jan 06, 2009 at 07:53:04AM +0000, Jan Beulich wrote:
    >> The others look like a tools side behavioral difference, as I never saw any
    >> such. Is this problem sparc32-specific (I tested x86 and ia64 only)? What's
    >> the binutils version used?
    >And no, it's not tools side. What it is, AFAICT, is that sparc32 has
    >LDFLAGS_vmlinux = -r, which leaves a metric arseload of relocs that
    >wouldn't have survived into vmlinux otherwise. Look at .rela__ksymtab
    >in .tmp_vmlinux1, for example...

    So that should help:

    --- a/init/Kconfig
    +++ b/init/Kconfig
    @@ -588,6 +588,8 @@
    bool "Strip machine generated symbols from kallsyms"
    depends on KALLSYMS_ALL
    + # This doesn't work with -r in LDFLAGS_vmlinux.
    + depends on !SPARC || SPARC64
    default y
    Say N if you want kallsyms to retain even machine generated symbols.

     \ /
      Last update: 2009-01-08 10:31    [W:0.021 / U:7.748 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site