X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48095385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1710787425; bh=y7XtfUFLBIbGom2BThGRtZ/9ltnFmfFqhZCBB9YEOzw=; h=Date:Subject:To:References:Cc:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=KX3f9xo5aRDZ1iT10svdYDPJMrfPw/EBrn0KpdRKn2p1avqIZtKVtGsurJKfHbhGK u7tY+vSbyctRD8SFkOMjHmVRtq5+sQCp+5Lr8qwOoOTMc/eSv5nb6bCqvbse78aAt7 2ZaEECG0z1+ck2sH88YUsk/vgjpz3Bu2L3DPsJAM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D4263858CD1 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4D4263858CD1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710787403; cv=none; b=h+54zUS50YbWAA2v5NuMfupc277Tsf43qmytL6TAzPRq5PjRYfrN114XYNAaDZ5+A4rJ59nztrLx5l6kV5miHa+ItU2OX67b6Xhai7GqFluiDStrocgyc9BmmjnAneqN2EW1nIGyRGcLeD4QZsI8f0kDpI99EqvUg2foFybeDeI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710787403; c=relaxed/simple; bh=TYtaQ+8lCMVaPvRvpTE9RKKdJWCfaGzfnz250gFGNco=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=GX18wJd74P8WD2CVWa5JFH/x1GIESSzQYTDnL5w+oxpbIXB1EifA+O0696RJ3gpfY6V/PeesgkfTRE9vRcOMrLo1KmXRL7KLlkixuJTm6Gx/wqn3tVqKNyDKudzy2iRO8QSSVK0hghFI2qlQVM0hdDENeebeRbZaQrv1km/0gPk= ARC-Authentication-Results: i=1; server2.sourceware.org X-SNCR-Rigid: 65A5686F078CF226 X-Originating-IP: [81.129.146.224] X-OWM-Source-IP: 81.129.146.224 X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvledrkeejgdduudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtkeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeetgeetgfehiedukeejleekgeffjedvgedvudffvdeftddvkeehtdffveefgeekheenucfkphepkedurdduvdelrddugeeirddvvdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekuddruddvledrudegiedrvddvgedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgtphhtthhopehthhhomhgrsheshhgvugguvghnrdhorhhgpdhrvghvkffrpehhohhsthekuddquddvledqudegiedqvddvgedrrhgrnhhgvgekuddquddvledrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepshgrqdhp rhguqdhrghhouhhtqddttdeh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Message-ID: Date: Mon, 18 Mar 2024 18:43:18 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cannot downgrade gcc 13 or 12 to 11.4.0-1 Content-Language: en-US To: thomas AT hedden DOT org References: Cc: cygwin AT cygwin DOT com In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jon Turney via Cygwin Reply-To: Jon Turney Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 42IIhmLx442650 On 14/03/2024 18:34, Thomas Hedden via Cygwin wrote: > I installed a test version of gcc and cannot revert to an earlier, > non-test version. Here are the latest versions listed in the setup routine: > > 11.4.0-1 > 12.3.1+20240202-0.1 (Test) > 13.2.1+20240203-0.1 (Test) > > (there are some even older ones, but I want 11.4.0-1.) > > $ gcc --version > gcc (GCC) 13.2.1 20240203 [...] > $ gcc -o hello.exe hello.c > /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: > cannot find -lintl: No such file or directory > /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: > cannot find -liconv: No such file or directory > collect2: error: ld returned 1 exit status This seems like a problem with this test version of gcc. I guess maybe it now links with intl and iconv by default in the specsfile, which will require the corresponding devel packages to be installed, but it doesn't depend on them. This seems like a mistake. (I think libstdc++ will now require these, but they shouldn't be needed just for c compilation.) > So, I can't compile anything. I don't need the test version to work, I > just want to downgrade to 11.4.0-1. However, if I uninstall the test > version, and then try to install 11.4.0-1, I get the following message: > > Problem 1/1 > package gcc-g++-11.4.0-1 requires gcc11, but none of the providers can > be installed > Solution 1/2 >   - allow replacement of gcc-core-13.2.1+20240203-0.1 with > gcc-core-11.4.0-1 > Solution 2/2 (default) >   - do not ask to lock gcc-g++-11.4.0-1 > > What should I do? Sorry that this message isn't very clear, and this situation is not handled well by setup. You need to downgrade all the various gcc packages in step. Which you can do manually, but perhaps the easiest way to do this is to select the 'Sync' option at the top-right, which will downgrade all test packages. -- 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