public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] with-numa/without-numa option not working ?
@ 2018-12-03 15:14 Rafael David Tinoco
  2018-12-03 16:37 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael David Tinoco @ 2018-12-03 15:14 UTC (permalink / raw)
  To: ltp

Hello,

Daniel has discovered that --with-numa and --without-numa practically
have the same effect, disabling NUMA support. This can be seen when
executing test "migrate_pages03", for example.

In both situations it will display:

tst_test.c:771: CONF: require libnuma >= 2 and it's development packages

config.log shows:

when --with-numa AND when --without-numa are set (or --with-numa=yes or
--with-numa=no):

NUMA_LIBS=''



#define NUMA_ERROR_MSG "NUMA support was disabled during build"



when nothing is specificied:

NUMA_LIBS='-lnuma'



#define HAVE_NUMA_H 1


#define HAVE_NUMAIF_H 1
#define HAVE_NUMA_V2 1
#define NUMA_ERROR_MSG "test requires libnuma >= 2..."

I believe something is wrong with configure.ac for NUMA (maybe some
other options ?). I'm not an autoconf expert, could someone take a look ?

Thank you
-- 
Rafael D. Tinoco
Linaro - Kernel Validation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTP] with-numa/without-numa option not working ?
  2018-12-03 15:14 [LTP] with-numa/without-numa option not working ? Rafael David Tinoco
@ 2018-12-03 16:37 ` Petr Vorel
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2018-12-03 16:37 UTC (permalink / raw)
  To: ltp

Hi Rafael,

> Hello,

> Daniel has discovered that --with-numa and --without-numa practically
> have the same effect, disabling NUMA support. This can be seen when
> executing test "migrate_pages03", for example.

> In both situations it will display:

> tst_test.c:771: CONF: require libnuma >= 2 and it's development packages

> config.log shows:

> when --with-numa AND when --without-numa are set (or --with-numa=yes or
> --with-numa=no):
Thanks for your report. I'm the author of numa configure option, I'm aware of
it (39a85a1f1 and 4ace68a6b).
It was never meant that --with-numa would be working.  There was only
--without-numa as workaround for systems without numa libraries and devel files.
Before it was a dependency for LTP compilation.
But I know it's confusing, as it's expected both --with-PACKAGE
and--without-PACKAGE are implemented, so I'll fix it => with --with-numa
(which will be the default) it will fail to compile.

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-03 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-03 15:14 [LTP] with-numa/without-numa option not working ? Rafael David Tinoco
2018-12-03 16:37 ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox