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 ... 22, 23, 24 ... 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
Thargor
Apprentice
Apprentice


Joined: 23 Dec 2005
Posts: 239
Location: Bamberg/Germany

PostPosted: Fri Feb 29, 2008 11:36 pm    Post subject: Reply with quote

Afaik, you have to recompile glibc after emerging uvesafb with gcc-4.3
At least it had this bug the last time I looked.
_________________
Ideas are bulletproof
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


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

PostPosted: Sat Mar 01, 2008 12:26 am    Post subject: Reply with quote

This is exactly why i use normal vesa :P

Quote:
anyone knows anything about -ftree-vectorize in gcc-4.3?

-ftree-vectorize is now included in -O3, and it's pretty safe to use (i was using -O3 with gcc43 for some time, recompiled world with it many times, and no package failed for me because of it).

dodo
_________________
#zen-sources on irc.rizon.net
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: Sat Mar 01, 2008 4:56 am    Post subject: Reply with quote

-ftree-vectorize in 4.2 creates code that uses aligned memory instructions with unaligned addresses, causing a segfault. There is a workaround in 4.3 to avoid this, with a proper fix coming in 4.4. You can find a patch for 4.2 here:

http://overlays.gentoo.org/dev/dirtyepic/browser/sys-devel/gcc/files/4.2.4/gcc-4.2.0-vectorize-pr32893.patch
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Mar 01, 2008 11:27 am    Post subject: Reply with quote

Thargor wrote:
Afaik, you have to recompile glibc after emerging uvesafb with gcc-4.3
At least it had this bug the last time I looked.

Well, yeah, it worked for me when I played with 20071207 some time ago, but now, with 20080223 I recompiled glibc twice after world and nothing has changed ;X

And about -ftree-vectorize: if you have Firefox compiled with system jpeg, don't compile media-libs/jpeg with this flag, it will trigger random segfaults in Firefox while rendering jpeg images.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Mar 02, 2008 5:45 pm    Post subject: Reply with quote

http://unknownart.webd.pl/o/boost-svn.tar.bz2

do
Code:
emerge boost-build -1
cd /usr/portage/distfiles/svn-src
ln -s boost-build boost
emerge boost

To prevent boost from fetching sources twice.

Note: Static libraries won't build with USE icu. I also didn't test it with USE tools and test phase. Use at your own risk ;)

Btw, should I fill bug that v86d segfaults with gcc-4.3? Will they kill me because I won't provide a patch? ;p However I think it would be good to inform spock about it so he would be able to fix it maybe.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
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 Mar 06, 2008 2:42 am    Post subject: Reply with quote

i don't think anyone will mind you filing a bug. put "gcc-4.3" in the Block field if you do and i'll keep an eye on it.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
piwacet
Guru
Guru


Joined: 30 Dec 2004
Posts: 486

PostPosted: Thu Mar 06, 2008 3:50 am    Post subject: Reply with quote

Well I think the official gcc 4.3.0 tarballs are mirroring now, although no official word of release. And there's a lot of discusion about a gcc/kernel error with signal handling on the gcc mailing list.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Thu Mar 06, 2008 6:43 am    Post subject: Reply with quote

@piwacet: Not really what I read on gcc mailing list http://gcc.gnu.org/ml/gcc/2008-03/msg00157.html
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
piwacet
Guru
Guru


Joined: 30 Dec 2004
Posts: 486

PostPosted: Thu Mar 06, 2008 9:18 am    Post subject: Reply with quote

Apologies for not linking on my prior post.

http://gcc.gnu.org/ml/gcc/2008-03/msg00267.html
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


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

PostPosted: Thu Mar 06, 2008 6:49 pm    Post subject: Reply with quote

I get this when compiling mono unstable.

Code:

if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make PROFILES='default net_2_0' CC='i686-pc-linux-gnu-gcc' all-profiles
make[3]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r2/work/mono-1.2.6/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r2/work/mono-1.2.6/mcs'
make PROFILE=basic all
make[5]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r2/work/mono-1.2.6/mcs'
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r2/work/mono-1.2.6/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r2/work/mono-1.2.6/mcs'


And it just hangs there
_________________
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
Thargor
Apprentice
Apprentice


Joined: 23 Dec 2005
Posts: 239
Location: Bamberg/Germany

PostPosted: Thu Mar 06, 2008 8:24 pm    Post subject: Reply with quote

unK wrote:
Code:
emerge boost-build -1
cd /usr/portage/distfiles/svn-src
ln -s boost-build boost
emerge boost

To prevent boost from fetching sources twice.


It would be better to add something like this to the ebuilds:
Code:
ESVN_PROJECT="boost"

this tells the subversion.eclass that it should store the sources in the 'boost' dir in /usr/portage/distfiles/svn-src, resulting in both ebuilds using the same directory.

Edit: Same goes for git.eclass, btw. (it's just EGIT_PROJECT, instead of ESVN_PROJECT)
_________________
Ideas are bulletproof


Last edited by Thargor on Thu Mar 06, 2008 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Mar 06, 2008 8:59 pm    Post subject: Reply with quote

Thank you, I didn't know that. Updated.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
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 Mar 07, 2008 5:15 am    Post subject: Reply with quote

gcc-4.3.0 gone from the overlay and replaced with 4.3.1? So does that mean 4.3.0 is being replaced by 4.3.1 now?
_________________
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
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Fri Mar 07, 2008 4:58 pm    Post subject: Reply with quote

Eckos wrote:
gcc-4.3.0 gone from the overlay and replaced with 4.3.1? So does that mean 4.3.0 is being replaced by 4.3.1 now?

Isn't that just due to 4.3.0 having been made final?
_________________
I don't give a darn about "experience", just functional copyleft software.
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 Mar 07, 2008 6:46 pm    Post subject: Reply with quote

Still shows up on their site as 4.2.3 still as the latest release
_________________
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
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Fri Mar 07, 2008 9:02 pm    Post subject: Reply with quote

Eckos wrote:
Still shows up on their site as 4.2.3 still as the latest release

Well, er, don't you think they might package the final version and distribute it to mirrors a few days before making an announcement?

That's the way it's usually done, unless I've come down with a stroke of amnesia... :?
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
zhitch
n00b
n00b


Joined: 30 Aug 2004
Posts: 39
Location: Dayton, Ohio

PostPosted: Fri Mar 07, 2008 10:02 pm    Post subject: Reply with quote

gcc 4.3.0 is released to the mirrors in the releases section as of the 5th. Here is a link with more info about 4.3.1

http://gcc.gnu.org/ml/gcc/2008-03/msg00385.html
Back to top
View user's profile Send private message
Moonboots
Apprentice
Apprentice


Joined: 02 Dec 2006
Posts: 154

PostPosted: Sat Mar 08, 2008 11:11 am    Post subject: Reply with quote

Although i was unable to help in testing, waiting to see what AMD 45nm stuff is like ( end of 2008 ?), before building a second machine.
Any idea, when 4.3 will hit portage as ~arch ?
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


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

PostPosted: Sat Mar 08, 2008 11:38 am    Post subject: Reply with quote

probably never :P i bet they'll wait for 4.3.1; there is too much to patch for now anyway.


dodo
_________________
#zen-sources on irc.rizon.net
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Sat Mar 08, 2008 6:28 pm    Post subject: Reply with quote

dodo1122 wrote:
probably never :P i bet they'll wait for 4.3.1; there is too much to patch for now anyway.


dodo

The Gentoo community sentiment seemed to be the same for 4.2.0, but the devs surprised us (or me, at least) by commiting it to the tree a while after release. Without keywords for the first few days, of course. There are still some 4.2 compatibility bugs open in the tracker....
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


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

PostPosted: Sun Mar 09, 2008 2:18 am    Post subject: Reply with quote

it took about 1-2 weeks for gcc-4.2.3 to show up in the tree
_________________
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
piwacet
Guru
Guru


Joined: 30 Dec 2004
Posts: 486

PostPosted: Mon Mar 10, 2008 5:15 am    Post subject: Reply with quote

Well, the website now shows gcc 4.3.0 as being released. (Actually dated March 5th). I guess it's officially here. I believe they plan for a really quick 4.3.1 (2 weeks was mentioned in one email) with some important bugfixes... (at least one pertaining to the gcc/kernel signaling issue.)
Back to top
View user's profile Send private message
zhitch
n00b
n00b


Joined: 30 Aug 2004
Posts: 39
Location: Dayton, Ohio

PostPosted: Mon Mar 10, 2008 11:06 pm    Post subject: Reply with quote

actually the bug is in the kernel.. and discussion is in the works about whether to produce some kind of workaround or just leave it to the kernel devs..
more info here ... http://gcc.gnu.org/ml/gcc/2008-03/msg00337.html
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Tue Mar 11, 2008 12:02 am    Post subject: Reply with quote

From the now-published 4.3 optimisation guide:

Quote:

-ftree-parallelize-loops=n
Parallelize loops, i.e., split their iteration space to run in n threads. This is only possible for loops whose iterations are independent and can be arbitrarily reordered. The optimization is only profitable on multiprocessor machines, for loops that are CPU-intensive, rather than constrained e.g. by memory bandwidth. This option implies -pthread, and thus is only supported on targets that have support for -pthread.

Veeeeewy interesting...

Causes ICEs and miscompilations when combined with vectorisation though.
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Tue Mar 11, 2008 6:19 pm    Post subject: Reply with quote

GCC 4.3 is released
http://www.phoronix.com/scan.php?page=news_item&px=NjM4Ng
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 ... 22, 23, 24 ... 27, 28, 29  Next
Page 23 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