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

Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 27, 28, 29  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Mon Nov 12, 2007 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Mon Nov 12, 2007 4:21 pm    Post subject: Re: Working CFLAGS Reply with quote

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. :wink:

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
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Tue Nov 13, 2007 12:07 pm    Post subject: Reply with quote

what about minefield? is it safe now to emerge it with gcc-4.3-latest?
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Nov 13, 2007 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Nov 14, 2007 1:23 am    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Nov 14, 2007 6:30 am    Post subject: Reply with quote

dirtyepic wrote:
I think this might have been fixed today. PR33870?

Linky?
Back to top
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Wed Nov 14, 2007 9:21 am    Post subject: Reply with quote

might be... http://gcc.gnu.org/ml/gcc-patches/2007-11/index.html ???
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Nov 14, 2007 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Nov 14, 2007 8:43 pm    Post subject: Reply with quote

You are right. that PR fixes xulrunner trunk build. (fully compiled with gcc-4.3)
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Nov 14, 2007 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Nov 14, 2007 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Thu Nov 15, 2007 7:35 pm    Post subject: Reply with quote

i think the sqlite bug fix is causing an ICE when building xorg-server. it looks similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31976 but it fails in a different place.

edit: it's now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Fri Nov 16, 2007 2:09 am    Post subject: My new home Reply with quote

In regards to anyone trying to get my patches posted previously in this thread I have a new home.

http://code.google.com/p/b33fc0d3/downloads/list
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Nov 16, 2007 12:51 pm    Post subject: Reply with quote

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 :o 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
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Fri Nov 16, 2007 1:14 pm    Post subject: Reply with quote

unK if you're talking about https://forums.gentoo.org/viewtopic-p-4438814.html#4438814
then ignore that and just emerge gcc-4.3 from the toolchain overlay and if you're on amd64 put
GCC_MAKE_TARGET="bootstrap" at the top of the ebuild.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Nov 16, 2007 1:34 pm    Post subject: Reply with quote

likewhoa wrote:
unK if you're talking about https://forums.gentoo.org/viewtopic-p-4438814.html#4438814
then ignore that and just emerge gcc-4.3 from the toolchain overlay and if you're on amd64 put
GCC_MAKE_TARGET="bootstrap" at the top of the ebuild.

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Fri Nov 16, 2007 7:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
heijs
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 174
Location: Groningen

PostPosted: Sat Nov 17, 2007 11:58 am    Post subject: Reply with quote

Would copying gcc-4.3.0_alpha20071109.ebuild to gcc-4.3.0_alpha20071116.ebuild work as well?
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Nov 17, 2007 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
dodo1122
Guru
Guru


Joined: 02 Sep 2006
Posts: 347
Location: York, England

PostPosted: Sat Nov 17, 2007 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Nov 18, 2007 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Nov 19, 2007 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Tue Nov 20, 2007 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Tue Nov 20, 2007 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Wed Nov 21, 2007 3:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 27, 28, 29  Next
Page 17 of 29

 
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