lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: m68k: main.c:(.init.text+0x730): undefined reference to `strlen'
    [Andreas Schwab - Wed, May 14, 2008 at 04:28:24PM +0200]
    | Adrian Bunk <bunk@kernel.org> writes:
    |
    | > Or replace all the strlen stuff in include/asm-m68k/string.h with a
    |
    | I don't think the strlen macros has any influence in this case (it
    | already uses __builtin_strlen anyway). I'd rather guess that gcc is
    | expanding strncat internally to something involving strlen with
    | non-constant argument, although I cannot see how that can happen from a
    | quick look.
    |
    | Andreas.
    |
    | --
    | Andreas Schwab, SuSE Labs, schwab@suse.de
    | SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
    | PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
    | "And now for something completely different."
    |

    I think it would help to see ..tmp_vmlinux1.cmd to ensure for inclusion
    of lib/lib.a. strlen was there without my patch as Andreas already pointed,
    I've just added strncat wich is coming from lib/string.o for this arch.

    - Cyrill -
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-05-14 16:43    [W:0.021 / U:149.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site