Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emergeing XINE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Wed May 22, 2002 3:55 pm    Post subject: Problem emergeing XINE Reply with quote

I get the following error:
Code:

make[2]: Entering directory `/var/tmp/portage/xine-lib-0.9.9-r1/work/xine-lib-0.9.9/src'
Making all in xine-utils
make[3]: Entering directory `/var/tmp/portage/xine-lib-0.9.9-r1/work/xine-lib-0.9.9/src/xine-utils'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/xine-utils     -mcpu=k6 -march=k6 -O3 -pipe -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mwide-multiply -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentium   -I/usr/kde/3/include/artsc  -c utils.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/xine-utils -mcpu=k6 -march=k6 -O3 -pipe -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mwide-multiply -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentium -I/usr/kde/3/include/artsc -c utils.c  -fPIC -DPIC -o utils.lo
cc1: -mcpu=pentium does not support -march=k6
make[3]: *** [utils.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-0.9.9-r1/work/xine-lib-0.9.9/src/xine-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-0.9.9-r1/work/xine-lib-0.9.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-0.9.9-r1/work/xine-lib-0.9.9'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-libs/xine-lib/xine-lib-0.9.9-r1.ebuild .


I checked my make.conf but this one is set to the correct CPU (amd k6-2).
any one any ideas.
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed May 22, 2002 5:46 pm    Post subject: Re: Problem emergeing XINE Reply with quote

TUX2k wrote:
I get the following error:
Code:
cc1: -mcpu=pentium does not support -march=k6


I checked my make.conf but this one is set to the correct CPU (amd k6-2).
any one any ideas.


You have two conflicting settings -- -mcpu is saying 'pentium' while -march is saying 'k6'. You say you checked your make.conf file -- can you post the relevant portions here? (CHOST, CFLAGS, CXXFLAGS)

Also, make sure you didn't inadvertantly comment out two CFLAGS or CXXFLAGS lines in make.conf.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Wed May 22, 2002 6:28 pm    Post subject: Reply with quote

Here is my make.conf info;
Code:

 Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
# will run on any x86 system)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-mcpu=i686 -O3 -pipe"
#CXXFLAGS="-mcpu=i686 -O3 -pipe"

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries
# will use the P6 instruction set and only run on P6+ systems)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O3 -pipe"
#CXXFLAGS="-march=i686 -O3 -pipe"

# Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond)
#CHOST="i586-pc-linux-gnu"
#CFLAGS="-march=i586 -O3 -pipe"
#CXXFLAGS="-march=i586 -O3 -pipe"

# K6 exclusive (requires a K6 or beyond)
CHOST="i586-pc-linux-gnu"
CFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"
CXXFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed May 22, 2002 6:39 pm    Post subject: Reply with quote

Very bizarre -- make.conf looks fine. Might be a bug with the ebuild script, but I assume others would have noticed it as well given the popularity of xine.

Anyone else noticing this problem?

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
pof
n00b
n00b


Joined: 23 Apr 2002
Posts: 13

PostPosted: Tue May 28, 2002 3:25 pm    Post subject: Same problem here Reply with quote

Using a K6/2 - 500Mhz, with same CFLAGS. Emerge xine-lib-0.9.9-r1 fails at same point. (even tried unseting $CFLAGS in the ebuild, but it still produces the same error!).
Should this be reported to bugs.gentoo.org or to ebuild mantainer?


Last edited by pof on Tue May 28, 2002 3:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue May 28, 2002 3:29 pm    Post subject: Reply with quote

I remember seeing some discussion of this on the mailing list as well. Someone who's experiencing this problem might want to check bugs.gentoo.org to make sure a bug has been filed on this.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
pof
n00b
n00b


Joined: 23 Apr 2002
Posts: 13

PostPosted: Tue May 28, 2002 3:38 pm    Post subject: Reply with quote

klieber wrote:
Someone who's experiencing this problem might want to check bugs.gentoo.org to make sure a bug has been filed on this.


I can't find a bug report for it, there's a similar problem here, but its status is RESOLVED, because the guy had a K7, not a K6.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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