Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.4.0 testing
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Moonboots
Apprentice
Apprentice


Joined: 02 Dec 2006
Posts: 164

PostPosted: Sun Nov 02, 2008 7:58 pm    Post subject: GCC 4.4.0 testing Reply with quote

Early days yet , but perhaps it may be useful to start a thread.....
gcc-4.4 from dirtyepic's overlay ~amd64 2008.0/desktop. gnome/berkano/mozilla overlays
emerge system,world just 9 failures from 550 packages, not too bad :)

net-nds/openldap-2.3.43-r1
dev-libs/boost-1.35.0-r2
sys-fs/reiser4progs-1.0.6-r2
dev-libs/apr-util-1.3.4
net-libs/xulrunner-1.9.1_beta1-r1
dev-java/antlr-2.7.7
mail-client/mozilla-thunderbird-3.0_alpha2
media-gfx/f-spot-0.4.3.1
app-office/openoffice-3.0.0

Also dev-libs/nspr-4.7.1 looks to compile fine , but as mention in a comment to dirtyepic's planet gentoo post, appears to cause webpages to be misrendered
and screws up nautilus.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Nov 02, 2008 9:00 pm    Post subject: Reply with quote

sounds interesting :P

9 failures out of 550 is pretty good (afaik I had much more with gcc-4.3alpha)

seems like gcc-4.4 (beta++) is going to become a very nice release (much better optimization, support for newest processors, openmp 3.0, etc. etc.) 8)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Mon Nov 03, 2008 4:05 am    Post subject: Reply with quote

GNU and the GCC team are on the ball!
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 265

PostPosted: Mon Nov 03, 2008 4:28 pm    Post subject: Reply with quote

what have you say about performance? I mean, compiler time and program optimization
Back to top
View user's profile Send private message
pdw_hu
Apprentice
Apprentice


Joined: 02 Jun 2008
Posts: 200
Location: Budapest, Hungary

PostPosted: Mon Nov 03, 2008 5:07 pm    Post subject: Reply with quote

http://gcc.gnu.org/gcc-4.4/changes.html

changelog for the lazy ;)
Back to top
View user's profile Send private message
octoploid
n00b
n00b


Joined: 21 Oct 2006
Posts: 65

PostPosted: Mon Nov 03, 2008 5:11 pm    Post subject: Reply with quote

cruzki123 wrote:
what have you say about performance? I mean, compiler time and program optimization


Performance is great thanks to the new register allocator (ira).
This is the first time in years that a new gcc release makes programs go faster
instead of slowing everything down further.
Even a kernel compiled with 4.4 feels snappier.
_________________
Myself and mine gymnastic ever
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 265

PostPosted: Mon Nov 03, 2008 5:46 pm    Post subject: Reply with quote

I think I will try it in my "breack me" machine next weekend.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Mon Nov 03, 2008 6:25 pm    Post subject: Reply with quote

4.4 sounds really promising, I'll be among the early-adopters.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1246

PostPosted: Tue Nov 04, 2008 2:24 pm    Post subject: Reply with quote

i have made the switch. so far paludis is broken(ok with me).
i haven't done a system upgrade(takes too long).
stuff compiled as the are upgraded are ok for now.
seems faster to me.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 265

PostPosted: Wed Nov 05, 2008 5:35 pm    Post subject: Reply with quote

had anyone put -fgraphite in his CFLAGS?

Or something more sophisticated?

I'm currently rebuilding world. This is a old machine, so I will take 2 days ;)
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Wed Nov 05, 2008 7:35 pm    Post subject: Reply with quote

Something related: We are going to stabilise GCC 4.3.2 as soon as possible. But some packages still need to be fixed (bug 198121) and others need stabilisation (bug 245160). The collection of needed stabilisations is not yet complete, so gather information and file a bug. Thanks.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 265

PostPosted: Fri Nov 07, 2008 7:31 pm    Post subject: Reply with quote

My results, packages that fail in an emerge -eq world (with kde from kde-crazy overlay):

