X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 43F923857C40
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=nexgo.de
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=Stromeko@nexgo.de
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Test: cmake-3.17.3-1
References: <announce.3c6e5318-b740-8adf-0684-79486aa82f88@gmail.com>
 <20200718094555.9CED.50F79699@gmail.com>
Date: Sat, 18 Jul 2020 08:14:29 +0200
In-Reply-To: <20200718094555.9CED.50F79699@gmail.com> (Lemures Lemniscati via
 Cygwin's message of "Sat, 18 Jul 2020 09:45:59 +0900")
Message-ID: <875zal4aey.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
X-VADE-STATUS: LEGIT
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_NUMSUBJECT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Lemures Lemniscati via Cygwin writes:
> Some errors'll occur in Source/kwsys/SystemInformation.cxx
> since /proc/meminfo in Cygwin has only these fields
>
> $ cat /proc/meminfo
> MemTotal:       20824372 kB
> MemFree:        13545156 kB
> HighTotal:             0 kB
> HighFree:              0 kB
> LowTotal:       20824372 kB
> LowFree:        13545156 kB
> SwapTotal:       3145728 kB
> SwapFree:        3131252 kB
>
> In particular, we have no MemAvailable field in Cygwin.
>
> I attached a patch 0001-3.17.3-cpuinfo_suppl.patch for this issue,
> which should be applied after 3.17.3-cpuinfo.patch
>
> The patch separates a case defined(__CYGWIN__) from a case defined(__linux)

I'd suggest we rather patch Cygwin to provide that field in meminfo.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
