From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FN8bx-0000qy-5A for garchives@archives.gentoo.org; Sat, 25 Mar 2006 13:15:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2PDEoju016568; Sat, 25 Mar 2006 13:14:50 GMT Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2PDD0Y3001265 for ; Sat, 25 Mar 2006 13:13:00 GMT Received: from [192.168.0.209] (81.226.250.213) by pne-smtpout1-sn2.hy.skanova.net (7.2.070) (authenticated as u18221075) id 44184DEA0026C0CB for gentoo-dev@lists.gentoo.org; Sat, 25 Mar 2006 14:13:00 +0100 Message-ID: <442541D3.3070500@telia.com> Date: Sat, 25 Mar 2006 14:12:51 +0100 From: Simon Strandman User-Agent: Thunderbird 1.5 (Windows/20051201) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] toolchain.eclass and gcc 4.1 snapshots Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: bc8c2ace-bd67-487f-a262-bac91ed69cba X-Archives-Hash: 5fda7b1baf2830c2091ff1ef246d10f7 It seems like toolchain.eclass does something wrong when configuring gcc 4.1 snapshots. I decided to try gcc 4.1 on my server so I created a gcc-4.1.1.20060324 ebuild and defined the SNAPSHOT variable in it (current cvs has a lot of bugfixes since the release). This is the way I've done it with gcc 4.0 and I never had any problems then. The ebuild emerges without problems but it installs files in both /usr/lib/gcc/i686-pc-linux-gnu/4.1.1-20060324 and /usr/lib/gcc/i686-pc-linux-gnu/4.1.1. So when I try to emerge anything it always fails with errors like this: configure:2239: i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -fomit-frame-pointer -D_FORTIFY_SOURCE=1 conftest.c >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status Just copying over the files from one dir to the other and then symlinking it works around the problems. Any ideas? -- gentoo-dev@gentoo.org mailing list