Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2586 - xine-lib not building properly on AMD Duron-based machine
Summary: xine-lib not building properly on AMD Duron-based machine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-08 13:19 UTC by Chris Hartjes
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
This patch fixes configure.in, because it tries to do march/mcpu checking, which *SHOULD* be done by /etc/make.conf, if this fails you have 2 different marchs -> no compile, dont forget autoconf! (xine-lib-0.9.9-r2.patch,1.39 KB, patch)
2002-06-01 13:26 UTC, Dries Harnie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hartjes 2002-05-08 13:19:28 UTC
When merging xine-libs, I got the following error message:

cc1: -mcpu=pentium does not support -march=k6

I run an AMD Duron 850 (hence the -march=k6) and have not seen this problem
elsewhere while emerge-ing a package.

It produced this error when in the xine-utils section of the compile.  I don't
know enough about autoconf/automake to figure out how to overcome this.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-19 05:09:45 UTC
as far as I know, a Duron is just an Athlon with less cache.  That being the
case, the arch is actually a k7 not a k6.  Hence, the -march should be i686 if
you are using gcc-2.95.3

If you are using >= gcc-3, then there is a -march=athlon setting I believe.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-21 09:02:37 UTC
Any news on this, then?
Comment 3 Chris Hartjes 2002-05-21 09:11:17 UTC
I changed my make.conf to use the Athlon stuff instead of Duron and it compiled
perfectly.  Thanks for your help.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-21 09:17:53 UTC
Great.  Glad we got you sorted :)
Comment 5 Dries Harnie 2002-06-01 13:26:59 UTC
Created attachment 1293 [details, diff]
This patch fixes configure.in, because it tries to do march/mcpu checking, which *SHOULD* be done by /etc/make.conf, if this fails you have 2 different marchs -> no compile, dont forget autoconf!

Dont forget autoconf !
I deleted those 20 or so lines because make.conf is supposed to set -march &
-mcpu, not configure!
Hope it helps :)
Comment 6 Shane Simmons 2002-07-28 13:52:33 UTC
Just tried to emerge xine-lib 0.9.12-r1 on a K6.  Definitely not resolved, as 
I had conflicting -mcpu=pentium (as done by configure) and -mcpu=k6 (done by 
/etc/make.conf) 
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-28 19:26:16 UTC
*** Bug 5671 has been marked as a duplicate of this bug. ***
Comment 8 Arcady Genkin (RETIRED) gentoo-dev 2002-07-29 02:33:13 UTC
Punting this bug to Brandon, who expressed a wish to maintain everything that's
Xine. ;^)
Comment 9 Brandon Low (RETIRED) gentoo-dev 2002-07-31 11:15:17 UTC
this is a duplicate of some bug, but regardless it is fixed in the latest
versions of xine-lib and xine-ui in portage, they are masked, please test and
let me know what you get.