Re: [dm-devel] [PATCH] libmultipath: fix compile error with glibc-2.34+

2021-08-12 Thread Martin Wilck
Hello Lixiaokeng, On Mi, 2021-08-11 at 21:11 +0800, lixiaokeng wrote: > There is an error when complie with glibc-2.34: > comparison of integer expressions of different signedness: > 'size_t' {aka 'long unsigned int'} and 'long int' > [-Werror=sign-compare] > > The reason is that PTHREAD_STACK_MI

Re: [dm-devel] [PATCH] libmultipath: fix compile error with glibc-2.34+

2021-08-12 Thread lixiaokeng
On 2021/8/12 19:17, Martin Wilck wrote: > Hello Lixiaokeng, > > On Mi, 2021-08-11 at 21:11 +0800, lixiaokeng wrote: >> There is an error when complie with glibc-2.34: >> comparison of integer expressions of different signedness: >> 'size_t' {aka 'long unsigned int'} and 'long int' >> [-Werror=s

[dm-devel] [PATCH] libmultipath: fix compile error with glibc-2.34+

2021-08-11 Thread lixiaokeng
There is an error when complie with glibc-2.34: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare] The reason is that PTHREAD_STACK_MIN may be defined long int which is signed in glibc-2.34+. Explicitly assign it to