Forums

Skip to content

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

GCC 4.4.0 testing

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
384 posts
  • Page 1 of 16
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • Next
Author
Message
Moonboots
Apprentice
Apprentice
Posts: 164
Joined: Sat Dec 02, 2006 5:50 am

GCC 4.4.0 testing

  • Quote

Post by Moonboots » Sun Nov 02, 2008 7:58 pm

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.
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Nov 02, 2008 9:00 pm

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-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Mon Nov 03, 2008 4:05 am

GNU and the GCC team are on the ball!
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Mon Nov 03, 2008 4:28 pm

what have you say about performance? I mean, compiler time and program optimization
Top
pdw_hu
Apprentice
Apprentice
Posts: 200
Joined: Mon Jun 02, 2008 6:56 pm
Location: Budapest, Hungary

  • Quote

Post by pdw_hu » Mon Nov 03, 2008 5:07 pm

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

changelog for the lazy ;)
Top
octoploid
n00b
n00b
User avatar
Posts: 65
Joined: Sat Oct 21, 2006 7:09 am

  • Quote

Post by octoploid » Mon Nov 03, 2008 5:11 pm

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
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Mon Nov 03, 2008 5:46 pm

I think I will try it in my "breack me" machine next weekend.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Mon Nov 03, 2008 6:25 pm

4.4 sounds really promising, I'll be among the early-adopters.
Top
tranquilcool
Veteran
Veteran
Posts: 1246
Joined: Fri Mar 25, 2005 1:16 pm

  • Quote

Post by tranquilcool » Tue Nov 04, 2008 2:24 pm

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.
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Wed Nov 05, 2008 5:35 pm

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 ;)
Top
V-Li
Retired Dev
Retired Dev
Posts: 618
Joined: Tue Jan 03, 2006 12:44 am

  • Quote

Post by V-Li » Wed Nov 05, 2008 7:35 pm

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[/bug]) and others need stabilisation ([bug]245160[/bug]). The collection of needed stabilisations is not yet complete, so gather information and file a bug. Thanks.
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Fri Nov 07, 2008 7:31 pm

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: Select all

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
Top
Eckos
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Fri Jan 25, 2008 4:14 pm
Location: Houston, Texas, USA
Contact:
Contact Eckos
Website

  • Quote

Post by Eckos » Fri Nov 07, 2008 11:35 pm

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
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Sun Nov 09, 2008 10:23 pm

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: Select all

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?
Top
nerdpunk
n00b
n00b
User avatar
Posts: 3
Joined: Tue May 13, 2008 5:01 am

  • Quote

Post by nerdpunk » Mon Nov 10, 2008 3:43 am

I cant compile kernel 2.6.27 with gcc version 4.4.0-pre9999 built 20081109 (Gentoo SVN ebuild) rev. 141714 ()

Code: Select all

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 ;)
Top
Moonboots
Apprentice
Apprentice
Posts: 164
Joined: Sat Dec 02, 2006 5:50 am

  • Quote

Post by Moonboots » Mon Nov 10, 2008 6:19 am

@ Slashbeast
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
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Mon Nov 10, 2008 8:03 am

@nerdpunk: With optimalize for size (Os) work, thx. :)
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Tue Nov 11, 2008 4:07 pm

+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).
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Wed Nov 12, 2008 7:51 pm

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)
Top
Genewb
Apprentice
Apprentice
Posts: 165
Joined: Tue Jan 09, 2007 7:11 pm

  • Quote

Post by Genewb » Mon Nov 17, 2008 12:24 am

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.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Mon Nov 17, 2008 8:44 am

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.
Top
ecroy
n00b
n00b
Posts: 59
Joined: Fri Nov 08, 2002 1:50 pm

  • Quote

Post by ecroy » Wed Nov 19, 2008 8:20 pm

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
Top
Genewb
Apprentice
Apprentice
Posts: 165
Joined: Tue Jan 09, 2007 7:11 pm

  • Quote

Post by Genewb » Tue Nov 25, 2008 5:51 pm

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.
Top
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

Getting gcc-4.4

  • Quote

Post by Fred Krogh » Tue Nov 25, 2008 11:29 pm

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
Top
cneil
n00b
n00b
Posts: 39
Joined: Mon May 28, 2007 4:21 am
Location: Stillwater, OK

  • Quote

Post by cneil » Wed Nov 26, 2008 1:34 am

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.
Top
Post Reply

384 posts
  • Page 1 of 16
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • 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