View previous topic :: View next topic |
Author |
Message |
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue May 13, 2008 4:23 pm Post subject: Gcc 4.2 |
|
|
Not to sound like I'm complaining, but when will gcc-4.2 become stable?
I do quite a bit of video processing, and I heard that march=native will noticeably increase the speed of those applications for the Core2 processors.
I currently run a mostly stable x86 system, and I know that mixing stable and unstable is not a very good idea, but I really don't want to switch to ~x86, since I don't want things to break at inconvenient times.
So, what I'd like to know: is gcc-4.2 going to go stable within the next few months?
And if not, how safe is it to use 4.2 with an x86 system? What bugs will I encounter? Should I add any additional packages to package.keywords?
Thanks in advance! _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue May 13, 2008 6:34 pm Post subject: |
|
|
OK, so the developers are not planning to set 4.2 to stable.
However, that still does not answer my questions: How soon can I expect the next gcc to hit stable? If 4.2 never hits stable, does this mean that I can't expect a new stable version of gcc for at least another half a year?
Also, could anyone tell me what's wrong with 4.2? I know there are plenty of people running ~arch. What kind of problems do they encounter? _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Tue May 13, 2008 10:29 pm Post subject: |
|
|
Hi,
I'm using gcc-4.2.3 on two of my desktop-machines. On my ~x86 box I just updated from gcc-4.1.2 and did nothing but use gcc-4.2.3 for updates from that point on. The other machine is an ~amd64 box which I installed from stage1 with gcc-4.2.3. I since never experienced any problems caused by gcc-4.2.3. So if you really wanna install gcc-4.2.3 I'd say, do it.
I cannot give any recommendations about gcc-4.3 as I won't start using it until it hits the stable tree in Gentoo.
Cheers
Poly-C _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed May 14, 2008 12:21 am Post subject: |
|
|
What gcc version are you using? If your at 4.1 then I agree with Polynomial-C. If your using 3.x then you would have to rebuild your TC then emerge -e world. I switched to "~x86" because I got fewer probs and I saw some else who said the same just the other day:lol: _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Wed May 14, 2008 2:07 am Post subject: |
|
|
hielvc wrote: | What gcc version are you using? If your at 4.1 then I agree with Polynomial-C. If your using 3.x then you would have to rebuild your TC then emerge -e world. I switched to "~x86" because I got fewer probs and I saw some else who said the same just the other day |
I'm using 4.1.2 right now, and probably tomorrow I'll switch to 4.2.3 tomorrow unless I find a compelling reason not to. I'll probably keep everything else that's not already in my package.keywords stable, as I'd rather not have any unexpected problems. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed May 14, 2008 3:23 am Post subject: |
|
|
AM088 wrote: | I know there are plenty of people running ~arch. What kind of problems do they encounter? |
I am running gcc-4.3.0 on all of my machines (~x86 ~amd64 ~ppc), and the list of packages that won't compile is surprisingly small.
Having said that, I would suggest not upgrading gcc if you are not interested in updating the rest of your packages to ~arch. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed May 14, 2008 8:12 am Post subject: |
|
|
For me, gcc 4.2.3 works fine and dandy. I have yet to run into compile errors caused by it. My errors came from libtool-2.2.4. Gcc-4.2.3 works just fine for 32 and 64 bit systems, and it cross compiles flawlessly...at least as far as I can tell.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Fri May 16, 2008 5:58 pm Post subject: |
|
|
Thanks everyone for your responses!
I switched to 4.2.3, and recompiled everything without a problem.
I know that usually having a mixed system, as cyrillic notes, is generally not a good idea, but here is my rationale:
GCC 4.2 was added to the tree as ~arch about a year ago. This means that most of the stable software that's on my computer has most likely been in ~arch at some time, so if it worked fine back then, it should work fine now too.
Also, since I recompiled everything, I will be able to see how well everything works. If I find that it's getting wonky, I could switch to ~arch, and GCC 4.3 should be there by then.
Also, my system is now booting 2 seconds faster (probably due to shuffling the files around) _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Fri May 16, 2008 6:08 pm Post subject: |
|
|
I'm running
Code: |
eckos@Narf ~ $ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1_pre20080509/work/gcc-4.3.1-20080509/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1-pre20080509 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1-pre20080509/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080509 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080509/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080509/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1-pre20080509/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion= --enable-linux-futex
Thread model: posix
gcc version 4.3.1-pre20080509 built 20080514 (Gentoo SVN ebuild) rev. 135298 ()
|
I've ran into a problem and added the gcc-porting overlay and now everything is running perfectly so far. _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
|