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 <gentoo-user+bounces-46371-garchives=archives.gentoo.org@gentoo.org>)
	id 1G1JWg-00012R-KU
	for garchives@archives.gentoo.org; Fri, 14 Jul 2006 08:59:59 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6E8qqTt030404;
	Fri, 14 Jul 2006 08:52:52 GMT
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6E8UnfR012758
	for <gentoo-user@lists.gentoo.org>; Fri, 14 Jul 2006 08:30:50 GMT
Received: by ug-out-1314.google.com with SMTP id h2so674534ugf
        for <gentoo-user@lists.gentoo.org>; Fri, 14 Jul 2006 01:30:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=ZoFZG7iY9Yi9S8eF9+1cPRBPmSnQS22j3w8IOF1g/Jq5Avf03OQf1JrOIjV9Mtlea2B9mpKfAde40XmQr2pCun3L5MfEKRHe+2fO3V3+GsG7JUZM0YsDcjGTdM4yC7JLfRIYnxsESAUjtUSErKAK1Ak52lHl5i8Ow5sqIVTVywo=
Received: by 10.78.164.13 with SMTP id m13mr1522342hue;
        Fri, 14 Jul 2006 01:30:50 -0700 (PDT)
Received: by 10.78.16.7 with HTTP; Fri, 14 Jul 2006 01:30:49 -0700 (PDT)
Message-ID: <7573e9640607140130x4bd66f65l2a95078da747df5b@mail.gmail.com>
Date: Fri, 14 Jul 2006 01:30:49 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Locate and Fix .text Relocations (TEXTRELs)
In-Reply-To: <20060714095741.7b36081c@lx-arnau.pic.es>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20060713094303.0d821682@lx-arnau.pic.es>
	 <7573e9640607131112y44ec99aand717c2b638005bb4@mail.gmail.com>
	 <20060714095741.7b36081c@lx-arnau.pic.es>
X-Google-Sender-Auth: 116017f8cbfd69a4
X-Archives-Salt: c3da5b9e-3c71-4193-9a4c-c6df38a35c4c
X-Archives-Hash: ee658fb5d0906750861455f12fcda3d4

On 7/14/06, Arnau Bria <arnau@emergetux.net> wrote:
> CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mtune=i686"
> CXXFLAGS="-O2 -mcpu=i686 -pipe"

Hrm, these are really not sane.  -march is telling gcc to build C code
that will only run on a p4, and then you have -mtune specifying to run
on everything back to a pentium-II.  I *think* -march takes precedence
here....

But for C++ code, you are specifying that should run on any P-II.  So
C and C++ code is being compiled in very different ways on your
system.  This is bad.  I have no idea whether these are causing your
problems with akregator or not however...

BTW, the TEXTREL messages are directly attributable to your CXXFLAGS.
I built akregator with the same flags, and get the same messages.

So what I recommend you set in /etc/make.conf is:

CFLAGS="-march=pentium4 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Then re-merge akregator.  If you still have trouble, try renaming
~/.kde3.5 to ~/.kde3.5.old and start it.  If that works then some
akregator configuration in .kde3.5.old is responsible.

Finally, may want to recompile your entire system with the fixed
compiler flags.  This can usually be done with an "emerge -e world",
but this will take a long time!  You can also grep the CFLAGS/CXXFLAGS
files in the /var/db/pkg/ database to see what packages you merged
with particular flags.  For example: "grep -r --include=CXXFLAGS --
-mcpu=i686 /var/db/pkg/".

-Richard
-- 
gentoo-user@gentoo.org mailing list