From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q77UE-0004Dw-Hf for garchives@archives.gentoo.org; Tue, 05 Apr 2011 14:44:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C74A31C00B; Tue, 5 Apr 2011 14:42:39 +0000 (UTC) Received: from basement.kutulu.org (187.250.102.97.cfl.res.rr.com [97.102.250.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 992E31C00B for ; Tue, 5 Apr 2011 14:42:39 +0000 (UTC) Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id 72A3C7D8021 for ; Tue, 5 Apr 2011 06:42:38 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qiGdIsfS7ejo for ; Tue, 5 Apr 2011 06:42:38 -0400 (EDT) Received: from [192.168.100.84] (173.221.47.98.nw.nuvox.net [173.221.47.98]) by basement.kutulu.org (Postfix) with ESMTPSA id EB9647D801C for ; Tue, 5 Apr 2011 06:42:37 -0400 (EDT) Message-ID: <4D9B2A5E.7030600@kutulu.org> Date: Tue, 05 Apr 2011 10:42:38 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5 References: <201104041341.14216.alan.mckinnon@gmail.com> <4D99BAD8.6030809@kutulu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 6c05f85cb9a43b7faf64eabdb46efccf On 4/5/2011 3:03 AM, Pandu Poluan wrote: > On Mon, Apr 4, 2011 at 19:34, Mike Edenfield wrote: >> On 4/4/2011 8:07 AM, Pandu Poluan wrote: >> >>> MAKEOPTS="-j3" >> >>> {standard input}: Assembler messages: >>> {standard input}:146362: Error: open CFI at the end of file; missing >>> .cfi_endproc directive >>> xgcc: Internal error: Killed (program cc1) >> >> This kind of error is often caused by the parallel make not quite working. >> Try running the build like: >> >> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5 >> >> In general, whenever you get strange build errors (i.e. that have no >> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often >> it will fix the problem, but even when it doesn't you will usually get a >> much more useful error. > > Thanks for the tip. Now it's 'partially successful': > > * QA Notice: Package has poor programming practices which may compile > * fine but exhibit random runtime failures. These aren't anything to worry about. >>>> Installing (1 of 1) sys-devel/gcc-4.4.5 > * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in > '/etc/env.d/gcc/' ! > * Running 'fix_libtool_files.sh 4.4.4' > * Scanning libtool files for hardcoded gcc library paths... > cat: ld.so.conf.d/*.conf: No such file or directory > gcc-config: error: could not run/locate 'gcc' > :0: assertion failed: (gcc -dumpversion) | getline NEWVER) > * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ... > > * Your gcc has a bug with GCC_SPECS. > * Please re-emerge gcc. > * http://bugs.gentoo.org/68395 All of this is caused by your previous gcc profile being invalid, that is, pointing to a non-existent gcc version (one that had already been uninstalled). You *don't* have to re-emerge gcc as it says -- the bug is not in your GCC_SPECS but in gcc-config. You should first run gcc-config again to make sure your newly installed compiler it set as the default, then run `fix_libtool_files.sh 4.4.4` as the ebuild was trying to do. --Mike