Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH 1/3] perf tools: Separate lbfd check out of NO_DEMANGLE condition | Date | Wed, 02 Oct 2013 17:38:13 +0900 |
| |
Hi Jiri,
On Wed, 2 Oct 2013 10:17:57 +0200, Jiri Olsa wrote: > On Wed, Oct 02, 2013 at 10:18:32AM +0900, Namhyung Kim wrote: >> It seems that it needs libdl for loading plugins. Adding -ldl makes >> above build successfully. So we need to add -ldl for EXTLIBS IMHO. >> Without it, make NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1 will fail to >> check libbfd correctly (FYI, libperl and libpython add -ldl to the >> dependency list). > > hum, so on my system -liberty check wins without -lbfd, > so 'NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1' passes > > I need to check Ingo's latest changes on this, not sure how > if this problem is relevant any longer ;-)
AFAICS, Ingo's patch does "-lbfd -ldl" rather than "-lbfd". So probably there's no problem then. :)
Thanks, Namhyung
| |