Re: [gentoo-user] GCC-4.3.2

2009-04-07 Thread Mike Kazantsev
On Mon, 6 Apr 2009 20:19:09 -0600
Joseph syscon...@gmail.com wrote:

 I boot from CD, chroot and tried to recompile the gcc but it has been 
 compiling for over two hours and it can not finish, I think it is in some 
 kind of 
 loop mode?

GCC takes a long time to compile and re-compile itself with itself, but
since you experience it to be longer than usual, you probably have a
different settings, like -jX in MAKEOPTS or trying to compile it in
framebuffer, which takes longer, in my experience, I assume it might be
related to very slow echo operations, or might be just a glitch of my
perception ;)

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] GCC-4.3.2

2009-04-07 Thread Arttu V.
On 4/7/09, Joseph syscon...@gmail.com wrote:
 I boot from CD, chroot and tried to recompile the gcc but it has been
 compiling for over two hours and it can not finish, I think it is in some
 kind of  loop mode?

That loop is the multilib profile you're probably using, which will
compile you both 64-bit and 32-bit version of gcc?

You also stated in an earlier email that your system has an Athlon
3000+ processor. As a comparison, here with an Athlon 3500+ and 3GB of
RAM the gcc:4.3 compilation takes around two hours if the ccache is
empty and an hour and 20 minutes if it hits mostly the cache, so the
duration doesn't appear surprising for a first compilation (varying by
the USE flags, naturally).

-- 
Arttu V.



Re: [gentoo-user] GCC-4.3.2

2009-04-07 Thread Joseph

On 04/07/09 19:48, Arttu V. wrote:

On 4/7/09, Joseph syscon...@gmail.com wrote:

I boot from CD, chroot and tried to recompile the gcc but it has been
compiling for over two hours and it can not finish, I think it is in some
kind of  loop mode?


That loop is the multilib profile you're probably using, which will
compile you both 64-bit and 32-bit version of gcc?

You also stated in an earlier email that your system has an Athlon
3000+ processor. As a comparison, here with an Athlon 3500+ and 3GB of
RAM the gcc:4.3 compilation takes around two hours if the ccache is
empty and an hour and 20 minutes if it hits mostly the cache, so the
duration doesn't appear surprising for a first compilation (varying by
the USE flags, naturally).

--
Arttu V.


I'm still fighting with my two machines, recompiling system, and world with new GCC even though, it was not necessary; I wish developers mentioned it 
after emerging new gcc no need to recompile the system 
I just read few posts on the forum and did what others suggested: recompiled the world but is is not going smooth; 
maybe it is time for me to try something easier ubuntu etc as I'm not very happy with Gentoo, the upgrade and installation are harder to manage. 


--
Joseph



Re: [gentoo-user] GCC-4.3.2

2009-04-06 Thread Joseph

On 04/03/09 10:34, alain.didierj...@free.fr wrote:

Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
performed  emerge system ?
What gives ? Any problem ? Is it worth it right now ? Please tell...

--
~adj~


I just notice that there is a problem with CFLAGS -march=native on AMD64
I recompile my system using this new flag and have a lot of problems. 
an examples new xorg-server-1.5... would not compile, I switch back to my previous settings:

-march=athlon64 and it compiled on first pass.
So, now I'm recompiling the system with my old flag: -march=athlon64 :-/

--
Joseph



Re: [gentoo-user] GCC-4.3.2

2009-04-06 Thread Jorge Morais
On Mon, 6 Apr 2009 00:02:21 -0600
Joseph syscon...@gmail.com wrote:

 On 04/03/09 10:34, alain.didierj...@free.fr wrote:
 Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
 performed  emerge system ?
 What gives ? Any problem ? Is it worth it right now ? Please tell...
 
 --
  ~adj~
 
 I just notice that there is a problem with CFLAGS -march=native on AMD64
 I recompile my system using this new flag and have a lot of problems. 
 an examples new xorg-server-1.5... would not compile, I switch back to my 
 previous settings:
 -march=athlon64 and it compiled on first pass.
 So, now I'm recompiling the system with my old flag: -march=athlon64 :-/
 
Have you filed a bug?
Since in a later message you say that you are not sure of whether you
should use -march=k8 or -march=k8-sse3, it seems that in your situation
-march=native is interesting.

-- 
Software is like sex: it is better when it is free. --Linus Torvalds



Re: [gentoo-user] GCC-4.3.2

2009-04-06 Thread Joseph

On 04/06/09 22:00, Jorge Morais wrote:

On Mon, 6 Apr 2009 00:02:21 -0600


I just notice that there is a problem with CFLAGS -march=native on AMD64
I recompile my system using this new flag and have a lot of problems. 
an examples new xorg-server-1.5... would not compile, I switch back to my previous settings:

-march=athlon64 and it compiled on first pass.
So, now I'm recompiling the system with my old flag: -march=athlon64 :-/


Have you filed a bug?
Since in a later message you say that you are not sure of whether you
should use -march=k8 or -march=k8-sse3, it seems that in your situation
-march=native is interesting.


I'm not sure of anything, I'm getting deeper an deeper problems.
I've almost recompile the system with -march=k8 and the last package gcc-4.3.2 wouldn't compile, the session got stuck so I kill the session and couldn't 
start the restart the emerge gcc as the emerge from previous session lock the portage or gcc.
I boot from CD, chroot and tried to recompile the gcc but it has been compiling for over two hours and it can not finish, I think it is in some kind of 
loop mode?


--
Joseph



Re: [gentoo-user] GCC-4.3.2

2009-04-04 Thread Christopher Walters
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