p7zip-4.58
strigi-0.6.9999 <-- Not realte with gcc-4.4 (svn down or similar)
eix-0.14.2
texlive-core-2008-r3
antlr-2.7.7
gcj-jdk-4.3-r2 <-- Not directly related with gcc-4.4 (wrong use flags)
boost-1.35.0-r2
cyrus-sasl-2.1.22-r2
libkleo-4.1.71
exiv2-0.17.1
mac-3.99.4.4-r1 <-- Not related with gcc-4.4 (there seems that don't exist any more)
phonon-4.3.9999 <-- Same as stregi
xulrunner-1.9.0.3
nvidia-drivers-96.43.07 <-- Not related with gcc-4.4 (kernel-2.6.18 and xorg-server-1.4.2)

My emerge --info

Code:

Portage 2.2_rc13 (default/linux/x86/2008.0/desktop, gcc-4.4.0-alpha20081031, glibc-2.8_p20080602-r0, 2.6.28-rc3 i686)
=================================================================                                                   
System uname: Linux-2.6.28-rc3-i686-Intel-R-_Pentium-R-_4_CPU_1.50GHz-with-glibc2.0                                 
Timestamp of tree: Fri, 07 Nov 2008 18:15:01 +0000                                                                   
app-shells/bash:     3.2_p39                                                                                         
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                               
dev-lang/python:     2.5.2-r8                                                                                       
dev-util/cmake:      2.6.2                                                                                           
sys-apps/baselayout: 2.0.0                                                                                           
sys-apps/openrc:     0.3.0-r1                                                                                       
sys-apps/sandbox:    1.2.18.1-r3                                                                                     
sys-devel/autoconf:  2.13, 2.63                                                                                     
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1                                                     
sys-devel/binutils:  2.19                                                                                           
sys-devel/gcc-config: 1.4.0-r4                                                                                       
sys-devel/libtool:   2.2.6a                                                                                         
virtual/os-headers:  2.6.27-r2                                                                                       
ACCEPT_KEYWORDS="x86 ~x86"                                                                                           
CBUILD="i686-pc-linux-gnu"                                                                                           
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer"                                                               
CHOST="i686-pc-linux-gnu"                                                                                           
CONFIG_PROTECT="/etc /usr/env /usr/share/config /usr/shutdown"                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=native -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 1 --keep-going --load-average 2"
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unemerge-orphans unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="es_ES"
LC_ALL="es_ES@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/kde-crazy /usr/local/portage/layman/toolchain /usr/local/portage/overlays"
SYNC="rsync://kassandra/gentoo-portage"
USE="X aac acpi alsa archive avi bash-completion branding bzip2 cairo cli cracklib crypt cups dbus dri emboss evo fam ffmpegfirefox flac gif glitz gmp gpm hal iconv imagemagick isdnlog java javascript jpeg kde lame latex libnotify matroska messenger midi mmx mmxext modplug mp3 mp4 mpeg mplayer mudflap musepack ncurses network nls nptl nptlonly nsl nvidia ogg opengl pam pcre pdf perl pic png pppd python qt-copy qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg symlink sysfs tcpd truetype unicode usb vorbis x264 x86 xcb xine xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="s3virge nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


Joined: 25 Jan 2008
Posts: 197
Location: Houston, Texas, USA

PostPosted: Fri Nov 07, 2008 11:35 pm    Post subject: Reply with quote

Well they almost have all P1 regressions then need to drop the 161 count down below 100 before they officially release it. I can't wait for the bad boy ;), I know it's too early to even consider it. But I wonder what will be in 4.5.0. I'll probably switch to GCC-4.4.0 when it gets in RC stage for me like I did with 4.3.0
_________________
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Nov 09, 2008 10:23 pm    Post subject: Reply with quote

octoploid wrote:
cruzki123 wrote:
what have you say about performance? I mean, compiler time and program optimization


Performance is great thanks to the new register allocator (ira).
This is the first time in years that a new gcc release makes programs go faster
instead of slowing everything down further.
Even a kernel compiled with 4.4 feels snappier.


I cant compile kernel 2.6.27 with gcc version 4.4.0-pre9999 built 20081109 (Gentoo SVN ebuild) rev. 141714 ()
Code:
drivers/built-in.o: In function `usb_submit_urb':
(.text+0x149919): undefined reference to `____ilog2_NaN'
make: *** [.tmp_vmlinux1] Error 1


Another my problem is firefox (from source), on some sites i have 5x or more bigger fonts etc. but xulrunner and ff is compiled by 4.3.2.

Any idea?
Back to top
View user's profile Send private message
nerdpunk
n00b
n00b


Joined: 13 May 2008
Posts: 3

PostPosted: Mon Nov 10, 2008 3:43 am    Post subject: Reply with quote

Quote:

I cant compile kernel 2.6.27 with gcc version 4.4.0-pre9999 built 20081109 (Gentoo SVN ebuild) rev. 141714 ()
Code:
drivers/built-in.o: In function `usb_submit_urb':
(.text+0x149919): undefined reference to `____ilog2_NaN'
make: *** [.tmp_vmlinux1] Error 1


Any idea?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359 (maybe try -Os)

additionally i got a lot of OOMs (for many cpp sources gcc needs more than 2GB mem) and internal compiler errors (compiling kde), so i guess... it's just not ready yet ;)
Back to top
View user's profile Send private message
Moonboots
Apprentice
Apprentice


Joined: 02 Dec 2006
Posts: 164

PostPosted: Mon Nov 10, 2008 6:19 am    Post subject: Reply with quote

@ Slashbeast
Quote:
Also dev-libs/nspr-4.7.1 looks to compile fine , but as mention in a comment to dirtyepic's planet gentoo post, appears to cause webpages to be misrendered

Recompiling with gcc-4.3.2 solved the problem for me
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Nov 10, 2008 8:03 am    Post subject: Reply with quote

@nerdpunk: With optimalize for size (Os) work, thx. :)
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Nov 11, 2008 4:07 pm    Post subject: Reply with quote

