X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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 AT nexgo DOT de From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Test: cmake-3.17.3-1 References: <20200718094555 DOT 9CED DOT 50F79699 AT gmail DOT 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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