alain.didierj...@free.fr wrote:
 Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
 performed  emerge system ?
 What gives ? Any problem ? Is it worth it right now ? Please tell...
 
 --
  ~adj~

I am afraid I can't really answer this question, since I am using GCC-4.3.3.  I
can say that I have only had a couple of merge failures with that, and these
were solved by either merging something else first, or by removing an
unnecessary USE flag - something like that.

Regards,
Chris

PS: I got more such problems with 4.1.2
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJJ1wZIAAoJEIAhA8M9p9DARgIP/j7sUVLyj1I4sjst1Reyg91O
blnC2l+vD0LVsg/P0ZQefKdPC9QKp10JSCeio7qztwx/ZGfLahH1AbXhQS45/7aM
qyJJa1qTin6wsksONy9gksnVP1gGWERv8C4BYldbl1cMGiEQfSifUmYrFY2FtOKl
o5gpp67y+fdbzwjAwSqdlqMAyHmFq9MfY+O86S9r57rrhhfcZnXdtf2ufgpNi+Kn
02bC1HbXwjYXLAtFEZCG5ajl+6+gl5JhDrnj5V1+Hz3Ouh53OryUH1OXyzR0rvWq
pR2WVraZxxKaxGzRT99a1+AVykkbY7RJI37l9WNg/ZSDdtDrl6twe7DHu6HAHzof
IHItzF/CjT7ShuTot2zfURJhSraOr3K44ZLVaOTKMGOux1F5yraYujoA0cuf21S9
tV4yAYt9oc5vWiHTfAUGz7X+tduVPola3G7RdWibsnbUMZFcgltvGKCNU0XLMXSs
wpTCYcmuQ05ui0BesScUMrtmZAjGzbVAXkRUzEO7W2r+s7E74rkbSFSsLevhT5X9
TYATTXeUsXSMgbDnAb9BLw+ZPVua9pCnJYkd3qALUSbKbn0COtZqzJXtMCRZghat
3FeX7sr9mWL48MrjGCthIvx5oDq4i+SrPhgWqg2MwSFEb6lgWp8LY/OoF2UU4oBO
zsIKSxYJeC9tz0Yq+i9R
=ITyG
-END PGP SIGNATURE-



Re: [gentoo-user] GCC-4.3.2

2009-04-04 Thread Graham Murray
Mike Kazantsev mike_kazant...@fraggod.net writes:

 -mtune=native can be dropped if -march=native is there already.

It is still worthwhile keeping it in CFLAGS as some packages remove or
replace the '-march' flag. 



[gentoo-user] GCC-4.3.2

2009-04-03 Thread alain . didierjean
Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
performed  emerge system ?
What gives ? Any problem ? Is it worth it right now ? Please tell...

--
 ~adj~




Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Thomas Kahle
alain.didierj...@free.fr wrote:
 Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
 performed  emerge system ?
 What gives ? Any problem ? Is it worth it right now ? Please tell...
 
 --
  ~adj~
 

Yes, I did it at the beginning of the year, it was more or less
painfree. There were a couple of compile failures with stable packages
when rebuilding the world, but typically these are already fixed and in
bugzilla, so you can go ahead by installing the ~x86 package. (See
http://bugs.gentoo.org/show_bug.cgi?id=245160 for a tracker of the packages)
I did not notice any difference in using the system everyday, I did it
only because I can use -march=core2 now and I wanted to work with the
newer gcc when programming other things.
You should follow the upgrade guide for maximal pleasure:
http://www.gentoo.org/doc/en/gcc-upgrading.xml

hope to help
Thom


-- 
Thomas Kahle

The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Masood Ahmed
alain.didierj...@free.fr writes:

 Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
 performed  emerge system ?

I did upgrade to 4.3 gcc series from 4.1. There was no compile error's
(I'm using ~x86 branch). Both emerge -e system and emerge -e world done
using new gcc.

 What gives ? Any problem ? Is it worth it right now ? Please tell...

I like the -march=native and -mtune=native options. It's the new thing
in gcc 4.3 series.

Regards,
Masood Ahmed


pgpaRIuJ1DElR.pgp
Description: PGP signature


Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread alain . didierjean
Selon alain.didierj...@free.fr:

 Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
 performed  emerge system ?
 What gives ? Any problem ? Is it worth it right now ? Please tell...

Thanks for the fast answers. It seems there's no problems...

--
~adj~




Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Neil Bothwick
On Fri, 03 Apr 2009 17:47:25 +0530, Masood Ahmed wrote:

 I like the -march=native and -mtune=native options.

As long as you don't use distcc with differing hardware.


-- 
Neil Bothwick

Ubuntu is an ancient African word, meaning I can't configure
Slackware.


signature.asc
Description: PGP signature


Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Jerry McBride
On Friday 03 April 2009 05:15:21 pm Neil Bothwick wrote:
 On Fri, 03 Apr 2009 17:47:25 +0530, Masood Ahmed wrote:
  I like the -march=native and -mtune=native options.

 As long as you don't use distcc with differing hardware.

I did that by accident once and trust me, it's a unforgettable lesson.

Jerry.





-- 

*
   
 From the desk of:
 Jerome D. McBride
   
17:27:39 up 3 days, 22:12,  4 users,  load average: 0.08, 0.02, 0.01
 
*



Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Mike Kazantsev
On Fri, 03 Apr 2009 17:47:25 +0530
Masood Ahmed masood.ahme...@gmail.com wrote:

 alain.didierj...@free.fr writes:
 
 I like the -march=native and -mtune=native options. It's the new thing
 in gcc 4.3 series.

-mtune=native can be dropped if -march=native is there already.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature