lkml.org 
[lkml]   [2013]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] tools/perf/build: Speed up the perf build system
On 10/10/13 4:13 PM, Jiri Olsa wrote:
> I still got some warning though:
> LINK /tmp/perf/perf
> /tmp/perf/libperf.a(target.o): In function `perf_target__parse_uid':
> /home/jolsa/kernel.org/linux-perf/tools/perf/util/target.c:72: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
> /home/jolsa/kernel.org/linux-perf/tools/perf/util/target.c:84: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
> /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../lib64/libpthread.a(libpthread.o): In function `sem_open':
> (.text+0x67f8): warning: the use of `mktemp' is dangerous, better use `mkstemp'

harmless.


> diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
> index 233dd36..9680424 100644
> --- a/tools/perf/config/Makefile
> +++ b/tools/perf/config/Makefile
> @@ -504,7 +504,7 @@ else
> endif
> endif
>
> -ifndef ($(filter -lbfd,$(EXTLIBS)),)
> +ifneq ($(filter -lbfd,$(EXTLIBS)),)
> CFLAGS += -DHAVE_LIBBFD_SUPPORT
> endif
>

Nice find.

Tested-by: David Ahern <dsahern@gmail.com>



\
 
 \ /
  Last update: 2013-10-11 02:21    [W:0.052 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site