View previous topic :: View next topic |
Author |
Message |
TUX2k n00b
Joined: 16 May 2002 Posts: 62 Location: Purmerend, The Netherlands
|
Posted: Wed May 22, 2002 3:55 pm Post subject: Problem emergeing XINE |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed May 22, 2002 5:46 pm Post subject: Re: Problem emergeing XINE |
|
|
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 |
|
|
TUX2k n00b
Joined: 16 May 2002 Posts: 62 Location: Purmerend, The Netherlands
|
Posted: Wed May 22, 2002 6:28 pm Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed May 22, 2002 6:39 pm Post subject: |
|
|
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 |
|
|
pof n00b
Joined: 23 Apr 2002 Posts: 13
|
Posted: Tue May 28, 2002 3:25 pm Post subject: Same problem here |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue May 28, 2002 3:29 pm Post subject: |
|
|
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 |
|
|
pof n00b
Joined: 23 Apr 2002 Posts: 13
|
Posted: Tue May 28, 2002 3:38 pm Post subject: |
|
|
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 |
|
|
|