Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone tried gcc 4.2.0?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 16, 17, 18  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Apr 12, 2006 4:57 am    Post subject: Anyone tried gcc 4.2.0? Reply with quote

Anyone tried gcc 4.2.0? What are the experiences? Especially on amd64?
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Apr 12, 2006 5:08 am    Post subject: [\edit] Reply with quote

I unmasked it with kuroo, and tooday I found gcc 4.2.0_alpha20060408 is available.
Back to top
View user's profile Send private message
matrix101
n00b
n00b


Joined: 19 Mar 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 12:03 pm    Post subject: Gcc 4.2.0 Reply with quote

Gcc 4.1.0 broke my amd64 system, so I can guess what Gcc 4.2.0 will do...
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2452
Location: Wroclaw, Poland

PostPosted: Wed Apr 12, 2006 12:17 pm    Post subject: Reply with quote

I have AMD64 system (all packages compiled using GCC 4.1.0) => all works fine :)
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Wed Apr 12, 2006 12:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 12:32 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Wed Apr 12, 2006 1:14 pm    Post subject: Reply with quote

Revdep-rebuild only attempts to find broken library dependencies, emerge -e world ensures a consistent system.
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 3:24 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Wed Apr 12, 2006 3:42 pm    Post subject: Reply with quote

As far as I know you don't *need* to rebuild anything. I'm no expert, though.
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 3:53 pm    Post subject: Reply with quote

: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.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Apr 12, 2006 4:28 pm    Post subject: Reply with quote

Does anybody know what is new in this version, compared to 4.1.0?
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 5:11 pm    Post subject: Reply with quote

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-devel/gcc/ChangeLog,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?
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Apr 12, 2006 5:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 5:58 pm    Post subject: Reply with quote

Just hang on for a bit, I have emailed Mark. Give him some time to reply. (I told him about this thread)
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Apr 12, 2006 6:13 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Wed Apr 12, 2006 7:41 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
GrimSage
n00b
n00b


Joined: 13 Sep 2004
Posts: 42

PostPosted: Wed Apr 12, 2006 9:16 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Wed Apr 12, 2006 10:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Wed Apr 12, 2006 11:44 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Thu Apr 13, 2006 1:46 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Fri Apr 14, 2006 6:43 pm    Post subject: Reply with quote

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/distributions/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
Back to top
View user's profile Send private message
shrtckt
n00b
n00b


Joined: 23 Oct 2005
Posts: 62
Location: Athens, GA

PostPosted: Fri Apr 14, 2006 7:48 pm    Post subject: Reply with quote

You can do better that that - can you???
Back to top
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Fri Apr 14, 2006 8:00 pm    Post subject: Reply with quote

i have a system compiled with gcc 4.1 is necesary rebuild all the packages to upgrade to gcc 4.2?
Back to top
View user's profile Send private message
Non_E
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 160
Location: Czech Republic

PostPosted: Sat Apr 15, 2006 8:30 am    Post subject: Compatibility Reply with quote

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
Back to top
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Sat Apr 15, 2006 5:43 pm    Post subject: Reply with quote

glibc-2.4-r1 not compile :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3 ... 16, 17, 18  Next
Page 1 of 18

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum