Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Anyone tried gcc 4.2.0?

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
450 posts
  • Page 1 of 18
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 18
  • Next
Author
Message
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

Anyone tried gcc 4.2.0?

  • Quote

Post by zxy » Wed Apr 12, 2006 4:57 am

Anyone tried gcc 4.2.0? What are the experiences? Especially on amd64?
Top
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

[\edit]

  • Quote

Post by zxy » Wed Apr 12, 2006 5:08 am

I unmasked it with kuroo, and tooday I found gcc 4.2.0_alpha20060408 is available.
Top
matrix101
n00b
n00b
Posts: 7
Joined: Sun Mar 19, 2006 6:34 pm

Gcc 4.2.0

  • Quote

Post by matrix101 » Wed Apr 12, 2006 12:03 pm

Gcc 4.1.0 broke my amd64 system, so I can guess what Gcc 4.2.0 will do...
Top
Belliash
Advocate
Advocate
User avatar
Posts: 2503
Joined: Wed Nov 24, 2004 1:39 pm
Location: Wroclaw, Poland
Contact:
Contact Belliash
Website

  • Quote

Post by Belliash » Wed Apr 12, 2006 12:17 pm

I have AMD64 system (all packages compiled using GCC 4.1.0) => all works fine :)
Asio Software Technologies
Belliash IT Weblog
Top
taylorpendley
n00b
n00b
Posts: 41
Joined: Mon Jan 23, 2006 4:25 am

  • Quote

Post by taylorpendley » Wed Apr 12, 2006 12:26 pm

i have gcc-4.2.0.20060408 and it works great.......i havent come across a package i couldnt compile......but i dont really use too many off the wall programs.
emerge -e world and emerge -s system never have any problems....im going to keep using 4.2.0

oh and buy the way...i amd x86_64. i compile with:

-O2 -march=athlon64 -pipe -fomit-frame-pointer -fweb -frename-registers -funswitch-loops -fgcse-after-reload

...basically it is -O3 but without the -finline-functions which makes code bloated alot of the time.
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 12:32 pm

taylorpendley wrote:i have gcc-4.2.0.20060408 and it works great
emerge -e world and emerge -s system never have any problems
Would'nt revdep-rebuild be enough to update your system?
Top
lnxz
Guru
Guru
Posts: 472
Joined: Sun Jul 03, 2005 4:53 am
Location: Earth

  • Quote

Post by lnxz » Wed Apr 12, 2006 1:14 pm

Revdep-rebuild only attempts to find broken library dependencies, emerge -e world ensures a consistent system.
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 3:24 pm

Yes, I know. But I will be upgrading from gcc-4.1.0 (the system was boostrapped with this version). Do you think I still need to rebuild my complete world?
Top
lnxz
Guru
Guru
Posts: 472
Joined: Sun Jul 03, 2005 4:53 am
Location: Earth

  • Quote

Post by lnxz » Wed Apr 12, 2006 3:42 pm

As far as I know you don't *need* to rebuild anything. I'm no expert, though.
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 3:53 pm

:lol: Thanks, I was planning on going on vacation after executing that command. Even though revdep-rebuild did not want to rebuild anything, prelink did get upset with some bmpx & gcc links. I guess I'll rebuild all that's related & try to prelink again.
Top
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

  • Quote

Post by zxy » Wed Apr 12, 2006 4:28 pm

Does anybody know what is new in this version, compared to 4.1.0?
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 5:11 pm

Well, the changelog says:

# ChangeLog for sys-devel/gcc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/sys-d ... hangeLog,v 1.521 2006/04/12 13:15:12 kloeri Exp $

12 Apr 2006; Bryan Østergaard <kloeri@gentoo.org gcc-3.4.6.ebuild:
~alpha 3.4.6 - solves a ld segfault in binutils when emerging gmp.

*gcc-4.2.0_alpha20060408 (11 Apr 2006)

11 Apr 2006; Mark Loeser <halcy0n@gentoo.org>
+gcc-4.2.0_alpha20060408.ebuild:
Initial gcc-4.2 snapshot; only report bugs if you have patches. These
snapshots are for testing purposes and are added as a convenience to
those that want to test as well

Even the gcc homepage says nothing about v. 4.2.0. Possibly it is just a bug-fix update?
Top
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

  • Quote

Post by zxy » Wed Apr 12, 2006 5:54 pm

I still don't know wether should I stay or should I go with new version. Emerging world takes a few days and you have to be by the computer all the time, if something doesn't compile.
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 5:58 pm

Just hang on for a bit, I have emailed Mark. Give him some time to reply. (I told him about this thread)
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

  • Quote

Post by Halcy0n » Wed Apr 12, 2006 6:13 pm

