View previous topic :: View next topic |
Author |
Message |
dhallas n00b
Joined: 22 Sep 2004 Posts: 22 Location: Denmark
|
Posted: Tue May 12, 2009 7:43 am Post subject: |
|
|
Created bug#269508 to track vim-7.2.108 stabilization _________________ Cheers
David |
|
Back to top |
|
|
erpalma n00b
Joined: 19 Feb 2008 Posts: 17
|
Posted: Mon May 18, 2009 10:10 am Post subject: |
|
|
924/924 packages compiled fine. Going to glibc 2.10
Code: |
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.4.0, glibc-2.9_p20081201-r2, 2.6.29-hh2 x86_64)
=================================================================
System uname: Linux-2.6.29-hh2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Mon, 18 May 2009 06:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python: 2.5.4-r2, 2.6.2
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 9999
sys-apps/sandbox: 1.9
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer -ftree-vectorize -mssse3 -msse4.1 -mfpmath=sse -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer -ftree-vectorize -mssse3 -msse4.1 -mfpmath=sse -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/mnt/nfs/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,now,-O1,-enable-new-dtags,-as-needed,-hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon /usr/local/portage/layman/zugaina /usr/local/portage/layman/berkano /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/rbu /usr/local/portage/layman/mozilla /usr/local/portage/layman/jokey /usr/local/portage/layman/otih /usr/local/portage/layman/l1q1d-gentoo-overlay /usr/local/portage/layman/THE /usr/local/portage/layman/gnustep"
|
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Basso Buffo n00b
Joined: 19 Oct 2007 Posts: 24 Location: North Carolina, USA
|
Posted: Mon May 18, 2009 4:33 pm Post subject: |
|
|
Glibc 2.10 compiled fine for me. I have 4.4 with graphite enabled, and the graphite-specific flags in my CFLAGS (though I haven't investigated; the glibc build process may disable them). |
|
Back to top |
|
|
cruzki123 Apprentice
Joined: 16 May 2008 Posts: 262
|
Posted: Mon May 18, 2009 4:47 pm Post subject: |
|
|
I am in the proceses of recompile world with glibc-2.10.1 ussing gcc-4.4.0 from portage and graphite. |
|
Back to top |
|
|
bakkus n00b
Joined: 17 Dec 2002 Posts: 33
|
Posted: Tue May 19, 2009 7:11 am Post subject: |
|
|
Recompiled the webserver using gcc-4.4.0 (graphite enabled, cflags on) and glibc-2.10.1 last night.
These are the packages that ran into trouble:
app-portage/eix-0.16.0
sys-fs/reiser4progs-1.0.6
x11-misc/xosview-1.8.3
app-arch/arj-3.10.22-r2
net-misc/openswan-2.4.14
Otherwise everything else is working fine, apache, php, mysql, ssh, pure-ftpd, postfix among others.
EDIT: Most of these seem to be glibc-2.10-related, some have already been fixed.
Last edited by bakkus on Thu May 21, 2009 3:54 pm; edited 1 time in total |
|
Back to top |
|
|
cruzki123 Apprentice
Joined: 16 May 2008 Posts: 262
|
Posted: Tue May 19, 2009 10:04 am Post subject: |
|
|
I hava problems with this packages
lm_sensors-3.0.2
qtiplot-0.9.7.7
qtoctave-0.8.1
octave-3.0.3
kmldonkey-2.0.2-r1
netpbm-10.46.00
inkscape-0.46-r5
kdelibs-4.2.3
kde-l10n-4.2.3-r1
pdftex-1.40.9
mh-20080903
luatex-0.30.3
icedtea6-1.4.1-r1
openoffice-3.1.0
qca-ossl-2.0.0_beta3
cdrkit-1.1.9-r1
cdrdao-1.2.2-r3 |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Tue May 19, 2009 10:16 am Post subject: |
|
|
Many of those have built successfully on my system using gcc-4.4.0, so your problems must be either graphite or glibc-2.10.1 related. |
|
Back to top |
|
|
zorry Developer
Joined: 30 Mar 2008 Posts: 380 Location: Umeå The north part of scandinavia
|
|
Back to top |
|
|
cruzki123 Apprentice
Joined: 16 May 2008 Posts: 262
|
Posted: Tue May 19, 2009 6:57 pm Post subject: |
|
|
All of these are glibc related for sure. |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Thu May 21, 2009 10:33 am Post subject: |
|
|
i rebuilt my system at home with gcc-4.4 ( but without all the -floop-stuff) and all went fine. This is a minimal setup so this was expected i guess.
Will now rebuild some stuff with the -floop-* flags and see what happens, hopefully there is some noticeable improvement.
One thing i didn´t realize till now is that since gcc-4.3.2-r3 gcc itself gets compiled MUCH faster, all my cores are used now.
gcc-4.3.2 took about two hours, >=gcc-4.3.2-r3 took 20 minutes !
cheers _________________ Error: Failing not supported by current locale |
|
Back to top |
|
|
bakkus n00b
Joined: 17 Dec 2002 Posts: 33
|
Posted: Fri May 22, 2009 7:57 am Post subject: |
|
|
wow...
Just wow.
I have been running a complete glibc-2.10-based gcc-4.4(graphite+flags)-compiled system on my webserver for a couple of days now, and I would say that I am experiencing a _significant_ performance upgrade!
This has even been confirmed by three people I host sites for who have contacted me and complemented on the percieved increase in speed.
Things are looking very good so far |
|
Back to top |
|
|
Fran Guru
Joined: 29 Feb 2004 Posts: 530 Location: Coruña (Spain)
|
Posted: Fri May 22, 2009 10:06 am Post subject: |
|
|
cruzki123 wrote: | All of these are glibc related for sure. |
No, octave 3.0.3 fails because of gcc-4.4. There is an open bug in the bugzilla with the 3.0.5 ebuild, which compiles and works fine with gcc-4.4 and glibc-2.10.1, but the responsible dev is taking his time (the ebuild has been sitting in the bugzilla for almost two months). |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Fri May 22, 2009 10:39 am Post subject: |
|
|
bakkus wrote: | wow...
Just wow.
I have been running a complete glibc-2.10-based gcc-4.4(graphite+flags)-compiled system on my webserver for a couple of days now, and I would say that I am experiencing a _significant_ performance upgrade!
This has even been confirmed by three people I host sites for who have contacted me and complemented on the percieved increase in speed.
Things are looking very good so far |
Very nice to see some real life performance improvements as well, not just static tests |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Fri May 22, 2009 3:03 pm Post subject: |
|
|
Is there another source to pull the phoronix packages from? Downloading takes f-o-r-e-v-e-r.
Nvm, speed took up after a while, and I'm now running the tests. |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sun May 24, 2009 6:10 pm Post subject: |
|
|
bakkus wrote: | wow...
Just wow.
I have been running a complete glibc-2.10-based gcc-4.4(graphite+flags)-compiled system on my webserver for a couple of days now, and I would say that I am experiencing a _significant_ performance upgrade!
This has even been confirmed by three people I host sites for who have contacted me and complemented on the percieved increase in speed.
Things are looking very good so far |
Can you show your flags? What I need to use graphite? Graphite in use + -fgraphite in cflags? |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sun May 24, 2009 6:32 pm Post subject: |
|
|
emerge it with the graphite use-flag
here some info:
Quote: | The Graphite branch has been merged. This merge has brought in a new framework for loop optimizations based on a polyhedral intermediate representation. These optimizations apply to all the languages supported by GCC. The following new code transformations are available in GCC 4.4:
-floop-interchange performs loop interchange transformations on loops. Interchanging two nested loops switches the inner and outer loops. For example, given a loop like:
DO J = 1, M
DO I = 1, N
A(J, I) = A(J, I) * C
ENDDO
ENDDO
loop interchange will transform the loop as if the user had written:
DO I = 1, N
DO J = 1, M
A(J, I) = A(J, I) * C
ENDDO
ENDDO
which can be beneficial when N is larger than the caches, because in Fortran, the elements of an array are stored in memory contiguously by column, and the original loop iterates over rows, potentially creating at each access a cache miss.
-floop-strip-mine performs loop strip mining transformations on loops. Strip mining splits a loop into two nested loops. The outer loop has strides equal to the strip size and the inner loop has strides of the original loop within a strip. For example, given a loop like:
DO I = 1, N
A(I) = A(I) + C
ENDDO
loop strip mining will transform the loop as if the user had written:
DO II = 1, N, 4
DO I = II, min (II + 3, N)
A(I) = A(I) + C
ENDDO
ENDDO
-floop-block performs loop blocking transformations on loops. Blocking strip mines each loop in the loop nest such that the memory accesses of the element loops fit inside caches. For example, given a loop like:
DO I = 1, N
DO J = 1, M
A(J, I) = B(I) + C(J)
ENDDO
ENDDO
loop blocking will transform the loop as if the user had written:
DO II = 1, N, 64
DO JJ = 1, M, 64
DO I = II, min (II + 63, N)
DO J = JJ, min (JJ + 63, M)
A(J, I) = B(I) + C(J)
ENDDO
ENDDO
ENDDO
ENDDO
which can be beneficial when M is larger than the caches, because the innermost loop will iterate over a smaller amount of data that can be kept in the caches. |
http://gcc.gnu.org/gcc-4.4/changes.html _________________ 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 |
|
Back to top |
|
|
jowr n00b
Joined: 27 Dec 2008 Posts: 52
|
Posted: Sun May 24, 2009 8:03 pm Post subject: |
|
|
Okie dokie.
I have fully built my laptop with the gcc 4.4 toolchain on ~amd64, and it is working fine. There are qualitative feelings of a speed increase, but then again I did end up reinstalling [NEVER unmerge python, even if there are 5 copies of it] and using a mature set of use flags so I'm not sure what it is due to.
Given there have been claims of speed improvements with glibc 2.10.1, I'm going to take that plunge. The laptop needs all the help it can get - poor little Dell D430. I make it do so much with so little... |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon May 25, 2009 4:08 pm Post subject: |
|
|
I've finally done some of the phoronix tests that was mentioned previously. I've been having some problems with the games, but I hope I've got "enough"
What do I do with them now? Would anyone care to take a look and let me know if I've missed anything important before I upgrade to 4.4? |
|
Back to top |
|
|
bakkus n00b
Joined: 17 Dec 2002 Posts: 33
|
Posted: Mon May 25, 2009 7:40 pm Post subject: |
|
|
SlashBeast wrote: |
Can you show your flags? What I need to use graphite? Graphite in use + -fgraphite in cflags? |
This is my emerge --info:
Code: | jubjub ~ # emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/no-multilib, gcc-4.4.0, glibc-2.10.1-r0, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Mon, 25 May 2009 07:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r2
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.6.3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.29
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/home/system/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo http://gentoo.tiscali.nl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/home/system/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lxde /usr/local/portage/layman/gcc-porting /usr/local/portage/layman/webapps-experimental /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi amd64 apache2 berkdb bzip2 cli cracklib crypt dbus dri fortran gdbm gpm iconv isdnlog logrotate midi mmx mudflap mysql mysqli ncurses nfs nocxx nptl nptlonly openmp pam pch pcre perl php postfix pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd unicode vhosts xattr xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy openchrome via vesa vga"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
|
|
Back to top |
|
|
robnotts Guru
Joined: 15 Mar 2004 Posts: 405 Location: Nottingham, UK
|
Posted: Tue May 26, 2009 8:16 pm Post subject: |
|
|
Recompiled the AMD64 laptop with GCC-4.4.0 from portage, including:
Code: |
CFLAGS="-O2 -march=native -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
CPPFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
Had the following problems with the given solutions
net-wireless/wpa_supplicant-0.6.4 (upgrade to 0.6.9)
media-sound/wavpack-4.50.1 (upgrade to -r1)
media-libs/libopenraw-0.0.5 (upgrade to 0.0.7)
sci-libs/cln-1.2.2 (patch from b.g.o)
app-crypt/qca-ossl-2.0.0_beta3 (upgrade to -r1)
media-gfx/hugin (patch from b.g.o)
net-libs/xulrunner-1.8.1.19 (patch from b.g.o)
Which just leaves
dev-db/mysql-community-5.0.77-r1
dev-java/gnu-classpath-0.97-r1
Even openoffice compiled, which was a surprise. _________________ ---
Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop) |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Tue May 26, 2009 8:22 pm Post subject: |
|
|
robnotts: remove -fomit-frame-pointer from cflags, -Ox including it. |
|
Back to top |
|
|
Basso Buffo n00b
Joined: 19 Oct 2007 Posts: 24 Location: North Carolina, USA
|
Posted: Tue May 26, 2009 9:59 pm Post subject: |
|
|
I've had an issue compiling latest webkit-gtk with GCC 4.4.x due to some extraneous text in /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1-pre9999/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h
I changed this: Code: | #define __GLIBCXX__ built 20090526 | to this: Code: | #define __GLIBCXX__ 20090526 | and the problem was solved.
Any app that checks the value of __GLIBCXX__ (there are few, but both webkit and boost do) will probably trigger this bug. __GLIBCXX__ is supposed to be defined as an ISO date. |
|
Back to top |
|
|
robnotts Guru
Joined: 15 Mar 2004 Posts: 405 Location: Nottingham, UK
|
Posted: Tue May 26, 2009 10:53 pm Post subject: |
|
|
Quote: | robnotts: remove -fomit-frame-pointer from cflags, -Ox including it. |
Yeah aware of that, just force of habit to have it included, from the days when it wasn't!
Been on gentoo for a long long time! _________________ ---
Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop) |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue May 26, 2009 11:20 pm Post subject: |
|
|
Basso Buffo wrote: | I've had an issue compiling latest webkit-gtk with GCC 4.4.x due to some extraneous text in /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1-pre9999/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h
I changed this: Code: | #define __GLIBCXX__ built 20090526 | to this: Code: | #define __GLIBCXX__ 20090526 | and the problem was solved.
Any app that checks the value of __GLIBCXX__ (there are few, but both webkit and boost do) will probably trigger this bug. __GLIBCXX__ is supposed to be defined as an ISO date. |
stupid
thanks for catching that bugger _________________ 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 |
|
Back to top |
|
|
|