+mesa (I use 7.0.3) can't be compiled by gcc 4.4.0 (Lots of artefacts, wrong colors etc.. in quake3, hedgewars and xmoto).
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 265

PostPosted: Wed Nov 12, 2008 7:51 pm    Post subject: Reply with quote

last kdelibs from kde-crazy overlay fail to compile with gcc4.4, with gcc-4.3.2 works ok (plasma fail as a hell, but work very fast)
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Mon Nov 17, 2008 12:24 am    Post subject: Reply with quote

Has anyone here had working Wobbly Windows after compiling compiz(-0.7.8) with 4.4?
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6780

PostPosted: Mon Nov 17, 2008 8:44 am    Post subject: Reply with quote

cruzki123 wrote:
My results, packages that fail in an emerge -eq world (with kde from kde-crazy overlay):

... eix-0.14.2 ...

Just to point out: Although I have not read somewhere about it, gcc-4.4 apparently cleaned up even more include files than gcc-4.3 already did. So the failing of package compilation is often actually a bug of the packages (missing includes) and not of gcc-4.4. >=eix-0.15.0 should be fixed.
Back to top
View user's profile Send private message
ecroy
n00b
n00b


Joined: 08 Nov 2002
Posts: 59

PostPosted: Wed Nov 19, 2008 8:20 pm    Post subject: Reply with quote

Just tried the current snapshot with CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -ftree-vectorize" and consistently got about 10% speed-improvement when encoding with oggenc - not bad I'd say :D
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Tue Nov 25, 2008 5:51 pm    Post subject: Reply with quote

cruzki123 wrote:
had anyone put -fgraphite in his CFLAGS?

On that note, has anyone reading managed/does anyone reading know how to enable graphite?
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Nov 25, 2008 11:29 pm    Post subject: Getting gcc-4.4 Reply with quote

I have a Fortran code that works just fine with gfortran-4.1.2, and gets the wrong result with gfortran-4.3.2. It also gives the wrong result on a Ubuntu system with gfortran 4.2.4. I'd like to give gfortran-4.4 a try, but don't know how to get it. My thanks for a pointer (and perhaps instructions if the installation procedure is not obvious).
Fred
Back to top
View user's profile Send private message
cneil
n00b
n00b


Joined: 28 May 2007
Posts: 39
Location: Stillwater, OK

PostPosted: Wed Nov 26, 2008 1:34 am    Post subject: Reply with quote

Genewb wrote:
cruzki123 wrote:
had anyone put -fgraphite in his CFLAGS?

On that note, has anyone reading managed/does anyone reading know how to enable graphite?


Here's a list of changes in gcc-4.4:

http://gcc.gnu.org/gcc-4.4/changes.html

It mentions Graphite and how to enable it. That said, you may also want to read this thread on the GCC Mailing List:

http://gcc.gnu.org/ml/gcc/2008-10/msg00191.html

The developers were discussing the Graphite options and the possibility of renaming them. I don't know if they ever did or not.
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 ... 14, 15, 16  Next
Page 1 of 16

 
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