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

Goto page Previous  1, 2, 3, 4, 5 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Wed Jan 28, 2009 5:00 pm    Post subject: Reply with quote

media-sound/wavpack fails on GCC 4.4 with a flood of messages similar to the following:
Code:
extra2.c: In function 'decorr_stereo_pass':
extra2.c:85: error: incompatible type for argument 2 of '__builtin_ia32_psrld'
extra2.c:85: note: expected 'int __vector__' but argument is of type 'int'

I've gotten to be pretty good at fixing the C++-missing-headers GCC 4.4 bugaboos, but this one has me stumped. It compiles cleanly with GCC 4.2.4.

Unfortunately, I can't seem to locate wavpack's bugzilla. What is it with open source projects that make it impossible to report bugs? I couldn't find dev-libs/fcgi's bugtracker either (I filed a Gentoo bug for fcgi anyway).


Last edited by Basso Buffo on Wed Jan 28, 2009 5:37 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: Wed Jan 28, 2009 5:07 pm    Post subject: Reply with quote

media-gfx/xsane doesn't run if compiled with gcc-4.4, cpu usage goes to 100% and nothing happens. (infinite loop maybe? no idea, I didn't do further investigation). works ok with 4.3.2.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Feb 11, 2009 12:46 pm    Post subject: Reply with quote

i think there is a problem in the new graphite enabled ebuild with the ecj file.
of course this problem only applies when the gcj use flag is enabled.
it is in the distfiles directory, but is not copied for some reason.
anybody with the same situation?
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Thu Feb 19, 2009 10:03 pm    Post subject: Reply with quote

Just FYI -- while the new ebuild does enable graphite, the new graphite features are not workable. If you add the new graphite-enabling flags to your CFLAGS, gcc will crash and burn when trying to build even simple programs.
Code:
CFLAGS="${CFLAGS} -floop-interchange -floop-strip-mine -floop-block"
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 Feb 19, 2009 11:14 pm    Post subject: Reply with quote

if you mail me a log i'll have a look.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Fri Feb 27, 2009 4:37 am    Post subject: Reply with quote

-floop-interchange is tentatively working (it worked before as long as you specified -O0; crashed with -O1, -O2, -O3 or -Os) with the patch listed here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39308
You'll have to edit the patch to prepend "gcc/" to the filenames. To my knowledge this patch hasn't made it into trunk, but the change was made in the 'graphite' branch with revision 144455.

Edit:
As of rev 144470, the patch has now been applied to trunk.
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: Fri Mar 06, 2009 7:50 pm    Post subject: Reply with quote

i'm going to be doing some unrelated wxGTK work with my overlay soon and don't want to break stuff for you guys, so I'm moving the gcc ebuilds to the gcc-porting overlay, which, now that i think about it, makes a hell of a lot more sense. i'll put a message or something in the dirtyepic overlay gcc to tell people to switch.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
pdw_hu
Apprentice
Apprentice


Joined: 02 Jun 2008
Posts: 200
Location: Budapest, Hungary

PostPosted: Wed Mar 11, 2009 8:41 am    Post subject: Reply with quote

dirtyepic wrote:
i'm going to be doing some unrelated wxGTK work with my overlay soon and don't want to break stuff for you guys, so I'm moving the gcc ebuilds to the gcc-porting overlay, which, now that i think about it, makes a hell of a lot more sense. i'll put a message or something in the dirtyepic overlay gcc to tell people to switch.


Could you please copy dev-libs/cloog-ppl over to the new overlay also? It's needed for the graphite use-flag
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 Mar 11, 2009 10:21 pm    Post subject: Reply with quote

whoops. i'll do so now. thanks.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 203

PostPosted: Sat Mar 14, 2009 3:13 am    Post subject: Reply with quote

Basso Buffo wrote:
Just FYI -- while the new ebuild does enable graphite, the new graphite features are not workable. If you add the new graphite-enabling flags to your CFLAGS, gcc will crash and burn when trying to build even simple programs.
Code:
CFLAGS="${CFLAGS} -floop-interchange -floop-strip-mine -floop-block"


Just compiled the svn GCC 4.4.x and have built quite a few things with these flags.

Nothing has failed.

Yet...

:)
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


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

PostPosted: Sun Mar 15, 2009 12:33 am    Post subject: Reply with quote

Stuff fails rarely, but often miscompiles -- example is firefox, which compiles just fine, but rendering is completely broken. Same goes for webkit. On the other hand, compiling paludis with gcc-4.4 yields visible speed improvements -- and none of the tests failed ;)
_________________
#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: Sun Mar 15, 2009 4:53 am    Post subject: Reply with quote

a lot of those are caused by strict aliasing violations. -fno-strict-aliasing usually does the trick. with firefox it's actually a problem in nspr. you can find a patched version in the overlay.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Mar 19, 2009 12:56 pm    Post subject: Reply with quote

anyone crazy enough to run it outside chroot yet?

Was bored and googled a bit and found some performance tests here http://encode.ru/forum/showthread.php?t=278 which look very impressive.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Mar 19, 2009 2:36 pm    Post subject: Reply with quote

neuron wrote:
anyone crazy enough to run it outside chroot yet?

I have world compiled with gcc-4.4.0_pre9999 for couple of months ;p Everything runs ok, except two packages (wavpack doesn't compile and if glibc is compiled with gcc-4.4, threads debugging in gdb doesn't work).
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Mar 19, 2009 2:53 pm    Post subject: Reply with quote

nice, was expecting more things to break.

I'm not too worried about compile failure (which chroots test nicely), but compile ok and run unstable/crash is really annoying.
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Thu Mar 19, 2009 3:54 pm    Post subject: Reply with quote

I'm crazy enough to have bootstrapped with 4.4 (it took some doing), and I'm crazy enough to have the experimental graphite-related optimization flags in my CFLAGS. I have GCC 4.2.4 installed for the few times when 4.4 fails (such as wavpack and nspr up until this last month). I haven't had any major crashes, though I have had reason to acquaint myself with the gcc bugzilla.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Mar 20, 2009 11:01 am    Post subject: Reply with quote

Could you post your cflags and packages you compiled with 4.2 if you got a log of em?

Gonna clone my root and try to boot off 4.4 and see how it goes, I'll stick with not using graphite for the system though, I might toy with it on specific programs however ;)
Back to top
View user's profile Send private message
FallenWizard
n00b
n00b


Joined: 04 Sep 2007
Posts: 51
Location: Vienna / Austria

PostPosted: Fri Mar 20, 2009 1:00 pm    Post subject: Reply with quote

I made a little patch to get OpenLDAP working with GCC 4.4:

http://rafb.net/p/cv1Bc347.html

I tested it with OpenLDAP 2.3.43 and it works fine.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Mar 20, 2009 1:04 pm    Post subject: Reply with quote

might wanna put that where people can see it, especially the openldap people and https://bugs.gentoo.org/show_bug.cgi?id=249226
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: Fri Mar 20, 2009 10:44 pm    Post subject: Reply with quote

what is this chroot you speak of?
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 203

PostPosted: Sat Mar 21, 2009 1:30 am    Post subject: Reply with quote

I think it stands for CHange ROOT.

You can always "man chroot"

I rolled back to 4.3.2 for a while as I had some errors on my machine.

I don't think it was 4.4.0's fault but it was best to be safe as I don't know a lot about GCC and programming.
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Sat Mar 21, 2009 8:30 am    Post subject: Reply with quote

rufnut wrote:
I think it stands for CHange ROOT.

You can always "man chroot"


I am pretty sure dirty epic was ironic. After all he is involved somehow with the toolchain-maintainers... :wink:


Last edited by Xake on Sat Mar 21, 2009 10:37 am; edited 1 time in total
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 203

PostPosted: Sat Mar 21, 2009 9:31 am    Post subject: Reply with quote

Cool , and he still has time to play with a Phased Array like in his Picture.

8)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Mar 21, 2009 4:00 pm    Post subject: Reply with quote

how about the greatest challenge:

kernel-compilation

was it successful for anyone ?

for me it produced an internal compiler error (2.6.29-rc8-zen1)
_________________
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 :D
Back to top
View user's profile Send private message
ComaWhite
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2008
Posts: 125

PostPosted: Sat Mar 21, 2009 5:38 pm    Post subject: Reply with quote

yeah I was able to compile the gentoo-sources and zen-sources fine
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 14, 15, 16  Next
Page 4 of 16

 
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