On 7/13/2010 7:56 PM, Arun Sharma wrote:
On Tue, Jul 13, 2010 at 5:24 PM, Don Maghrak<[email protected]>  wrote:

Is there a way to have configure ensure that mincore is only
used at linux 2.6.21 or later?
For now we are undefining HAVE_MINCORE in our builds but that makes
deployment on multiple systems difficult.

A runtime check is probably too expensive. A compile time check fails
if you compile on a new kernel and deploy on an old kernel.

agreed.
The attached patch should allow you to turn off HAVE_MINCORE via a
configure time flag.

That was fast! Will give it a try.
thank you!
Don
  -Arun


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to