Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: perf 3.8-rc build failure: undefined reference to `strlcpy' | Date | Wed, 30 Jan 2013 11:15:55 +0900 |
| |
Hi Borislav,
On Tue, 29 Jan 2013 11:37:22 +0100, Borislav Petkov wrote: > 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.
Please see my reply on another post from Thomas:
https://lkml.org/lkml/2013/1/29/32
It's not like a build failure of perf tools, it's just a result of feature test so should not affect the build of perf itself, right? Why it confuses us is that we don't show any compile message if -s option is given to make, so I posted a patch to hide CHK and above failure message when -s option is specified.
Thanks, Namhyung
| |