On Wed, 2012-08-08 at 20:16 +0800, Mike Qiu wrote:
> Currently, the patch of the makefile may cause the problem like:
> /lib64/libpthread.so.0: could not read symbols: Invalid operation
> 
> To solve the problem is add "-lpthread" when build the src

Fair enough, applied to next, thanks!

> Signed-off-by: Mike Qiu <[email protected]>
> ---
>  client/tests/interbench/makefile.patch |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/client/tests/interbench/makefile.patch 
> b/client/tests/interbench/makefile.patch
> index 99ed3c2..3a8136a 100644
> --- a/client/tests/interbench/makefile.patch
> +++ b/client/tests/interbench/makefile.patch
> @@ -1,8 +1,8 @@
> ---- interbench-0.30/Makefile.orig    2011-02-07 19:56:51.000000000 -0800
> -+++ interbench-0.30/Makefile 2011-02-07 19:57:15.000000000 -0800
> +--- interbench-0.30/Makefile.orig    2006-03-04 09:33:54.000000000 +0800
> ++++ interbench-0.30/Makefile 2012-08-08 16:51:19.000000000 +0800
>  @@ -1,4 +1,4 @@
>  -CC=gcc
>  +CC ?= gcc
>   CFLAGS=-W -Wall -g -O2 -s -pipe
> - LDFLAGS=-lrt -lm
> - 
> +-LDFLAGS=-lrt -lm
> ++LDFLAGS=-lrt -lm -lpthread


_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to