Re: perf 3.8-rc build failure: undefined reference to `strlcpy'

From: Borislav Petkov
Date: Tue Jan 29 2013 - 05:37:29 EST


On Tue, Jan 29, 2013 at 06:22:53AM +0200, Thomas Backlund wrote:
>
> [tmb@tmb linux-3.8-rc5]$ make -C tools/perf -s V=1
> HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all
>
> ...
>
> /tmp/ccJEJv6m.o: In function `main':
> :(.text+0x14): undefined reference to `strlcpy'
> collect2: ld returned 1 exit status
>
> ...
>
> This did not show up in 3.7

Ditto here:

/tmp/ccC1kLwn.o: In function `main':
:(.text+0x14): undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status

Someone needs to get HAVE_STRLCPY and tools/perf/util/path.c in order so
that the linker sees it, IMHO.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/