http://gcc.gnu.org/wiki/GCC%204.2%20Projects

At this point, you really shouldn't use it unless you feel like dealing with breakage. The major changes for the new branch seem to mostly be new and better optimizations.
Mark Loeser
http://www.halcy0n.com
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

  • Quote

Post by Tiger683 » Wed Apr 12, 2006 7:41 pm

Halcy0n wrote:The major changes for the new branch seem to mostly be new and better optimizations.
Ugh! 8O
Can't resist all the rice goodness :twisted:
Retired gentoo user
Top
GrimSage
n00b
n00b
Posts: 42
Joined: Mon Sep 13, 2004 2:03 am

  • Quote

Post by GrimSage » Wed Apr 12, 2006 9:16 pm

is there a guide we can follow to upgrade from 3.4.6 to this? Could we pretty much just follow the ones to upgrade to 4.1?
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

  • Quote

Post by Tiger683 » Wed Apr 12, 2006 10:03 pm

GrimSage wrote:is there a guide we can follow to upgrade from 3.4.6 to this? Could we pretty much just follow the ones to upgrade to 4.1?
I wouldn't upgrade your main system to this if i were you.
Retired gentoo user
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Wed Apr 12, 2006 11:44 pm

I will second that - I have got a LOT of problems. *** Switching back to 4.1.0 & having to rebuild a lot of code. Take Marks advice!
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

  • Quote

Post by Halcy0n » Thu Apr 13, 2006 1:46 am

I have one of my systems running this as my main compiler, but that is only because I don't care if the install gets trashed and I can quickly restore it. Play with it in a chroot, play with it on a spare system, but don't come crying to me if it explodes in your face :)
Mark Loeser
http://www.halcy0n.com
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Fri Apr 14, 2006 6:43 pm

Well, I'm real hard-headed & I bootstrapped this box w/gcc-4.2.0 - It works 100% bug free.

scott@node0 ~ $ uname -a
Linux node0 2.6.16-beyond2 #1 SMP PREEMPT Thu Apr 13 21:16:16 EDT 2006 i686 AMD Athlon(tm) Processor GNU/Linux

scott@node0 ~ $ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.2.0_alpha20060408/work/gcc-4.2-20060408/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.0-alpha20060408 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0-alpha20060408/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060408 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060408/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060408/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0-alpha20060408/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 --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.0-alpha20060408 (experimental) (Gentoo 4.2.0_alpha20060408)

scott@node0 ~ $ emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.2.0-alpha20060408, glibc-2.4-r1, 2.6.16-beyond2 i686)
=================================================================
System uname: 2.6.16-beyond2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
MAKEOPTS="-j2"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts asf avi berkdb bitmap-fonts browserplugin bzip2 cli crypt ctype cups curl dba dri eds emacs emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp gimpprint gmp gnutls gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg jpeg2k libg++ libwww logrotate mad md5sum memlimit mikmod motif mozilla moznoirc moznomail mp3 mpeg ncurses nls nptl nptlonly nsplugin numeric nvidia objc objc++ offensive ogg opengl oss pam pcre pdflib perl pic png posix ppds pppd python quicktime readline real rtc sdl session simplexml soap sockets spell spl ssl tcpd tokenizer toolbar truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xchat xemacs xine xml xml2 xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_via video_cards_vga"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Top
shrtckt
n00b
n00b
User avatar
Posts: 62
Joined: Sun Oct 23, 2005 11:50 pm
Location: Athens, GA

  • Quote

Post by shrtckt » Fri Apr 14, 2006 7:48 pm

You can do better that that - can you???
Top
DarkMind
Guru
Guru
User avatar
Posts: 525
Joined: Thu Dec 18, 2003 5:44 pm
Location: Santiago, Chile

  • Quote

Post by DarkMind » Fri Apr 14, 2006 8:00 pm

i have a system compiled with gcc 4.1 is necesary rebuild all the packages to upgrade to gcc 4.2?
Top
Non_E
Apprentice
Apprentice
User avatar
Posts: 160
Joined: Tue Jan 17, 2006 2:11 pm
Location: Czech Republic

Compatibility

  • Quote

Post by Non_E » Sat Apr 15, 2006 8:30 am

DarkMind wrote:i have a system compiled with gcc 4.1 is necesary rebuild all the packages to upgrade to gcc 4.2?
AFAIK gcc 4.2 should be binary compatible with 4.1
Top
DarkMind
Guru
Guru
User avatar
Posts: 525
Joined: Thu Dec 18, 2003 5:44 pm
Location: Santiago, Chile

  • Quote

Post by DarkMind » Sat Apr 15, 2006 5:43 pm

glibc-2.4-r1 not compile :?
Top
Post Reply

450 posts
  • Page 1 of 18
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 18
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic