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 1G1Jv7-0007ZI-Cf for garchives@archives.gentoo.org; Fri, 14 Jul 2006 09:25:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6E9NnRY001325; Fri, 14 Jul 2006 09:23:49 GMT Received: from afrodita.emergetux.net (41.Red-80-37-233.staticIP.rima-tde.net [80.37.233.41]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6E9INBL016371 for ; Fri, 14 Jul 2006 09:18:23 GMT Received: from localhost (localhost [127.0.0.1]) by afrodita.emergetux.net (Postfix) with ESMTP id 6305B5C79D for ; Fri, 14 Jul 2006 11:18:04 +0200 (CEST) Received: from afrodita.emergetux.net ([127.0.0.1]) by localhost (afrodita.emergetux.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Aapu276Ziz5A for ; Fri, 14 Jul 2006 11:18:04 +0200 (CEST) Received: from lx-arnau.pic.es (lx-arnau.pic.es [193.146.196.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afrodita.emergetux.net (Postfix) with ESMTP id 85B425C79C for ; Fri, 14 Jul 2006 11:18:03 +0200 (CEST) Date: Fri, 14 Jul 2006 11:18:07 +0200 From: Arnau Bria To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Locate and Fix .text Relocations (TEXTRELs) Message-ID: <20060714111807.5e569e06@lx-arnau.pic.es> In-Reply-To: <7573e9640607140130x4bd66f65l2a95078da747df5b@mail.gmail.com> References: <20060713094303.0d821682@lx-arnau.pic.es> <7573e9640607131112y44ec99aand717c2b638005bb4@mail.gmail.com> <20060714095741.7b36081c@lx-arnau.pic.es> <7573e9640607140130x4bd66f65l2a95078da747df5b@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.12; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: e39774f4-fbcc-4b7c-97ea-6edf216d9fc0 X-Archives-Hash: 311a19eab09aa1af725ef5ec798d31fb On Fri, 14 Jul 2006 01:30:49 -0700 Richard Fish wrote: > On 7/14/06, Arnau Bria 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}" Mmm... I don't know from where I got this FLAGS, but I'm quite sure I used some program/script from portage... Anyway, I did the mod, and remerged akregator... It still doesn't work. > 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. Well, I moved /home/arnau/.kde/share/apps/akregator to .old. I thinks this is enough, isn't it? It did not work, neither. > 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! This is an option I considered as I saw 114 packages "broken"... now, with CFLAGS mod, I also think this is a good option. And, well, I could let my system recompiling all the weekend... > 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/". # grep -r --include=CXXFLAGS -- -mcpu=i686 /var/db/pkg/|wc -l 432 some x11-libs, lot of perl, kde-base... etc... Defintely, I'll recompile my system. > -Richard Thanks for your time, Cheers! -- Arnau Bria http://blog.emergetux.net La vida es una aplastante derrota tras otra hasta que acabas deseando que se muera Flanders. ~Homer J. Simpson~ -- gentoo-user@gentoo.org mailing list