From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9F3C158008 for ; Thu, 15 Jun 2023 16:29:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71A8AE0A03; Thu, 15 Jun 2023 16:29:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39C3AE09E4 for ; Thu, 15 Jun 2023 16:29:22 +0000 (UTC) Message-ID: <631d9f97-4c96-daae-d2a9-c56cf881791a@gentoo.org> Date: Thu, 15 Jun 2023 12:29:19 -0400 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0 Subject: Re: [gentoo-dev] What happened to gcc-12.3.0? Content-Language: en-US To: gentoo-dev@lists.gentoo.org References: <87bkhhhs3i.fsf@gentoo.org> From: Joshua Kinard In-Reply-To: <87bkhhhs3i.fsf@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e37a045a-8e47-4495-a653-97d61d28d4b7 X-Archives-Hash: ec8cbf691ed506d6ae459ffb7221db73 On 6/15/2023 07:37, Sam James wrote: > > Joshua Kinard writes: > >> Noticing that the ebuild for gcc-12.3.0 got dropped with little >> explanation. It is the upstream stable release. I am eyeballing >> #906310 as what may have triggered the drop, but I find it a bit of a >> stretch that an upstream stable release got dropped over a single, >> optional package that has a history of quirky behavior (FWIW, I never >> had luck with ccache, especially on MIPS). > > Please see https://bugs.gentoo.org/908258. There were miscompilations > even fixed after 12.3.0 was tagged. > > (Also, ccache really isn't a "package with quirky behaviour" in terms of > whether or not it causes gcc to ICE. It has nothing to do with what > ccache itself does at runtime.) True, I've just never had solid luck with it in the cases where I've tried using it. Same goes for distcc. Something always broke, and it took more time to dig into the break and find a fix than to just build things the regular way. Shouldn't be lumping a compiler ICE into that, but I wrote my inquiry late at night when I probably should've slept on it some more :) >>> >> Under qemu, it takes about 4 hours to build the single-ABI variant of >> gcc and 7 hours for the multilib variant. So I avoid rebuilding the >> compiler as much as possible, as with six chroots, that's virtually an >> entire day across all six just for gcc, minus distractions (seriously, >> the build times on gcc are getting waaaaaaay out of hand, regardless >> of arch). > > It should get a bit better as of recent 13 as we backported a change > to help parallel builds at least (and reduce resource consumption). This is good to know, thanks. I'll look at what qlop reports for build-times on the host itself as well as inside a qemu-mips chroot and see if there are noticeable differences. I've been wondering if gcc upstream would ever look into dealing with C++'s slower compilation time in some form, so if they are starting to address things (beginning w/ better parallelization), that's a hopeful sign. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic