From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx009.vodafonemail.xion.oxcs.net (mx009.vodafonemail.xion.oxcs.net [153.92.174.39]) by sourceware.org (Postfix) with ESMTPS id 43F923857C40 for ; Sat, 18 Jul 2020 06:14:33 +0000 (GMT) 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 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 44C1960431E for ; Sat, 18 Jul 2020 06:14:32 +0000 (UTC) Received: from Gertrud (unknown [87.185.208.218]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 172726041C5 for ; Sat, 18 Jul 2020 06:14:29 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Test: cmake-3.17.3-1 References: <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 Content-Type: text/plain 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2020 06:14:34 -0000 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