Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7001 - error while kdemultimedia-3.03
Summary: error while kdemultimedia-3.03
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-25 04:00 UTC by Jan Schubert
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Jan Schubert 2002-08-25 04:00:07 UTC
The system was installed using stage1-1.4beta. Everything works fine, except  
ebuilding kdemultimedia. As you may see, i'm using gcc32, march=pentium4 and  
-O4.  
  
BTW: Is there an special CHOST for P4-architectures? 
 
PS: There is no 1.4(beta) in the bugzilla version section. 
  
---------------------  
  
Making all in dither2YUV   
make[6]: Entering directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib/lib/util/render/dither2YUV'   
creating libdivxutil_dither_la.all_cpp.cpp ...   
/bin/sh ../../../../../libtool --mode=compile --tag=CXX i686-pc-linux-gnu-g++   
-DHAVE_CONFIG_H -I. -I. -I../../../../.. -I.. -I/usr/kde/3/include   
-I/usr/qt/3/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  -D_REENTRANT    
-DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O4 -pipe -fno-exceptions   
-fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o   
libdivxutil_dither_la.all_cpp.lo `test -f libdivxutil_dither_la.all_cpp.cpp ||   
echo './'`libdivxutil_dither_la.all_cpp.cpp   
mkdir .libs   
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I..   
-I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O4   
-pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c   
libdivxutil_dither_la.all_cpp.cpp  -fPIC -DPIC -o   
.libs/libdivxutil_dither_la.all_cpp.o   
In file included from /usr/include/g++-v32/backward/iostream.h:31,   
                 from ../../timeStamp.h:18,   
                 from ../yuvPicture.h:24,   
                 from dither2YUV.h:19,   
                 from dither2YUV.cpp:14,   
                 from libdivxutil_dither_la.all_cpp.cpp:2:   
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This   
file includes at least one deprecated or antiquated header. Please consider   
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.   
Examples include substituting the <X> header for the <X.h> header for C++   
includes, or <sstream> instead of the deprecated header <strstream.h>. To   
disable this warning use -Wno-deprecated.   
{standard input}: Assembler messages:   
{standard input}:1911: Error: symbol `rgb2yuv16_422' is already defined   
{standard input}:2121: Error: symbol `rgb2y_16' is already defined   
{standard input}:2456: Error: symbol `rgb2yuv16_422' is already defined   
{standard input}:2675: Error: symbol `rgb2yuv16_422_fast' is already defined   
{standard input}:2778: Error: symbol `rgb2y_16' is already defined   
{standard input}:2929: Error: symbol `rgb2y32_fast' is already defined   
{standard input}:3311: Error: symbol `rgb2yuv24_422' is already defined   
{standard input}:3452: Error: symbol `rgb2y_24' is already defined   
{standard input}:3570: Error: symbol `rgb2yuv32_422' is already defined   
{standard input}:3733: Error: symbol `rgb2y_32' is already defined   
{standard input}:3997: Error: symbol `rgb2yuv24_422' is already defined   
{standard input}:4151: Error: symbol `rgb2yuv32_422' is already defined   
{standard input}:4324: Error: symbol `rgb2y_24' is already defined   
{standard input}:4411: Error: symbol `rgb2y_32' is already defined   
make[6]: *** [libdivxutil_dither_la.all_cpp.lo] Error 1   
make[6]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib/lib/util/render/dither2YUV'   
make[5]: *** [all-recursive] Error 1   
make[5]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib/lib/util/render'   
make[4]: *** [all-recursive] Error 1   
make[4]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib/lib/util'   
make[3]: *** [all-recursive] Error 1   
make[3]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib/lib'   
make[2]: *** [all-recursive] Error 1   
make[2]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/mpeglib'   
make[1]: *** [all-recursive] Error 1   
make[1]: Leaving directory   
`/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3'   
make: *** [all] Error 2   
   
!!! ERROR: The ebuild did not complete successfully.   
!!! Function kde_src_compile, Line -6657, Exitcode 2   
!!! died running emake, kde_src_compile:make   
   
etwork.so.2.0.0   
>>> /usr/kde/3/lib/libmimelib.so -> libmimelib.so.1.0.1   
>>> /usr/kde/3/lib/libmimelib.so.1 -> libmimelib.so.1.0.1   
>>> /usr/kde/3/lib/libkdenetwork.so -> libkdenetwork.so.2.0.0   
   
>>> Regenerating /etc/ld.so.cache...   
>>> kde-base/kdenetwork-3.0.3 merged.   
>>> emerge kde-base/kdemultimedia-3.0.3 to /   
>>> md5 ;-) kdemultimedia-3.0.3.tar.bz2   
!!! emerge aborting on    
/usr/portage/kde-base/kdemultimedia/kdemultimedia-3.0.3.ebuild .
Comment 1 Nicholas Wourms 2002-08-25 08:57:26 UTC
Using -march/-mcpu overrides the CHOST, so what the CHOST says is irrelevant. 
It is doubtful a new CHOST will be defined because that will require updating
pretty much every package's config.guess/config.sub (a PITA).  Have you tried
compiling with -O3 instead of -O4?  You really shouldn't use -O4, because that
is asking for trouble [too much optimization causes unpredictable behaviour in
the assembler].  Other then that, try -march=pentium3 and see what happens.  I
can tell you that using CXXFLAGS="-march=pentium3 -O3 -pipe" works fine for me
with gcc-3.2 when compiling kdemultimedia-3.0.3.
Comment 2 Jan Schubert 2002-08-25 12:13:29 UTC
I've decrased the optimization and it worked. For kdeaddons i had to decrease 
it again, but now the complete kde-stuff is build (the only thing which is left 
now in the whole system is OpenOffice)... 
 
Thx, 
Jan