View previous topic :: View next topic |
Author |
Message |
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Mon Nov 12, 2007 8:58 am Post subject: |
|
|
crazy, i didn't know they enabled it for -O3. i guess they haven't updated the docs yet.
gmp-4.2.2 is in the tree now so no need for the above patch. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
Genewb Apprentice
Joined: 09 Jan 2007 Posts: 165
|
Posted: Mon Nov 12, 2007 4:21 pm Post subject: Re: Working CFLAGS |
|
|
dirtyepic wrote: | b33fc0d3 wrote: |
CFLAGS="${CFLAGS} -ftree-vectorizer-verbose=3"
|
this doesn't actually do anything unless -ftree-vectorize is enabled. now that http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32893 is fixed on the trunk, vectorization isn't as unstable as it has been in previous releases. that said, we still don't support it. |
WoOo, with 20071109 wine has no problems with ftree-vectorize, which was the only code generation problem I've ever had with the flag. |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Tue Nov 13, 2007 12:07 pm Post subject: |
|
|
what about minefield? is it safe now to emerge it with gcc-4.3-latest? |
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Tue Nov 13, 2007 4:57 pm Post subject: |
|
|
Dottout wrote: | what about minefield? is it safe now to emerge it with gcc-4.3-latest? |
As I have said previously, minefield-r5 (using libxulrunner) works fine with gcc-4.3 except for their 'libsqlite3.so' which will seg if compiled with gcc-4.3. I know that later versions of sqlite work fine so I might try to bump the version in the xulrunner tree.
Code: | about:buildconfig
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler Version Compiler flags
x86_64-pc-linux-gnu-gcc gcc version 4.3.0-alpha20071102 (experimental) (GCC) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=athlon64 -fPIC -Wno-return-type -w -pthread -pipe
x86_64-pc-linux-gnu-g++ gcc version 4.3.0-alpha20071102 (experimental) (GCC) -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"
Configure arguments
--enable-application=xulrunner '--enable-optimize=-O3 -ftree-vectorizer-verbose=3' --disable-installer --disable-pedantic --enable-crypto --with-system-jpeg --with-system-zlib --with-system-png --disable-updater --enable-pango --enable-svg --enable-svg-renderer=cairo --enable-system-cairo --disable-strip --disable-strip-libs --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --disable-ipv6 --disable-xinerama --enable-dbus --disable-startup-notification --disable-freetype2 --disable-debug --disable-tests --enable-reorder --disable-mailnews --disable-mochitest --disable-crashreporter --enable-native-uconv --enable-system-hunspell --enable-image-encoder=all --enable-canvas --enable-embedding-tests --with-system-nspr --with-system-nss --enable-system-lcms --enable-oji --enable-mathml --enable-storage --enable-places --enable-places_bookmarks --enable-jsd --enable-xpctools --disable-libxul --with-default-mozilla-five-home=/usr/lib64/xulrunner --enable-glitz --disable-javaxpcom --enable-extensions=default,wallet --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu |
|
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Wed Nov 14, 2007 1:23 am Post subject: |
|
|
b33fc0d3 wrote: | As I have said previously, minefield-r5 (using libxulrunner) works fine with gcc-4.3 except for their 'libsqlite3.so' which will seg if compiled with gcc-4.3. I know that later versions of sqlite work fine so I might try to bump the version in the xulrunner tree. |
I think this might have been fixed today. PR33870? _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Nov 14, 2007 6:30 am Post subject: |
|
|
dirtyepic wrote: | I think this might have been fixed today. PR33870? |
Linky? |
|
Back to top |
|
|
yamakawa Guru
Joined: 28 Jul 2003 Posts: 340
|
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Nov 14, 2007 4:00 pm Post subject: |
|
|
dirtyepic wrote: | I think this might have been fixed today. PR33870? |
I'll test this PR. But, I've also tried bumping libsqlite3.so to 3.4.2 but that still segs with gcc-4.3 (works fine with gcc-4.2)
Code: | 0x00002aaab4d103d7 in sort_pagelist ()
from /usr/lib64/xulrunner/components/../libsqlite3.so |
|
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Nov 14, 2007 8:43 pm Post subject: |
|
|
You are right. that PR fixes xulrunner trunk build. (fully compiled with gcc-4.3) |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed Nov 14, 2007 10:02 pm Post subject: |
|
|
Does anyone have a fix to build dev-libs/boost with gcc-4.3? It fails and compilation give almost no output (just simply "failed" message) and I have no idea how even try to fix it. |
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Nov 14, 2007 10:35 pm Post subject: |
|
|
boost is going to have to be fixed upstream all the code needs a rewrite imho. I tried a while ago and failed. Also anything that links to libboost probably needs to be compiled with gcc-4.2 because gcc-4.3 can't link to gcc-4.2 boost (which makes sense, in context of what boost is trying to do).
Give it a go. |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Fri Nov 16, 2007 12:51 pm Post subject: |
|
|
I've installed gcc from svn, copied ebuild from previous page to gcc-4.3.0_alpha9999.ebuild and merged it, but it installed to two different folders, some files went into /usr/lib/gcc/i686-pc-linux-gnu/4.3.0 and some into /usr/lib/gcc/i686-pc-linux-gnu/4.3.0-alpha9999 I had to create symlinks for all files from 4.3.0-alpha9999 in 4.3.0, 'cause gcc was complaining about "cannot find -lgcc_s". How to make it install to one folder? Should I just rename ebuild's name to gcc-4.3.0.ebuild? |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Fri Nov 16, 2007 1:34 pm Post subject: |
|
|
But I wanted trunk gcc to compile minefield with gcc-4.3, last weekly snapshot doesn't have appropriate fix, which prevent sqlite3.so from segfaulting if compiled with gcc-4.3. |
|
Back to top |
|
|
b33fc0d3 Retired Dev
Joined: 22 Jun 2006 Posts: 128
|
Posted: Fri Nov 16, 2007 7:08 pm Post subject: |
|
|
unK wrote: | But I wanted trunk gcc to compile minefield with gcc-4.3, last weekly snapshot doesn't have appropriate fix, which prevent sqlite3.so from segfaulting if compiled with gcc-4.3. |
I prefer to make a snapshot and use that, helps in tracking at least the date I made the snapshot.
http://b33fc0d3.googlecode.com/files/create_gcc-snapshot-tarball-4.3.bash
If you use this script all you'll need to do is bump the gcc ebuilds and all will work perfectly. |
|
Back to top |
|
|
heijs Apprentice
Joined: 12 Jun 2002 Posts: 174 Location: Groningen
|
Posted: Sat Nov 17, 2007 11:58 am Post subject: |
|
|
Would copying gcc-4.3.0_alpha20071109.ebuild to gcc-4.3.0_alpha20071116.ebuild work as well? |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sat Nov 17, 2007 12:11 pm Post subject: |
|
|
b33fc0d3 wrote: | unK wrote: | But I wanted trunk gcc to compile minefield with gcc-4.3, last weekly snapshot doesn't have appropriate fix, which prevent sqlite3.so from segfaulting if compiled with gcc-4.3. |
I prefer to make a snapshot and use that, helps in tracking at least the date I made the snapshot.
http://b33fc0d3.googlecode.com/files/create_gcc-snapshot-tarball-4.3.bash
If you use this script all you'll need to do is bump the gcc ebuilds and all will work perfectly. |
thanks, it works ok.
Quote: | Would copying gcc-4.3.0_alpha20071109.ebuild to gcc-4.3.0_alpha20071116.ebuild work as well? |
yes. |
|
Back to top |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
Posted: Sat Nov 17, 2007 2:25 pm Post subject: |
|
|
Is there a way that i can use b33fc0d3's patches without making my own overlay with ebuilds+patches? I'm using paludis at the moment, and portage-bashrc-ng is not ported to paludis
As far as i google'd there is no autopatch for paludis, or am i mistaken?
dodo _________________ #zen-sources on irc.rizon.net |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Nov 18, 2007 8:04 pm Post subject: |
|
|
Great, with gcc from today I successfuly compiled ffmpeg-svn and mplayer-svn with core2
Are some of you compiling glibc-2.7 with gcc-4-3alpha ? |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Mon Nov 19, 2007 1:16 pm Post subject: |
|
|
Hello again,
does someone succed in compiling
dev-lisp/clisp-2.43
media-libs/vamp-plugin-sdk-1.1b-r1
against gcc-4.3 ?
I looked at http://www.unknownart.webd.pl/o/gcc43/ without mention of those. |
|
Back to top |
|
|
yamakawa Guru
Joined: 28 Jul 2003 Posts: 340
|
Posted: Tue Nov 20, 2007 6:50 pm Post subject: |
|
|
Gregoire wrote: |
dev-lisp/clisp-2.43
media-libs/vamp-plugin-sdk-1.1b-r1
|
as for vamp-plugin-sdk, it is a matter of making a patch. this is not that difficult. read some previous posts mentioning appropriate #include.
as for clisp, the configure script in the ebuild seems not to be correct. because I manually tried to compile clisp with gcc-4.3 and indeed I could. I am trying to modify the ebuild right now... |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Tue Nov 20, 2007 9:44 pm Post subject: |
|
|
I was too lazy : I compiled them with gcc-4.2.2...
I also can't compil vdr-1.5.1x with gcc-4.3alpha->gcc-4.2.2
Thank |
|
Back to top |
|
|
yamakawa Guru
Joined: 28 Jul 2003 Posts: 340
|
Posted: Wed Nov 21, 2007 3:11 am Post subject: |
|
|
Gregoire wrote: | I was too lazy : I compiled them with gcc-4.2.2...
|
sorry about that.
Quote: |
I also can't compil vdr-1.5.1x with gcc-4.3alpha->gcc-4.2.2
|
vdr together with required packages media-tv/gentoo-vdr-scripts media-tv/linuxtv-dvb-headers all compile fine with gcc-4.3(svn). |
|
Back to top |
|
|
|