archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <>
To: lixiaokeng <>,
	Benjamin Marzinski <>,
	Christophe Varoqui <>,
	dm-devel mailing list <>
Cc: linfeilong <>,
	"liuzhiqiang \(I\)" <>
Subject: Re: [dm-devel] [PATCH] libmultipath: fix compile error with glibc-2.34+
Date: Thu, 12 Aug 2021 13:17:00 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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_MIN may be defined
> long int which is  signed in glibc-2.34+. Explicitly assign
> it to the size_t variable to  fix it.
> Signed-off-by: Lixiaokeng <>
> Signed-off-by: Zhiqiang Liu <>

Thanks! Ben had already submitted a patch for this in

Ben's patch handles the error case (-1) more correctly.


dm-devel mailing list

  reply	other threads:[~2021-08-12 11:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-11 13:11 [dm-devel] [PATCH] libmultipath: fix compile error with glibc-2.34+ lixiaokeng
2021-08-12 11:17 ` Martin Wilck [this message]
2021-08-12 12:45   ` lixiaokeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).