[LTP] [PATCH] numa_node_size: drop definition of numa_exit_on_error

Jan Stancek jstancek@redhat.com
Thu Jan 28 15:45:45 CET 2016



----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp@lists.linux.it
> Sent: Thursday, 28 January, 2016 2:41:27 PM
> Subject: Re: [LTP] [PATCH] numa_node_size: drop definition of numa_exit_on_error
> 
> Hi!
> > numa_exit_on_error is defined by numactl library in libnuma.c,
> > at least since version 0.9. Re-defining it in test can cause
> > compile problems.
> 
> I've tried to rebuild LTP without the line in question on couple of SUSE
> distros and it haven't caused any problems. I wonder why it wasn't
> failing the compilation before though, the variable is defined right in
> the libnuma.c in the library.

Linker doesn't seem to mind when linking against shared library.
His build had --static, so I'm guessing noone has tried (and reported) that before.

Regards,
Jan

> 
> --
> Cyril Hrubis
> chrubis@suse.cz
> 


More information about the Ltp mailing list