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.60) (envelope-from ) id 1GggrV-00028z-AL for garchives@archives.gentoo.org; Sun, 05 Nov 2006 12:12:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA5CAQk5029920; Sun, 5 Nov 2006 12:10:26 GMT Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.149.33.74]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA5CAPfK030688 for ; Sun, 5 Nov 2006 12:10:25 GMT Received: from wstn.prhnet (prh.gotadsl.co.uk [81.6.251.123]) by smtp.nildram.co.uk (Postfix) with ESMTP id 8F7BA4FECA; Sun, 5 Nov 2006 12:10:23 +0000 (GMT) From: Peter Humphrey To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: Unexpected side effect of GCC 4 Date: Sun, 5 Nov 2006 12:10:24 +0000 User-Agent: KMail/1.9.5 References: <200611050845.42865.prh@gotadsl.co.uk> <200611051150.06468.prh@gotadsl.co.uk> In-Reply-To: <200611051150.06468.prh@gotadsl.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611051210.25023.prh@gotadsl.co.uk> X-Archives-Salt: 8018984e-fae8-4864-ba9b-1c5bdfc74093 X-Archives-Hash: 8c5db0e1745c1de1ca959c03e8bf4d5e On Sunday 05 November 2006 11:50, Peter Humphrey wrote: > On Sunday 05 November 2006 10:12, Duncan wrote: > > What about linux-headers and glibc? The new glibc (2.5) has had some > > very strange interactions here. > > Good point. On the firewall I have: > $ qpkg -v -I glibc > sys-libs/glibc-2.4-r3 > $ qpkg -v -I linux-headers > sys-kernel/linux-headers-2.6.17-r1 > $ uname -r > 2.6.17-gentoo-r8 > $ gcc-config -l > [1] i686-pc-linux-gnu-3.4.6 * > [2] i686-pc-linux-gnu-3.4.6-hardened > [3] i686-pc-linux-gnu-3.4.6-hardenednopie > [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp > [5] i686-pc-linux-gnu-3.4.6-hardenednossp > [6] i686-pc-linux-gnu-4.1.1 > > and on the workstation I have: > $ qpkg -v -I glibc > /glibc-2.5 > $ qpkg -v -I linux-headers > /linux-headers-2.6.17-r1 > $ uname -r > 2.6.18-gentoo-r1 > $ gcc-config -l > [1] x86_64-pc-linux-gnu-4.1.1 * > (I don't know what's causing qpkg to drop the first part of the package > name on the workstation. Is this another pointer to glibc?) [...] > The firewall box has been untouched and continues to run with > glibc-2.4-r3 and linux-headers-2.16.7-r1; that's the box with the rsync > server. The workstation is the one with all the changes, being in fact a > new installation from scratch. If I boot the old system, which I think > has the same versions of glibc and linux-headers as the firewall box > (I'll try that in a minute and let you know if it's otherwise), In fact the old workstation system is like this (I'm running it now): $ qpkg -v -I glibc /glibc-2.5 $ qpkg -v -I linux-headers /linux-headers-2.6.17-r1 prh@wstn ~ $ uname -r 2.6.18-gentoo-r1 prh@wstn ~ $ gcc-config -l [1] x86_64-pc-linux-gnu-3.4.6 * [2] x86_64-pc-linux-gnu-3.4.6-hardened [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp [6] x86_64-pc-linux-gnu-4.1.1 $ emerge --info | grep FLAGS CFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -freorder-blocks-and-partition -funit-at-a-time -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants" CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS (Note the partial package name reported by qpkg.) So I have a pointer away from glibc and linux-headers. CFLAGS on the new system are as on the old but with -combine added.The old and new systems have the same versions of kernel, linux-headers and glibc, but different versions of gcc. Rsync is crippled on the old system but fine on the new one. -- Rgds Peter -- gentoo-amd64@gentoo.org mailing list