Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69536 - Grip does not display the correct rip/enc speeds, additions to ebuild fixes this for me..
Summary: Grip does not display the correct rip/enc speeds, additions to ebuild fixes t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-30 12:48 UTC by Justin
Modified: 2004-12-22 16:52 UTC (History)
1 user (show)

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


Attachments
my emerge --info (emergeinfo,1.75 KB, text/plain)
2004-11-02 17:05 UTC, Justin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2004-10-30 12:48:58 UTC
With my normal CFLAGS Grip displays the Rip and Enc speeds ( under the Rip tab ) as 0.0x, sometimes it will creep up, but it's definetly not accurate as it's actually ripping and encoding the tracks.

I'm not sure if this will follow portage standards, but this is what I added at the top of my 3.2.0 ebuild to fix it:
inherit flag-o-matic

append-flags "-mcpu=i586"

ALLOWED_FLAGS="-O -O1 -O2 -Os -O3 -mcpu -pipe -fomit-frame-pointer"
strip-flags


The append-flags is unnecessary/won't play nice with other arches, I know. I also tried without the append-flags and it works fine, so that would be the more generic-make-everyone-happy route.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-31 03:08:45 UTC
please give me your 'emerge --info' output.  It's probablt a flag that you have enabled.  Please try to figure out what flag you enable that causes this problem.
Comment 2 Justin 2004-11-02 17:05:56 UTC
Created attachment 43199 [details]
my emerge --info
Comment 3 Justin 2004-11-02 17:07:58 UTC
Comment on attachment 43199 [details]
my emerge --info

I've had this problem for a long time actually, with many different flags. The
only flag that's stayed the same is -march=athlon-mp. I think I've even tried
other -march options, but I finally got it to work at -mcpu=i686
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-28 06:38:33 UTC
what if you add -mno3dnow -mnosse to CFLAGS?
Comment 5 Justin 2004-11-28 20:43:22 UTC
Hm, well -mno-3dnow doesn't change anything, but -mno-sse makes the speed display correctly.
Thanks :)

append-flags "-mno-sse" at the top of the next grip ebuild probably wouldn't hurt future users.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-28 22:20:51 UTC
ok, the append flag is in portage...

would you mind testing this problem when you update to gcc-3.4 to see if it's fixed with that compiler... if it works with gcc-3.4, just reopen this bug so I can make the flag magic conditional on the gcc version.

Thanks.
Comment 7 Justin 2004-11-30 20:11:08 UTC
Tried compiling with and without -mno-sse and gcc-3.4.3
The results are the same, gcc-3.4.x needs -mno-sse
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-22 16:52:28 UTC
this was fixed about a month ago in portage ... closing