Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9894 - kdemultimedia behaves poorly with -fomit-frame-pointer CFLAG
Summary: kdemultimedia behaves poorly with -fomit-frame-pointer CFLAG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-29 07:02 UTC by Jerry
Modified: 2002-11-21 11:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry 2002-10-29 07:02:55 UTC
If your {C,CXX}FLAGS have --fomit-frame-pointer, noatun (part of   
kdemultimedia) kills artsd (the sound server) when you try to play any file.    
I have experienced this with both gcc3.2 and gcc2.95 on a pentium 3 machine.    
My {C,CXX}FLAGS otherwise look like this:   
   
-march=pentium3 -O3 -pipe -fomit-frame-framepointer 
 
Adding this to my kdemultimedia ebuild fixed it: 
filter-flags "-fomit-frame-pointer"
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-10-29 23:13:27 UTC
Hm. This doesn't happen for me. Actually lots of people use -fomit-frame-pointer and 
noone's reported this before, so there's probably some additional reason for this. 
Try running artsd and noatun both from konsoles and see if there's any interesting 
output, i.e. how/why does it kill artsd? 
Comment 2 Jerry 2002-10-31 20:08:32 UTC
I've re-emerged kdemultimedia with -fomit-frame-pointer. 
 
In one shell, I run: 
$ /usr/kde/3/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f 
 
In another shell I run: 
$ noatun 
mcop warning: user defined signal handler found for SIG_PIPE, overriding 
MCOP StartupManager: adding a StartupClass after Dispatcher init will not 
work. 
Internal Vis 
Started 
0 
$ 
 
I was originally mistaken about noatun crashing artsd when trying to play a 
file.  It actually crashes artsd as soon as it starts.  In the shell running 
artsd, all I get is a segmentation fault. 
 
There are at least a few other people who have the same problem: 
http://forums.gentoo.org/viewtopic.php?t=3506&highlight=kdemultimedia 
http://forums.gentoo.org/viewtopic.php?t=9657&highlight=kdemultimedia+fomitframepointer 
 
However, a post in this forum thread claims that there might be a problem even 
without -fomit-frame-pointer: 
http://forums.gentoo.org/viewtopic.php?t=3827&highlight=kdemultimedia+fomitframepointer 
 
I'm not sure where to go from here... 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-13 15:12:14 UTC
i got a mail from a gentoo user with exactly the same problem, i think we should filter 
"--fomit-frame-pointer" from kdemultimedia. 
 
anyone against this? 
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-21 11:53:49 UTC
ok, -fomit-frame-pointer is now filtered by kdemultimedia, thanks for submission