public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <prh@gotadsl.co.uk>
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	[thread overview]
Message-ID: <200611051210.25023.prh@gotadsl.co.uk> (raw)
In-Reply-To: <200611051150.06468.prh@gotadsl.co.uk>

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



  reply	other threads:[~2006-11-05 12:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-05  8:45 [gentoo-amd64] Unexpected side effect of GCC 4 Peter Humphrey
2006-11-05 10:12 ` [gentoo-amd64] " Duncan
2006-11-05 11:50   ` Peter Humphrey
2006-11-05 12:10     ` Peter Humphrey [this message]
2006-11-06  8:17       ` Duncan
2006-11-06  8:29         ` Hemmann, Volker Armin
2006-11-06 15:57           ` Duncan
2006-11-06  7:50     ` Duncan
2006-11-06  8:48       ` Peter Humphrey
2006-11-06 16:01         ` Duncan
2006-11-06 16:06         ` Peter Humphrey
2006-11-06  8:41     ` Duncan
2006-11-06 10:47       ` Hemmann, Volker Armin
2006-11-06 11:48         ` Peter Humphrey
2006-11-06 12:05           ` Hemmann, Volker Armin
2006-11-06 12:49             ` Jack Lloyd
2006-11-06 12:59               ` Hemmann, Volker Armin
2006-11-06 13:06                 ` Jack Lloyd
2006-11-06 15:06                 ` Peter Humphrey
2006-11-06 11:44       ` Peter Humphrey
2006-11-06 15:51         ` Duncan
2006-11-08 11:19           ` Peter Humphrey
2006-11-08 15:17             ` Duncan
2006-11-10 10:14               ` Peter Humphrey
2006-11-05 13:24   ` Hemmann, Volker Armin
2006-11-05 23:26     ` Duncan
2006-11-08 10:14 ` [gentoo-amd64] " Peter Humphrey
2006-11-08 11:06   ` [gentoo-amd64] " Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611051210.25023.prh@gotadsl.co.uk \
    --to=prh@gotadsl.co.uk \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox